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

from ata 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.0.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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ata-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 fc6db5ff5446bb9ec6468d3cc49aba55efea986af2a5a791d815f0c60ad2e174
MD5 df101bee62942eea8a897a4f65d42514
BLAKE2b-256 64064824d07aed3676cb89c11a68f4cd2bf6ffdd45cd8792180ddab83d3ffaa1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ata-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95d6c972c2c6428635c08f6692de5a4e16a33020d59e5cfde28ef06bbf589168
MD5 1109afd0e57fe78bb446ce472abc88e9
BLAKE2b-256 c94cbc5d6c72db4b6b1756924b0aedf84c8c303645f5b61a2dcf86c646dd1e4d

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