ATA is a zero-dependency, production-ready message router for agent-to-agent communication in Python.
It lets you send and receive messages between named agents—perfect for coordinating tasks in multi-agent systems, toolchains, or even distributed apps.
Install
pip install ATA
Usage
import AgentToAgent
ata = AgentToAgent()
# Send a message from one agent to another
ata.send("Alpha", "Bravo", "Ping from Alpha!")
# Agent Bravo receives their messages
messages = ata.receive("Bravo")
print(messages)
# Output: [{'from': 'Alpha', 'to': 'Bravo', 'content': 'Ping from Alpha!'}]
# Support for filtering by sender
ata.send("Alpha", "Charlie", "Hello, Charlie!")
ata.send("Beta", "Charlie", "Hi, Charlie!")
msgs = ata.receive("Charlie", allowedFrom=["Beta"])
print(msgs)
# Output: [{'from': 'Beta', 'to': 'Charlie', 'content': 'Hi, Charlie!'}]
Features
- Direct agent-to-agent messaging – Send and receive by agent name.
- Broadcasting – Send to all by using
toAgent=None. - Filtered receive – Optionally receive only from allowed senders.
- In-memory queue – Each receive call pulls all available messages.
- Zero dependencies – No third-party packages required.
- Works with any agent framework – Simple plug-and-play for any system.
Code Examples
You can find code examples on my GitHub repository.
License
Apache License 2.0
Acknowledgements
Project by:
- Tristan McBride Sr.
- Sybil
Release files for ATA 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ata-0.1.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ata-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / ata-0.1.1.tar.gz
| Download URL | ata-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2abc49b34c2c8e16ae78b5372b3da5741587a0afd9594adb72d68928d55d4144
|
|
BLAKE2b-256 checksum How to use checksums |
650cf9354575df6c2146dac430ab3304a5db1eae2c1ea42fdf0ca1ba79f96460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / ata-0.1.1-py3-none-any.whl
| Download URL | ata-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1e0b8b962dfaa1a63cb44e0e2c8e4e16f00d997db6cb80aec107b428d8f706c
|
|
BLAKE2b-256 checksum How to use checksums |
21d7a07782fbebbd98ecc012ed3327544f488519689ff94cdfb30daab3c03675
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|