Skip to main content

Agent BDI framework

Project description

Physiologically Inspired Framework for Complex System Integration

Introduction

In this study, inspired by the physiological operation of the human body, an efficient and resilient software framework was developed to aid in the integration of mature AI technologies, allowing them to coordinate with one another to accomplish more advanced goals. A navigation system for the visually impaired was then developed to validate the framework, with promising experimental results. This framework can be applied to other types of AI systems.

Instruction

  1. Install the required packages.
pip install -r requirements.txt
  1. Create config.py, rewite the MQTT settings.
cp config.sample.py config.py
  1. Start the framework.
python start.py

Class Diagram

The class diagram of the integration of agents and coordination. HolonicAgent represents the core, and HeadAgents and BodyAgents represent the collection of head agents and subagents, respectively. MQTT is the fundamental communication protocol for agents in the global circulation system, and MqttClient is a private member of HolonicAgent, which allows the agent to have built-in MQTT connection and reception capabilities.

All agents inherit from HolonicAgent to form a hierarchical structure, and they use the DDS to achieve neural message transmission depending on their specific behavior. Each super-agent is a DDS domain that publishes or subscribes to related topics with the required QoS, such as the DEADLINE policy to confirm the date of the data or the TRANSPORT_PRIORITY policy to define the transmission priority order, in order to achieve the purpose of a specific agent.

Class diagram of integration

Sequence Diagram

According to the sequence diagram depicted in below, the DDS and MQTT serve to transmit messages for the agents. Action 1 entails generating an independent process immediately after the root agent is initialized. Action 2 entails subscribing to or publishing relevant topics within the QoS constraints. Action 3 entails recursively calling all the subagents to initiate the action. The agent main action is performed in a separate process of Action 2 until it is notified of its termination. Finally, Action 4 entails generating a global broadcast with MQTT, with a system termination notification serving as an example in this study.

Sequence Diagram of Integration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent-bdi-2.5.2.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_bdi-2.5.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file agent-bdi-2.5.2.tar.gz.

File metadata

  • Download URL: agent-bdi-2.5.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for agent-bdi-2.5.2.tar.gz
Algorithm Hash digest
SHA256 9891a47915ea2ec4924f819d1afd7355798c176fa9f51e576a9d9baf0954321f
MD5 4494c7f55dc31c6078308ec488ceb171
BLAKE2b-256 3c61ee461a96ef898799d82e541f24abfca7ff8a028b4e6b28171093fdb44445

See more details on using hashes here.

File details

Details for the file agent_bdi-2.5.2-py3-none-any.whl.

File metadata

  • Download URL: agent_bdi-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for agent_bdi-2.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61aed23123ddfd33b9439ef3a17f72862950fb7c7b94e37af549e2ceb6dca681
MD5 dcba8fc2bef583b0939cdaccb3bf76f6
BLAKE2b-256 597e627c86a34bf5b10c6b750ccc2e015b6595c434d883d843b633d07cb37a44

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page