HoloRelay 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 HoloRelay
Usage
from HoloRelay import HoloRelay
ata = HoloRelay()
# 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 HoloRelay 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| holorelay-0.1.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| holorelay-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / holorelay-0.1.0.tar.gz
| Download URL | holorelay-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20d9b8c6eb596c81dcf111ca527dc688228946a6f460567bd0a18df2464ce7e0
|
|
BLAKE2b-256 checksum How to use checksums |
99c3b9d68e17261b24a98d26f814957083ae35dce46b25dcd3b9b5285f402b55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / holorelay-0.1.0-py3-none-any.whl
| Download URL | holorelay-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04bb6efad8dcfb945be6dee367b0866a6e800cfdc0fa4830b086deb593e09354
|
|
BLAKE2b-256 checksum How to use checksums |
e068ec246e14bc6f8a59847dd6e546e48be56f22fd7f3e0d932435c88ba57309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|