Skip to content

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.

License

Notifications You must be signed in to change notification settings

chgaowei/AgentNetworkProtocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentNetworkProtocol(ANP)

Vision

AgentNetworkProtocol(ANP) is an open source protocol for agent communication.

AgentNetworkProtocol(ANP) aims to become the HTTP of the Agentic Web era.

Our vision is to define how agents connect with each other, building an open, secure, and efficient collaboration network for billions of intelligent agents.

Agentic Web

While current internet infrastructure is well-established, there's still a lack of optimal communication and connection solutions for the specific needs of agent networks. We are committed to addressing three major challenges faced by agent networks:

  • 🌐 Interconnectivity: Enable communication between all agents, break down data silos, and ensure AI has access to complete contextual information.
  • 🖥️ Native Interfaces: AI shouldn't need to mimic human internet interaction; instead, it should interact with the digital world through its most proficient means (APIs or communication protocols).
  • 🤝 Efficient Collaboration: Leverage AI for automatic-organization and automatic-negotiation among agents, creating a more cost-effective and efficient collaboration network than the existing internet.

Note: This project has not issued any digital currency on any platform or blockchain.

Protocol Architecture

Protocol Layer Design

  • 🔒 Identity and Encrypted Communication Layer: Based on W3C DID (Decentralized Identifiers) specification, we build a decentralized authentication scheme and end-to-end encrypted communication solution on existing mature web infrastructure. This enables agents across any platforms to authenticate each other without relying on centralized systems.
  • 🌍 Meta-Protocol Layer: The meta-protocol is a protocol for negotiating communication protocols between agents. It is key to evolving agent networks into automatic-organizing, self-negotiating efficient collaboration networks.
  • 📡 Application Protocol Layer: Based on semantic web specifications, this layer enables agents to describe their capabilities and supported application protocols, and efficiently manage these protocols.

Code Implementation

We are developing an open-source implementation of AgentNetworkProtocol at: https://github.com/chgaowei/AgentConnect

Documentation Map

For further understanding, you can refer to these documents:

  • For our overall design philosophy and concepts, see our technical white paper: AgentNetworkProtocol Technical White Paper

  • We've designed a decentralized authentication scheme that leverages existing web infrastructure while maintaining decentralization. We believe this is currently the optimal solution for agent authentication: did:wba Method Specification

  • Based on DID, we've designed an end-to-end encrypted communication protocol for agents, distinct from TLS as intermediate relay nodes cannot decrypt the content: DID-based End-to-End Encrypted Communication

  • We've designed a meta-protocol for negotiating communication protocols between agents, enabling them to autonomously negotiate their communication protocols: Meta-Protocol Design Specification

  • We have designed a protocol for describing agents that enables data exchange between agents: Agent Description Protocol Specification

  • We have designed an agent message specification that can be used for agent message proxy services, allowing agents to hide behind proxy services to achieve higher security and reduce the cost of agent development and maintenance. End-to-End Encrypted Communication Based on did, Message Service Protocol Based on did. (Note: These two specifications are based on the deprecated did:all method and will be upgraded to the did:wba method in the future)

  • Additional specifications are currently under development.

Here are some of our blogs:

Milestones

Both protocol development and open-source implementation are progressing in the following order:

  • Build identity authentication and end-to-end encrypted communication protocol and implementation. This foundational core is essentially complete in both protocol design and code.
  • Meta-protocol design and implementation. Protocol design and code development are basically complete.
  • Application layer protocol design and development.
    • Support for agent description.
    • Support for agent discovery.

To establish Agent Network Protocol(ANP) as an industry standard, we plan to form an ANP Standardization Committee at an appropriate time, working towards recognition by international standardization organizations like W3C.

Contact Us

Author: Gaowei Chang
Email: chgaowei@gmail.com

Contributing

We welcome contributions of any form. Please refer to CONTRIBUTING.md for details.

License

This project is open-sourced under the MIT License. For details, please refer to the LICENSE file. Copyright belongs to Gaowei Chang. Any user of this project must retain the original copyright notice and license file.

Copyright Notice

Copyright (c) 2024 GaoWei Chang
This file is released under the MIT License. You are free to use and modify it, but you must retain this copyright notice.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages