This repository contains an implementation of a Python agent and a sample algorithm (ConsumerAlgorithm), intended for use within the closed SMM-3NG project.
⚠️ Important:
The system core, C++ agents, and other components of the project are not available in this repository.
As a result, a full simulation cannot be run without access to the full source code of the system.
This Repository Provides
- Implementations of agent and an example algorithm in Python.
- Support for interaction with the system core and other agents using ASN.1-based communication.
The core launches each agent as a separate process. The Python agent is started with the following arguments:
python3 main.py start <instance_name> <class_name> <core_url>- Creates a socket to receive data from other agents.
- Connects to the core and registers itself.
- Receives connection info (pull/push communication).
- Interacts with other agents over TCP, using a custom ASN.1-based protocol.
- Executes the algorithm (
algo.run()), processes input parameters, and returns results.
- Python 3.7+
asn1toolslibrary
Install via pip
pip install asn1toolssofyak0zyreva (tg @soffque)
The product is distributed under MIT license. See LICENSE for details.