Skip to main content

A modern way to let AI-agents Communicate

Project description


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

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

ata-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

ata-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file ata-0.1.1.tar.gz.

File metadata

  • Download URL: ata-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for ata-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2abc49b34c2c8e16ae78b5372b3da5741587a0afd9594adb72d68928d55d4144
MD5 6fbf281e31a6a067b3819c216d3058fd
BLAKE2b-256 650cf9354575df6c2146dac430ab3304a5db1eae2c1ea42fdf0ca1ba79f96460

See more details on using hashes here.

File details

Details for the file ata-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ata-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for ata-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1e0b8b962dfaa1a63cb44e0e2c8e4e16f00d997db6cb80aec107b428d8f706c
MD5 5e857cff98fcc60a7cd9f17127a7fd9a
BLAKE2b-256 21d7a07782fbebbd98ecc012ed3327544f488519689ff94cdfb30daab3c03675

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