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.
1,425
stars
535
commits
HTML
primary language
Sep 10, 2026
updated
ANP aims to become the HTTP of the Agentic Web era: a protocol suite for agent identity, naming, discovery, negotiation, secure messaging, and application-level collaboration.
Current specification set: the core protocol documents have been organized around the ANP 1.1 release line. The released suite covers did:wba identity, WNS handles, agent description, agent discovery, end-to-end instant messaging, and the AP2 agent payment protocol. The meta-protocol specification remains a draft and is not released yet.
ANP Core vNext draft: the core protocol vNext index holds candidate revisions for ANP-01 through ANP-09. It currently starts from ANP-03 and ANP-04 copied from the released v1.1 text. These drafts do not replace the released specifications until they are published.
ANP Messaging 1.2 draft: the mixed-version draft suite defines multi-device cryptographic endpoints under one DID while keeping P1/P2/P3/P4/P7/P8 and the P9 Mention binding on v1. Only the incompatible Direct E2EE and Group E2EE Profiles use v2. Draft presence does not imply implementation support or public capability advertisement.
Versioning note: Version: 1.1 identifies the specification/document release version. It does not change the ANP payload field protocolVersion; examples and protocol fields that use "protocolVersion": "1.0.0" remain unchanged because this release does not change protocol fields, flows, or security requirements.
Note: This project has not issued any digital currency on any platform or blockchain.
Agent Network Protocol (ANP) is an open-source communication protocol for intelligent agents. Its goal is to define how agents connect with each other and to build an open, secure, and efficient collaboration network for billions of agents.
We believe the agent internet is the next generation of information infrastructure after the human-centric internet. In this vision:
Current internet infrastructure is mature, but it still lacks a communication and connection layer designed for large-scale agent networks. ANP focuses on three challenges:
ANP is built on existing Internet infrastructure and organizes the released protocol capabilities into two core protocol layers plus domain-specific application protocols:
did:wba authentication, and end-to-end encrypted messaging foundations.MetaProtocolInterface, anp.get_capabilities, and anp.negotiate to select the subsequent interface, Profile, security profile, and schema.| Area | Document | Status | What it defines |
|---|---|---|---|
| Overview | ANP Technical White Paper | White paper | Vision, design principles, and the three-layer architecture |
| Identity | ANP-03: did:wba Method Specification | Released v1.1 + vNext Draft | Web-based DID method, cross-platform authentication, e1_ Ed25519 binding, k1_ compatibility extension |
| Naming | ANP-04: ANP-DID:WBA Name Space Specification | Released v1.1 + vNext Draft | WNS handles such as alice.example.com, Handle-to-DID resolution, DID rotation support |
| Meta-protocol | ANP-06: Agent Communication Meta-Protocol | Draft / not released | Optional semantic meta-protocol negotiation, MetaProtocolInterface declaration, anp.negotiate, and interface / Profile / security profile / schema selection |
| Description | ANP-07: Agent Description Protocol | Released v1.1 | Agent Description documents, interface descriptions, and capability publication |
| Discovery | ANP-08: Agent Discovery Protocol | Released v1.1 | Active .well-known discovery and passive registration with search agents |
| Messaging | ANP-09: End-to-End Instant Messaging Overview | Released v1.1 + vNext Draft | Profile index for direct messaging, group messaging, E2EE, attachments, federation, mentions, and the separately versioned multi-device draft |
| Payments | ANP-10: Agent Payment Protocol (AP2) | Released v1.1 (EN); CN draft available | Agent-to-agent payments, mandates, receipts, DID-based signatures, and payment flows |
The ANP Core vNext draft index and its Chinese mirror currently contain initial working drafts of ANP-03 and ANP-04. Draft presence does not modify the released 1.1 files.
The released ANP 1.1 end-to-end instant messaging suite is split into focused profiles:
The ANP Messaging 1.2 draft index and its Chinese mirror define a legal mixed-version capability set: Base, Attachment, and Federation remain v1, while Direct E2EE and Group E2EE use v2. Ordinary Direct, Group, Mention, and Attachment operations stay addressed only by business DID or Group DID; their device fan-out remains local to the receiving domain. device_id appears only where an E2EE v2 Profile requires a cryptographic endpoint, including independent Direct sessions and multiple MLS leaves, and P8 v1 preserves device selectors only for such enclosing Profiles. Implementations MUST NOT reinterpret E2EE v1 state as v2 or silently downgrade an E2EE v2 operation.
The open-source implementation of ANP is maintained in the AgentConnect repository:
AgentConnect focuses on practical SDK support for did:wba, authentication, agent description, protocol negotiation, secure communication, and application protocols.
01-*.md, 03-*.md, 04-*.md, 06-*.md, 07-*.md, 08-*.md, 09-*.md: core English protocol documents.vnext/: candidate drafts for core protocols 01–09; currently seeded with ANP-03 and ANP-04. chinese/vnext/ is the Chinese mirror.application/: application-layer protocols such as AP2.message/: the released ANP 1.1 end-to-end instant messaging Profile suite; message/vnext/ contains separately versioned v2 drafts.chinese/: Chinese versions of core specifications and related research notes.docs/: guides, extended reading, and community operations documents.blogs/: articles and protocol analysis.examples/: sample ADP assets, API interface examples, and messaging vNext multi-device JSON examples.images/ and standard/: shared figures and standardization references.did:wba v1.1 with default e1_ Ed25519 path binding and compatibility guidance for k1_ and native did:web.We have established an ANP open-source technical community to advance ANP development through an open-source community approach. We sincerely invite you to join our community.
We welcome contributions in any form. Please refer to CONTRIBUTING.md.
We extend our sincere gratitude to all contributors for their outstanding work and dedication to the Agent Network Protocol project.
This project is open-sourced under the MIT License. For details, please refer to LICENSE. The copyright is held by GaoWei Chang. Any user of this project must retain the original copyright notice and license file.
Copyright (c) 2024 GaoWei Chang This file is released under the MIT License. You are free to use and modify it, but must retain this copyright notice.
HTML
99.8%
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.
1,425
stars
535
commits
HTML
primary language
Sep 10, 2026
updated
ANP aims to become the HTTP of the Agentic Web era: a protocol suite for agent identity, naming, discovery, negotiation, secure messaging, and application-level collaboration.
Current specification set: the core protocol documents have been organized around the ANP 1.1 release line. The released suite covers did:wba identity, WNS handles, agent description, agent discovery, end-to-end instant messaging, and the AP2 agent payment protocol. The meta-protocol specification remains a draft and is not released yet.
ANP Core vNext draft: the core protocol vNext index holds candidate revisions for ANP-01 through ANP-09. It currently starts from ANP-03 and ANP-04 copied from the released v1.1 text. These drafts do not replace the released specifications until they are published.
ANP Messaging 1.2 draft: the mixed-version draft suite defines multi-device cryptographic endpoints under one DID while keeping P1/P2/P3/P4/P7/P8 and the P9 Mention binding on v1. Only the incompatible Direct E2EE and Group E2EE Profiles use v2. Draft presence does not imply implementation support or public capability advertisement.
Versioning note: Version: 1.1 identifies the specification/document release version. It does not change the ANP payload field protocolVersion; examples and protocol fields that use "protocolVersion": "1.0.0" remain unchanged because this release does not change protocol fields, flows, or security requirements.
Note: This project has not issued any digital currency on any platform or blockchain.
Agent Network Protocol (ANP) is an open-source communication protocol for intelligent agents. Its goal is to define how agents connect with each other and to build an open, secure, and efficient collaboration network for billions of agents.
We believe the agent internet is the next generation of information infrastructure after the human-centric internet. In this vision:
Current internet infrastructure is mature, but it still lacks a communication and connection layer designed for large-scale agent networks. ANP focuses on three challenges:
ANP is built on existing Internet infrastructure and organizes the released protocol capabilities into two core protocol layers plus domain-specific application protocols:
did:wba authentication, and end-to-end encrypted messaging foundations.MetaProtocolInterface, anp.get_capabilities, and anp.negotiate to select the subsequent interface, Profile, security profile, and schema.| Area | Document | Status | What it defines |
|---|---|---|---|
| Overview | ANP Technical White Paper | White paper | Vision, design principles, and the three-layer architecture |
| Identity | ANP-03: did:wba Method Specification | Released v1.1 + vNext Draft | Web-based DID method, cross-platform authentication, e1_ Ed25519 binding, k1_ compatibility extension |
| Naming | ANP-04: ANP-DID:WBA Name Space Specification | Released v1.1 + vNext Draft | WNS handles such as alice.example.com, Handle-to-DID resolution, DID rotation support |
| Meta-protocol | ANP-06: Agent Communication Meta-Protocol | Draft / not released | Optional semantic meta-protocol negotiation, MetaProtocolInterface declaration, anp.negotiate, and interface / Profile / security profile / schema selection |
| Description | ANP-07: Agent Description Protocol | Released v1.1 | Agent Description documents, interface descriptions, and capability publication |
| Discovery | ANP-08: Agent Discovery Protocol | Released v1.1 | Active .well-known discovery and passive registration with search agents |
| Messaging | ANP-09: End-to-End Instant Messaging Overview | Released v1.1 + vNext Draft | Profile index for direct messaging, group messaging, E2EE, attachments, federation, mentions, and the separately versioned multi-device draft |
| Payments | ANP-10: Agent Payment Protocol (AP2) | Released v1.1 (EN); CN draft available | Agent-to-agent payments, mandates, receipts, DID-based signatures, and payment flows |
The ANP Core vNext draft index and its Chinese mirror currently contain initial working drafts of ANP-03 and ANP-04. Draft presence does not modify the released 1.1 files.
The released ANP 1.1 end-to-end instant messaging suite is split into focused profiles:
The ANP Messaging 1.2 draft index and its Chinese mirror define a legal mixed-version capability set: Base, Attachment, and Federation remain v1, while Direct E2EE and Group E2EE use v2. Ordinary Direct, Group, Mention, and Attachment operations stay addressed only by business DID or Group DID; their device fan-out remains local to the receiving domain. device_id appears only where an E2EE v2 Profile requires a cryptographic endpoint, including independent Direct sessions and multiple MLS leaves, and P8 v1 preserves device selectors only for such enclosing Profiles. Implementations MUST NOT reinterpret E2EE v1 state as v2 or silently downgrade an E2EE v2 operation.
The open-source implementation of ANP is maintained in the AgentConnect repository:
AgentConnect focuses on practical SDK support for did:wba, authentication, agent description, protocol negotiation, secure communication, and application protocols.
01-*.md, 03-*.md, 04-*.md, 06-*.md, 07-*.md, 08-*.md, 09-*.md: core English protocol documents.vnext/: candidate drafts for core protocols 01–09; currently seeded with ANP-03 and ANP-04. chinese/vnext/ is the Chinese mirror.application/: application-layer protocols such as AP2.message/: the released ANP 1.1 end-to-end instant messaging Profile suite; message/vnext/ contains separately versioned v2 drafts.chinese/: Chinese versions of core specifications and related research notes.docs/: guides, extended reading, and community operations documents.blogs/: articles and protocol analysis.examples/: sample ADP assets, API interface examples, and messaging vNext multi-device JSON examples.images/ and standard/: shared figures and standardization references.did:wba v1.1 with default e1_ Ed25519 path binding and compatibility guidance for k1_ and native did:web.We have established an ANP open-source technical community to advance ANP development through an open-source community approach. We sincerely invite you to join our community.
We welcome contributions in any form. Please refer to CONTRIBUTING.md.
We extend our sincere gratitude to all contributors for their outstanding work and dedication to the Agent Network Protocol project.
This project is open-sourced under the MIT License. For details, please refer to LICENSE. The copyright is held by GaoWei Chang. Any user of this project must retain the original copyright notice and license file.
Copyright (c) 2024 GaoWei Chang This file is released under the MIT License. You are free to use and modify it, but must retain this copyright notice.
HTML
99.8%