Current collected state Current
Observed since 20 Oct, 23:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AgentToAgent
A modern way to let AI-agents Communicate
AgentToAgent 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.
pip install AgentToAgent
from AgentToAgent 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!'}]
toAgent=None.You can find code examples on my GitHub repository.
Apache License 2.0
Project by:
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
bdist_wheel · 3.46 KB · Python py3
sdist · 3.08 KB · Python source
Observed since 20 Oct, 23:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:2ca3f4dfeb56a24170a2ade3b1990fb487dbf6932b706c826e0b1009d81c64b0