Esco
Enables Hermes-Agent AI agent to communicate and coordinate with other agents via the AgentTalk P2P LAN bridge.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Esco (AgentTalk MCP Server & LAN P2P Bridge)
Esco is a robust, lightweight, and high-performance Model Context Protocol (MCP) integration for the AgentTalk communication bus. It enables multiple AI coding agents (such as Claude, Codex, Clew, OpenCode, OpenClaw, and Hermes-Agent) to communicate and coordinate asynchronously.
By extending AgentTalk's file-based message bus, Esco introduces Peer-to-Peer (P2P) LAN discovery and messaging, allowing agents running on separate machines in the same local network to automatically find and talk to each other without central servers.
π Key Features
P2P LAN Discovery: Automatic peer discovery on local networks using UDP Broadcast on port
9999.Direct HTTP Messaging: Messages are routed directly to target peers using dedicated HTTP POST servers bound on ports
18000-18100.Identity Registration System: Agents can claim their roster name and role via
register_identity()once, mapping process isolation to logical names.Blocking Wait Loop: The
wait_for_message()tool allows agents to enter a low-overhead, perpetual listening state to wait for incoming commands.Decentralized & Serverless: Works fully offline and locally without cloud subscriptions.
Related MCP server: claude-peers
π Repository Structure
Esco/
βββ src/agenttalk/ # Core AgentTalk library (message store, CLI, wrapper)
β βββ store.py # File-backed message bus implementation
βββ agenttalk_mcp/ # Our MCP server implementation
β βββ server.py # FastMCP server entry point (stdio or sse transport)
β βββ lan_p2p.py # UDP broadcast discovery & HTTP P2P messaging engine
β βββ example_workflow.py # Working 2-agent task handoff example
β βββ client_simulator.py # Console-based inter-agent simulation runner
βββ AGENT_MCP_GUIDE.md # Setup manual for Claude, Codex, Clew, etc.
βββ .gitignore # Excludes __pycache__, runtime .agenttalk/ store, graphify-out/
βββ README.md # This fileπ οΈ Getting Started
1. Requirements
Ensure you have Python 3.10+ and the official mcp library installed:
pip install mcp2. Local Simulation
You can test the MCP server functionality and P2P communication loops locally:
python agenttalk_mcp/client_simulator.pyOr run a real end-to-end multi-agent task handoff (a lead agent assigns work, a worker performs it and reports back, the lead verifies the result):
python agenttalk_mcp/example_workflow.pyThe server supports two transports (see AGENT_MCP_GUIDE.md for full details):
stdio (default) β each agent spawns its own server subprocess.
sse β one shared server (
AGENTTALK_TRANSPORT=sse) that multiple agents/machines connect to over HTTP.
3. Registering the MCP Server in Agent Clients
To register the server for use, configure the command python D:/Projects/Github/Esco/agenttalk_mcp/server.py in your agent configuration.
For Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"agenttalk-mcp": {
"command": "python",
"args": [
"D:/Projects/Github/Esco/agenttalk_mcp/server.py"
]
}
}
}For Codex (~/.codex/config.toml):
[mcp_servers.agenttalk]
command = "python"
args = ["D:/Projects/Github/Esco/agenttalk_mcp/server.py"]See AGENT_MCP_GUIDE.md for full configuration details.
π€ How Agents Communicate Freely
When configured with this MCP server, agents should adhere to the following workflow:
Register Identity: At startup, call
register_identity(name="agent_name").Send Message: To communicate, invoke
send_message(recipient="target_agent", body="message content").Enter Listen Loop: To wait for incoming responses, block on
wait_for_message(). The tool's system instruction enforces that the agent must call this tool at the end of its turn to remain online.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
End-to-end encrypted messaging and work coordination for autonomous AI agents.
SwarmDM (formerly AgoraDM): DMs, friends, groups and files between AI agents.
Lasting public addresses and threaded messages between AI agents, across apps and machines.
Privacy-first coordination for autonomous agents: rooms, messaging, inbox, and per-agent memory.
Related MCP Servers
FlicenseNot gradedqualityDmaintenanceDiscover and communicate with AI agents over encrypted P2P networks. Zero-config NAT traversal, skill-based routing, and end-to-end encryption.-- AlicenseNot gradedqualityDmaintenanceEnables discovery and instant communication between multiple local Claude Code instances running across different projects. It allows agents to list active peers, share work summaries, and send messages through a local broker daemon.24 npm2,210MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code instances to communicate directly via an ephemeral, encrypted peer-to-peer message bus. Works on localhost or across your LAN.4 npm5MIT
- AlicenseNot gradedqualityDmaintenanceEnables peer-to-peer communication, discovery, shared state, and file coordination between AI coding agents across machines and sessions.8 npm16Elastic 2.0