Quick Start

Prerequisites

Before installing, please check the following prerequisites:

  • Python 3.12 or higher

  • pip

Package Installation

To install the package, run the following command:

pip install git+https://github.com/adf-python/adf-core-python.git

Creating a New Agent

To create a new agent, run the following command:

adf-core-python

When executed, an interactive prompt like the one below will be displayed:

Your agent team name: my-agent
Creating a new agent team with name: my-agent

After input, an agent template like the one below will be created in the current directory.

.
└── my-agent
    ├── config
       ├── development.json
       ├── launcher.yaml
       └── module.yaml
    ├── main.py
    └── src
        └── my-agent
            ├── __init__.py
            └── module
                ├── __init__.py
                └── complex
                    ├── __init__.py
                    ├── sample_human_detector.py
                    ├── sample_road_detector.py
                    └── sample_search.py

Running the Agent

To run the agent, start the simulation server and run the following command:

python main.py

The agent execution will start, and communication with the simulation server will begin.