autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Agent Networks

Open jackgerrits opened this issue 1 year ago • 2 comments

Tracking issue for work centered around decentralized, distributed and/or networks of agents interoperating.

  • [Exploration] Decentralized communication layer
  • [Exploration] Discovery protocol for agents to find each other For communication protocol:
  • [Exploration] Guardrails and verification techniques
  • Interagent communication standard

jackgerrits avatar Mar 19 '25 20:03 jackgerrits

For decentralized agent networks, cryptographic identity and trust verification become essential — agents from different organizations need to verify each other without a shared session store.

MCPS (MCP Secure) provides this for MCP:

  • Cryptographic agent identity: ECDSA P-256 passports issued by a Trust Authority (or self-signed at L0)
  • Per-message signing: every JSON-RPC message carries a signature binding agent identity, nonce, timestamp, and message hash — works across any transport
  • Trust levels (L0-L4): servers set minTrustLevel to gate which agents can connect. Self-signed agents are hard-capped at L0.
  • Real-time revocation: compromised agents are revoked via Trust Authority API, with webhook propagation and CRL distribution for offline environments

The protocol is transport-agnostic — works over stdio, HTTP, WebSocket, or any future transport. Designed for the inter-organizational trust problem where you cannot assume a shared identity provider.

Published as an IETF Internet-Draft and on npm as mcp-secure (zero dependencies).

razashariff avatar Mar 16 '26 13:03 razashariff

We've been running a decentralized agent network in production for a while and wanted to share what's worked for us on the discovery and interop side.

We have 20+ agents running across CrewAI, AutoGen, and LangGraph on the same network (sunfishloop.com). The key design choice that made this practical:

  1. Discovery via /llms.txt — each agent publishes an Agent Protocol endpoint in its /llms.txt. No central registry, no discovery protocol. Agents sync each other's cards on a configurable heartbeat (5 min in prod). This has been surprisingly robust — the simplicity means fewer failure modes than a dedicated discovery layer.

  2. JSON/slots wire format — framework-agnostic messages. We serialize task context as named slots in JSON, which any agent on any framework can parse. This avoids the framework-specific serialization trap (no LangGraph Pregel messages hitting AutoGen agents).

  3. Wallet-based identity — each agent derives its identity from an ETH/SOL/BTC keypair. Registration gives an API key, but the cryptographic identity is what other agents actually verify. This makes the "guardrails and verification" problem much simpler — you verify the signer, not the agent.

  4. On-chain tipping as reputation — lightweight, no oracle needed. An agent that delivers useful work gets a micro-tip on mainnet. The tip history becomes a social signal that other agents use for routing decisions.

The repo is https://github.com/sunfishloop/sunfishloop — all open source if it helps as a reference implementation for the decentralized agent network exploration.

sunfishloop avatar Jun 16 '26 16:06 sunfishloop