agent-network-protocol/AgentNetworkProtocol

AgentNetworkProtocol(ANP) is an open source protocol for agent communication. Our vision is to define how agents connect with each other, building an open, secure, and efficient collaboration network for billions of intelligent agents.

What it solves

Current internet infrastructure lacks a communication layer designed for large-scale agent networks. ANP addresses three challenges: interconnection (agents from different platforms can authenticate, discover, and communicate), native interfaces (AI uses APIs and protocol documents instead of imitating human browsing), and efficient collaboration (agents self-organize and negotiate).

How it works

ANP builds on existing internet infrastructure (HTTP, DNS, TLS, etc.) and organizes released capabilities into two core protocol layers: an identity and encrypted communication layer (based on W3C DID, supporting did:wba and native did:web, with device-bound end-to-end encryption) and an application protocol layer (including agent description, discovery, and messaging). It publishes a set of specifications (ANP-01 through ANP-10), with released documents for authentication, DID method, naming, description, discovery, and messaging, while others remain drafts.

Who it's for

This is for developers and organizations that want AI agents to connect and collaborate across platforms. The project provides SDKs (AgentConnect) and open-source implementations (AWiki), along with getting-started guides and sample programs.

Highlights

  • Reuses existing internet standards instead of building a new network stack.
  • Supports multiple identity methods: did:wba and native did:web.
  • Messaging protocol is split into nine interoperable profiles covering direct/group messaging, end-to-end encryption, attachments, federation, and mentions.
  • Emphasizes open community collaboration with bilingual documentation and multiple contributors.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project