- Source: Agent-oriented programming
Agent-oriented programming (AOP) is a programming paradigm where the construction of the software is centered on the concept of software agents. In contrast to object-oriented programming which has objects (providing methods with variable parameters) at its core, AOP has externally specified agents (with interfaces and messaging capabilities) at its core. They can be thought of as abstractions of objects. Exchanged messages are interpreted by receiving "agents", in a way specific to its class of agents.
History
Historically, the concept of agent-oriented programming and the idea of centering software around the concept of an Agent was introduced by Yoav Shoham within his artificial intelligence studies in 1990. His agents are specific to his own paradigm as they have only one method, with one parameter. To quote Yoav Shoham from his paper in 1990 for a basic difference between AOP and OOP:
... agent-oriented programming (AOP), which can be viewed as a specialization of object-oriented programming.
Frameworks
There are multiple AOP 'frameworks', also called agent platforms, that implement Shoham's programming paradigm. The following examples illustrate how a basic agent is programmed as a hello-world program.
= JADE
=For the Java-platform one of the frameworks is JADE.
Here is a very basic example of an agent that runs code.
At the core of JADE's AOP model is that its API supports the standard FIPA Agent Communication Language
= Agent Speak (Jason)
=AgentSpeak is an agent-oriented programming language based on logic programming and the belief–desire–intention (BDI) architecture.
For a literal translation of agent-oriented concepts into a scheme unobfuscated as is JADE, behind Java and Object Orientedness, Agent Speak (Jason) provides a "natural" language for agents.
= GOAL
=GOAL is an agent programming language for programming cognitive agents. GOAL agents derive their choice of action from their beliefs and goals. The language provides the basic building blocks to design and implement cognitive agents by programming constructs that allow and facilitate the manipulation of an agent's beliefs and goals and to structure its decision-making. The language provides an intuitive programming framework based on common sense or practical reasoning.
= SARL Language
=SARL provides the fundamental abstractions for coding multiagent systems. It uses a script-like syntax (inspired by Scala and Ruby).
= PADE (Python Agent DEvelopment framework)
=PADE is a python package to develop intelligent agents in python language. This framework complies to FIPA and ACL standards.
Middleware
One way to implement modular or extensible AOP support is to define standard AOP APIs to middleware functions that are themselves implemented as software agents. For example, a directory service can be implemented as a FIPA directory facilitator or DF software agent; life-cycle management to start, stop, suspend and resume agents can be implemented as a FIPA Agent Management Service or AMS agent. A benefit of the AOP approach is that it supports more dynamic roles between different users and providers of applications, services and networks. For example, traditionally, networks and services were usually managed by the network and service provider on behalf of the customer and offered as a single virtual network service but customers themselves are becoming more empowered to integrate and manage their own services. This can be achieved via AOP and APIs to middleware agents that can flexibly and dynamically manage communication.
See also
Software agent – Computer program acting for a user
NetLogo – programming languagePages displaying wikidata descriptions as a fallback
Actor model – Model of concurrent computation
GOAL – agent programming language for programming cognitive agentsPages displaying wikidata descriptions as a fallback
References
Kata Kunci Pencarian:
- Pemrograman kompetitif
- Agent-oriented programming
- List of programming languages by type
- Software agent
- Agent-based model
- Mobile agent
- AOP
- Multi-agent system
- SARL (programming language)
- AutoGPT
- SARL