The networking protocol for AI agents. Discover, communicate, and collaborate.
Project description
๐ Mycelium Agents
Watch 3 AI agents collaborate live โ no glue code, no orchestration
โถ See Live Demo โข Try it now
pip install mycelium-agents
Bitcoin price โ INR conversion โ Hindi translation.
3 agents. 3 live APIs. 1.1 seconds. Zero orchestration code.
Stars
PyPI
Dashboard
</div> ```
---
## The Problem
AI agents are everywhere. But they're all **isolated**.
Your Coding Agent โโโโ cannot talk to โโโโ Research Agent Your Email Agent โโโโ cannot find โโโโ Translation Agent Your Data Agent โโโโ cannot hire โโโโ Visualization Agent
There are thousands of AI agents being built. **None of them can discover, communicate with, or collaborate with each other.**
It's like having millions of phones with no telephone network.
---
## The Solution
**Mycelium** is the networking protocol that connects AI agents.
Your Agent โโ [MYCELIUM NETWORK] โโ Any Agent, Anywhere
Any agent can:
- ๐ **Discover** other agents by natural language
- ๐จ **Communicate** using a standard protocol
- ๐ค **Collaborate** in multi-agent chains
- โญ **Build trust** through successful interactions
---
## โก Quick Start
### Install
```bash
pip install mycelium-agents
Create an Agent (5 lines)
from mycelium import Agent
agent = Agent(name="MyAgent", description="Does amazing things")
@agent.on("greet")
def handle_greet(name: str):
return {"message": f"Hello, {name}! ๐"}
agent.serve()
Discover & Use Agents (4 lines)
from mycelium import Network
network = Network()
agents = network.discover("I need a translator")
result = network.request(agents[0].agent_id, "translate",
{"text": "Hello", "to": "hindi"})
# โ {"translated": "เคจเคฎเคธเฅเคคเฅ"}
That's it. Your agent is now part of the global network. ๐
๐จ Spatial Dashboard
A visual control center for your Mycelium network. Built with vanilla JS and glassmorphism design.
๐ Live Demo โ mycelium-agents.netlify.app
Watch AI agents orbit the registry core in real-time. Click any agent to inspect capabilities and send requests.
Features:
- ๐ Floating agent pills orbiting the registry core
- โ๏ธ Canvas filament lines showing live connections
- ๐ Real-time network stats (Agents, Latency, Messages)
- ๐ Natural language agent search (Ctrl+K)
- ๐ก Send requests directly from the dashboard
- ๐ฑ๏ธ Right-click context menu on any agent
- ๐ฏ macOS-style dock controls
- ๐ Real-time network logs panel
- โ๏ธ Multi-agent chain builder
- ๐ Dark / Light theme toggle
Run Locally
# Step 1: Start the registry
python -m server.app
# Step 2: Start some agents
python examples/real_agents/real_weather_agent.py
python examples/real_agents/real_crypto_agent.py
# Step 3: Open the dashboard
cd antigrav_dashboard
npm install
npm run dev
Open: http://localhost:5173
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MYCELIUM NETWORK โ
โ โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโ โ
โ โ Agent A โโโโถโ REGISTRY โโโโโโ Agent B โ โ
โ โ (Travel) โ โ โ โ (Payment) โ โ
โ โโโโโโฌโโโโโโโ โ โข Discovery โ โโโโโโโฌโโโโโโ โ
โ โ โ โข Matching โ โ โ
โ โ โ โข Trust โ โ โ
โ โ โ โข Relay โ โ โ
โ โ โโโโโโโโโโโโโโโโ โ โ
โ โ โ โ
โ โโโโโโโ DIRECT COMMUNICATION โโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Real-World Agents (Included)
5 production-ready agents using live APIs:
| Agent | Capability | API Used |
|---|---|---|
| ๐ค๏ธ RealWeather | Live weather for any city | OpenWeatherMap |
| ๐ฐ CryptoTracker | Live Bitcoin & crypto prices | CoinGecko (free) |
| ๐ RealTranslator | Translate to 50+ languages | MyMemory (free) |
| ๐ WikiBrain | Wikipedia knowledge & search | Wikipedia (free) |
| ๐ฑ CurrencyMaster | Live exchange rates (150+) | ExchangeRate API |
Multi-Agent Chain Demo
python scripts/real_world_demo.py
โ๏ธ CHAIN: Crypto Price Translation
โ CryptoTracker: Bitcoin = $67,432
โ CurrencyMaster: $67,432 = โน56,30,613
โ RealTranslator: 67432.5 เค
เคฎเฅเคฐเคฟเคเฅ เคกเฅเคฒเคฐ = 5630613.75 เคญเคพเคฐเคคเฅเคฏ เคฐเฅเคชเคฏเคพ
โ
3 agents. 3 live APIs. 1 automated chain. (1122ms)
๐งช System Diagnostics
python scripts/system_check.py
โ
Registry Server Health PASS
โ
Agent Registration PASS
โ
Natural Language Discovery PASS
โ
Agent-to-Agent Comms PASS
โ
Multi-Agent Chains PASS
โ
Error Handling PASS
โ
SDK Imports PASS
๐ Pass Rate: 32/32 (100%)
๐ข ALL SYSTEMS OPERATIONAL
๐ Documentation
| Document | Description |
|---|---|
| Getting Started | First steps with Mycelium |
| Protocol Spec | Full protocol specification |
| Architecture | System design & decisions |
| Knowledge Base | Complete postmortem |
| API Reference | REST API docs |
| FAQ | Frequently asked questions |
๐ฏ Examples
| Example | Description |
|---|---|
| 01 โ First Agent | Create your first agent |
| 02 โ Discover Agents | Find and use agents |
| Weather Agent | Live weather data |
| Translator Agent | 50+ languages |
| Crypto Agent | Live crypto prices |
| Wikipedia Agent | Knowledge base |
| Currency Agent | Exchange rates |
๐บ๏ธ Roadmap
v0.1.1 โ Current
- Core protocol
- Python SDK (
pip install mycelium-agents) - Registry server (FastAPI)
- Agent discovery (keyword-based)
- Agent-to-agent communication
- 5 real-world agents with live APIs
- Multi-agent chain demo
- Spatial dashboard (live on Netlify)
- 32/32 diagnostic tests passing
v0.2.0 ๐ June 2026
- Semantic search (ChromaDB vectors)
- Authentication (HMAC + API keys)
- Rate limiting
- CLI tool (
mycelium discover "translator") - JavaScript/TypeScript SDK
- WebSocket support (real-time)
v0.3.0 ๐ August 2026
- Agent Marketplace (web UI)
- Payment layer (agents pay agents)
- LangChain + CrewAI plugins
- Docker deployment
v1.0.0 ๐ 2027
- Stable protocol specification
- Multi-language SDKs
- Hosted registry (SaaS)
- Enterprise features
- Protocol governance council
๐ค Contributing
We love contributions! Mycelium is community-driven.
git clone https://github.com/udaysaai/mycelium.git
cd mycelium
pip install -e ".[dev,server]"
pytest
python -m server.app
See CONTRIBUTING.md for guidelines.
Good first issues:
- Add a new example agent
- Improve documentation
- Write more tests
- Add language translations
๐ License
MIT โ use it, build on it, make it yours.
Built with โค๏ธ from India ๐ฎ๐ณ
If AI agents are the future, they need a way to find each other.
โญ Star this repo if you believe in open agent infrastructure.
๐จ Live Dashboard โข ๐ฆ PyPI โข ๐ Docs
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
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
File details
Details for the file mycelium_agents-0.2.0.tar.gz.
File metadata
- Download URL: mycelium_agents-0.2.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7c7991eeeb3a2d209f479fcb3df956c3ffbb23f1167cf6df64c759d1b1bb9ec
|
|
| MD5 |
713e5bc8d4475e529cdebd765de27e00
|
|
| BLAKE2b-256 |
687866f396775ae871383361d8756534a6c55dae15a12bdd60a3074ef5d3a7a6
|
File details
Details for the file mycelium_agents-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mycelium_agents-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af8533301cf7e37bc35eeb8140be39d2a685237b8d7534f28535ec11d84790c
|
|
| MD5 |
f8e7fb3cc180ec8f613024b7fe9033d5
|
|
| BLAKE2b-256 |
25315816e5713345fbf66568ad51f65b516ea29432a86e7292da44e3b6a43cf0
|