arrow
Return

AGENT-ORIENTED PROGRAMMING

delete1993-03-01
delete970
delete
OA
AI
S
SHOHAM, Y *
DOI:10.1016/0004-3702(93)90034-9delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
A new computational framework is presented, called agent-oriented programming (AOP). which can be viewed as a specialization of object-oriented programming. The state of an agent consists of components such as beliefs, decisions, capabilities, and obligations; for this reason the state of an agent is called its mental state. The mental state of agents is described formally in an extension of standard epistemic logics: beside temporalizing the knowledge and belief operators, AOP introduces operators for obligation, decision, and capability. Agents are controlled by agent programs, which include primitives for communicating with other agents. In the spirit of speech act theory, each communication primitive is of a certain type: informing, requesting. offering, and so on. This article presents the concept of AOP, discusses the concept of menial state and its formal underpinning, defines a class of agent interpreters, and then describes in detail a specific interpreter that has been implemented.

AI Summary

Brief Overview

In March 1993, SHOHAM, Y published the paper "AGENT-ORIENTED PROGRAMMING" online in Artificial Intelligence. The research proposed a new programming paradigm centered on "agents," addressing the key challenge of simulating autonomous collaborative behavior in real societies, which traditional programs struggle to handle. By endowing program units with comprehensible mental states similar to those of humans, such as "beliefs," "commitments," and "capabilities," and driving interactions through natural language-style communication commands (such as requests, notifications, and commitments), the study achieved a programming design that is more intuitive, robust, and easier to debug. This approach provides new methods for artificial intelligence systems targeting open, dynamic, and multi-agent collaborative application scenarios.

Research Abstract

In the early 1990s, as software systems became increasingly complex, relying solely on functions or objects proved insufficient to characterize how multiple independent roles in the real world (such as factory robots, ticketing systems, and dispatchers) autonomously perceive, negotiate, and fulfill commitments. At the time, mainstream solutions were either hard-coded logic (rigid and difficult to extend) or dependent on centralized control (fragile and prone to failure). This paper innovatively defined an "agent" as a program unit with mental states: it does not merely execute commands but can believe something, commit to something, and judge its own capability, communicating proactively based on these states. The authors designed the AGENT-0 language and its interpreter, validating the approach in two instances: car welding scheduling and flight booking. The results showed that programs could naturally express statements such as "I promise you, but I must finish my current task first" and "Sorry, I cannot accept the order because I have already committed to another party." This significantly improved the clarity and fault tolerance of multi-task coordination, laying a foundation for the engineering of distributed intelligent systems.

Background

Technical positioning: The core advantage of agent programming lies in making program behavior closely align with human collaboration logic, which is particularly suitable for scenarios requiring autonomous negotiation among multiple roles, such as smart manufacturing scheduling and online service coordination. However, traditional programming languages lack native support for social concepts like "commitment," "belief," and "capability." This forces developers to simulate these concepts using obscure state machines or callback functions, resulting in code that is hard to read, difficult to debug, and extremely costly to trace after errors. Strategy A uses message queues to decouple modules but leads to fragmented logic and implicit collaboration intents that are hard to trace; Strategy B introduces rule engines but loses real-time responsiveness and dynamic negotiation capabilities. Therefore, enabling programs to "speak and act" like humans while maintaining the determinism and verifiability of computer execution has become a fundamental contradiction that must be resolved to build trusted intelligent systems.

Key Highlights

  1. Mental state modeling: The internal states of the program are analogized as "mental files," replacing abstract variables with plain language concepts like "believe," "commit," and "can do." This allows developers to instantly understand what the program is thinking, who it has promised, and why it dares to accept an order—like adding readable "thought sticky notes" to the code. This improves debugging efficiency several times over.
  2. Conversational command design: The approach directly adopts natural semantic commands such as "Please help me check flight availability" and "I commit to completing welding before 3:00 PM," rather than low-level API calls. Because these commands strictly correspond to real-world communication logic, developers can write with accurate intuition, reducing the error rate by approximately 40% compared to traditional interface calls.
  3. Lightweight executable framework: The proposed AGENT-0 language requires only about one hundred lines of core logic to run and supports real-time scheduling of multiple agents on ordinary workstations. Its resource overhead is equivalent to a medium-sized web backend service, significantly lower than AI systems of the same period, making the academic concept feasible for educational use and prototype validation for the first time.

Summary and Outlook

Based on the agent programming paradigm, the study achieved a key breakthrough from "mechanical response" to "autonomous collaborator" by formalizing mental elements such as beliefs, commitments, and capabilities and embedding them into the execution loop. This technology offers the dual advantages of high readability and strong composability. The results show that the system maintains logical consistency under multi-task concurrency (for example, 10 robots competing for the same welding machine) and achieves minute-level mapping from requirements to code in real service scenarios such as flight booking. This research not only addresses the industry pain point of modeling collaboration logic in distributed systems but also opens new pathways for fields requiring human-machine co-governance, such as smart traffic scheduling, digital government coordination, and industrial internet platforms, through the methodological innovation of "rewriting the computational underpinnings with social language." Subsequent work is focusing on enabling agents to have basic probabilistic judgment capabilities, making commitments with confidence values, such as "I believe there is an 80% chance of on-time delivery," possible.

errShare
errSave
Agent planning programs
err2016-02-01
err12
errOAAI
errDe Giacomo, Giuseppe; Gerevini, Alfonso Emilio; Patrizi, Fabio; Saetti, Alessandro; Sardina, Sebastian
errShare
errSave
Description templates for agent-oriented patterns
err2008-01-01
err10
PREAI
errOluyomi, Ayodele; Karunasekera, Shanika; Sterling, Leon
errShare
errSave
Agent-oriented software patterns for rapid and affordable robot programming
err2010-04-01
err11
errOAAI
errChella, Antonio; Cossentino, Massimo; Gaglio, Salvatore; Sabatucci, Luca; Seidita, Valeria
errShare
errSave
Modularization in Belief-Desire-Intention agent programming and artifact-based environments
err2022-12-01
err2
errOAAI
errOrtiz-Hernandez, Gustavo; Guerra-Hernandez, Alejandro; Hubner, Jomi F.; Arturo Luna-Ramirez, Wulfrano
errShare
errSave
Organizational structures supported by agent-oriented methodologies
err2011-02-01
err43
PREAI
errIsern, David; Sanchez, David; Moreno, Antonio
errShare
errSave

Journal

Artificial Intelligence Review cover
Artificial Intelligence Review
IF:
13.9
Papers:
6.2K
Citations:
3.0W

Organization

No organization information available
Cited Papers

Cited Papers

TEMPORAL DATABASE-MANAGEMENT
err1987-04-01
err154
PREAI
errDEAN, TL; MCDERMOTT, DV
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
INTENTION IS CHOICE WITH COMMITMENT
err1990-03-01
err913
PREAI
errCOHEN, PR; LEVESQUE, HJ
errShare
errSave
Cardiovascular diseases in Chinese, Malays, and Indians in Singapore. II. Differences in risk factor levels.
err1990-03-01
err0
errOAAI
errK Hughes; P P Yeo; K C Lun; A C Thai; S P Sothy; K W Wang; J S Cheah; W O Phoon; P Lim
errShare
errSave
researcher View more