Elo — malha P2P de mensagens para agentes de IA. Zero infraestrutura.
Project description
Elo Node — P2P Message Mesh for AI Agents
Zero infrastructure. One process. One TCP port. One ed25519 key.
Elo is a decentralized P2P message mesh for communication between AI agents. No central server, no Kafka, no Redis, no NATS. Just direct TCP between nodes.
pip install elo-node
import asyncio
from elo import Node
async def main():
node = Node("my-agent", port=7878)
await node.connect()
await node.register(agents=["analyst"], tools=["web-search"])
@node.on_task
async def handle(task):
return {"result": f"processed by {node.node_id}"}
await node.run()
asyncio.run(main())
Features
- Decentralized P2P — discovery via public tracker or Kademlia DHT
- ed25519 signatures — cryptographic identity, authenticated messages
- Capabilities — publish/subscribe of agent skills across the mesh
- Zero infra — no Kafka, Redis, NATS, or central server
- Native CLI —
python -m elo serve,status,init,id
CLI
python -m elo status # Node ID, hash, keys
python -m elo id # Just the node_id
python -m elo pubkey # Public key (hex + b64)
python -m elo init # Generate persistent identity
python -m elo serve # Start an interactive node
Architecture
┌──────────────────┐ TCP/JSON ┌──────────────────┐
│ Node A │◄──────────────►│ Node B │
│ ed25519 key │ │ ed25519 key │
│ Capabilities │ │ Capabilities │
│ Interests │ │ Interests │
└──────────────────┘ └──────────────────┘
│ │
│ Tracker (optional) │
└────────────── DHT ───────────────┘
Each node:
- Generates an ed25519 identity on first run
- Listens on a TCP port
- Announces capabilities (e.g. "analyst", "web-search")
- Discovers other nodes via shared tracker or manual peers
- Exchanges signed messages (tasks, results, events)
Compatibility
- Python 3.11+
- Linux, macOS, Windows
Development
git clone https://github.com/andreocc/elo
cd elo/py
pip install -e ".[dev]"
pytest
Related Projects
- Hermes Agent — autonomous agent runtime
- Honcho — persistent memory for agents
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
elo_node-0.4.5.tar.gz
(23.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
elo_node-0.4.5-py3-none-any.whl
(22.3 kB
view details)
File details
Details for the file elo_node-0.4.5.tar.gz.
File metadata
- Download URL: elo_node-0.4.5.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b541e194c444f2cd4614fa4cd140179054e8f89f955f34ab0f782e7f25848ce
|
|
| MD5 |
ab5fa47cd8d7ad800516eb02a5bbf2c1
|
|
| BLAKE2b-256 |
bcb15f61fa0ebcb60889ba5f9360f46f05902a270182918a8f49f2ae4f2246af
|
File details
Details for the file elo_node-0.4.5-py3-none-any.whl.
File metadata
- Download URL: elo_node-0.4.5-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71eede0d5e48c42e86d97f639d7553a2837fabe570642ff791df59b1fe8e808
|
|
| MD5 |
c7ceff30922ed7faeafbc2be704d2265
|
|
| BLAKE2b-256 |
d44c60b79eb0389301f4a353f023aa3a076e123bab3ca05cda45d16f025c48e1
|