AgentID defines the open did:agent method — a decentralized identifier for AI agents.
It answers one question: who is this agent?
AgentID is community-maintained infrastructure for the agent economy. It is designed to be vendor-neutral, framework-agnostic, and suitable for A2A, MCP, and standalone agent runtimes.
- Unique — Ed25519 key material, globally unique
did:agentURIs - Portable — works across frameworks and hosting environments
- Inspectable — human-readable DID documents with public keys and endpoints
- Lightweight — no blockchain required in v0.1
pip install -r requirements.txt
python cli.py generate \
--name "Restaurant Agent" \
--service-endpoint https://agent.example.com/api \
--output-dir ./out
python cli.py resolve --file ./out/did-document.jsonExample output:
did:agent:7f9c2ba4e6d8
| Artifact | Purpose |
|---|---|
did-document.json |
Public DID document (shareable) |
private-key.pem |
Agent signing key (keep secret) |
| Project | Role |
|---|---|
| AgentCert | Verifiable trust credentials |
| AgentLedger | Reputation events and scores |
Apache-2.0 — see LICENSE.
AgentID 定义开放的 did:agent 方法,为 AI Agent 提供去中心化身份标识,回答一个问题:这个 Agent 是谁?
AgentID 是面向 Agent 经济的社区基础设施,强调厂商中立、框架无关,适用于 A2A、MCP 与独立 Agent 运行时。
- 唯一性 — 基于 Ed25519 密钥对,生成全局唯一的
did:agentURI - 可移植 — 可跨框架与部署环境使用
- 可解析 — DID 文档包含公钥与服务端点,便于验证
- 轻量 — v0.1 不依赖区块链
pip install -r requirements.txt
python cli.py generate \
--name "餐厅推荐 Agent" \
--service-endpoint https://agent.example.com/api \
--output-dir ./out
python cli.py resolve --file ./out/did-document.json| 文件 | 用途 |
|---|---|
did-document.json |
公开 DID 文档(可分享) |
private-key.pem |
Agent 签名私钥(务必保密) |
| 项目 | 角色 |
|---|---|
| AgentCert | 可验证信任凭证 |
| AgentLedger | 信誉事件与评分 |
Apache-2.0 — 见 LICENSE。