Agent Identity Protocol (AIP)
Provides cryptographic identity and signing capabilities for AI agents, enabling them to create persistent identities, sign actions with private keys, and allow external systems to verify the authenticity and provenance of agent-initiated operations.
README
Agent Identity Protocol (AIP)
The open standard for cryptographic provenance and attribution for AI Agents.
"Agents are currently anonymous ghosts. AIP gives them a persistent, verifiable identity."
🚀 The Problem
When an AI Agent (Claude, ChatGPT, or custom) attempts to interact with the real world—updating a database, calling an API, or executing a trade—the receiving system sees an anonymous request.
- Who did this? (Was it the Support Bot or the Finance Bot?)
- Was it tampered with? (Did a router or middleman change the prompt?)
- Can I audit it? (How do I prove which agent authorized this action?)
🛠 The Solution
Agent Identity Protocol (AIP) is a Model Context Protocol (MCP) Server that provides a local, secure "Wallet" for AI Agents. It enables Attribution and Non-Repudiation for agentic workflows.
Core Capabilities
- Identity Generation: Creates a persistent cryptographic keypair (RSA-2048) for the agent.
- Cryptographic Signing: Allows the agent to sign payloads (actions) using its private key.
- Verification: Provides a standard method for APIs to verify agent actions against a public key.
📦 Installation
Method 1: Quick Install (Smithery)
Best for testing and quick usage.
⚠️ Note: Identities created via Smithery are temporary (sandboxed) and will be lost when you restart Claude unless you configure a custom path (see Configuration).
npx -y @smithery/cli@latest install @faalantir/mcp-agent-identity --client claude
Method 2: Developer Install (Source)
Best for production use and persistent identity storage.
# Clone the repository
git clone https://github.com/faalantir/mcp-agent-identity.git
# Install dependencies
cd mcp-agent-identity
npm install && npm run build
Then add this to your claude_desktop_config.json:
{
"mcpServers": {
"agent-identity": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/mcp-agent-identity/dist/index.js"]
}
}
}
💾 Configuration & Storage
By default, the server tries to save identity.json in your project folder. If it cannot write there (e.g., inside a Smithery container), it falls back to the system temporary directory (RAM/Temp).
To force a permanent location for your keys: Update your claude_desktop_config.json with the AGENT_IDENTITY_PATH environment variable:
"agent-identity": {
"command": "...",
"args": ["..."],
"env": {
"AGENT_IDENTITY_PATH": "/Users/YOURNAME/Desktop/my-identity.json"
}
}
📖 Usage Flow
Once installed, your Agent automatically gains these tools. You can prompt it naturally:
1. Setup (One Time)
User: "Create a permanent identity for yourself named 'FinanceBot'." Agent: Calls create_identity...
"Identity created. My Public ID is
MIIBIjAN...(I have securely stored the Private Key)."
2. Check Identity
User: "Show me my identity details." Agent: Calls get_identity...
"Agent Name: FinanceBot Location: /Users/aarti/Desktop/my-identity.json Public Key: ..."
3. The Transaction
User: "Please authorize a transfer of $50 to Alice." Agent: Calls sign_message...
"I have signed the transaction payload. Signature:
7f8a9d...(Verifiable)"
4. Verification (The "Bank" Side)
Use our NPM SDK to verify signatures in your backend:
npm install @agent-identity/verify
import { verifyAgentIdentity } from "@agent-identity/verify";
const result = verifyAgentIdentity({ message: "pay 500", signature: "...", publicKey: "..." });
if (result.isValid) { // Proceed with transaction }
🗺 Roadmap & Architecture
We are designed to be algorithm-agnostic. While v0.1 uses local files for simplicity, the protocol is built to swap the "Signer Engine" for enterprise backends.
-
v0.1 (Current): Local RSA-2048 keys. Self-sovereign identity. Best for internal tools, debugging, and audit logs.
-
v0.2 (Next): Ed25519 support (smaller, faster keys) and DID (Decentralized Identifier) export.
-
v0.3: Cloud Key Management (AWS KMS / Google Cloud HSM) integration for enterprise deployments.
-
v0.4: Hardware Enclave / TPM support (keys generated inside the chip, never exposed to OS).
-
v1.0: The "Agent Registry" – A centralized directory to map Public Keys to verified Human Owners (Chain of Trust).
⚠️ Security & Limitations
-
Self-Signed Trust: Currently, agents generate their own keys. This creates a "Self-Signed Certificate" model. This is excellent for Attribution (knowing which agent did X) but requires an external trust mechanism for high-stakes Authorization.
-
Key Storage: Keys are currently stored in
identity.jsonon the host machine. Do not use this in shared environments without proper file permissions.
🤝 Contributing
We are looking for contributors to help build Verification SDKs for Python and Go.
Maintained by the Agent Identity Working Group.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。