domup-nox/agent-identity-bridge
Portable identity for AI agents across MCP, A2A, ANP protocols. One passport. Every protocol. Full audit trail.
Platform-specific configuration:
{
"mcpServers": {
"agent-identity-bridge": {
"command": "npx",
"args": [
"-y",
"agent-identity-bridge"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
One identity. Every protocol. Full audit trail.
AIB is an open-source protocol and reference implementation that gives AI agents a single portable identity across MCP (Anthropic), A2A (Google), ANP (W3C DID), and AG-UI — the four layers of the 2026 AI communication stack.
Each AI protocol has its own identity system. An agent operating across MCP + A2A + ANP has three separate identities with no link between them. This makes cross-protocol auditing impossible, credential management painful, and compliance (GDPR, SOC2) a nightmare.
| Component | Purpose | |-----------|---------| | Agent Passport | A signed JSON document (JWS) that binds one agent identity to credentials for every protocol it supports | | Credential Translator | Converts between A2A Agent Cards ↔ MCP Server Cards ↔ DID Documents automatically | | Audit Trail | Unified OpenTelemetry traces for every cross-protocol interaction | | Gateway Proxy | Reverse proxy that injects the right credentials based on target protocol |
# Clone and install
git clone https://github.com/tntech-consulting/agent-identity-bridge.git
cd agent-identity-bridge
pip install -e .
# Create your first Agent Passport
python -m aib.passport
# Translate between protocol formats
python -m aib.translator{
"aib_version": "0.1",
"passport_id": "urn:aib:agent:myorg:my-agent",
"display_name": "My Agent",
"issuer": "urn:aib:org:myorg",
"capabilities": ["search", "booking"],
"protocol_bindings": {
"mcp": { "server_card_url": "https://...", "auth_method": "oauth2" },
"a2a": { "agent_card_url": "https://...", "auth_method": "bearer" },
"anp": { "did": "did:web:example.com:agents:my-agent", "auth_method": "did-auth" }
}
}┌─────────────┐ ┌─────────────────┐ ┌──────────────┐
│ Your Agent │────▶│ AIB Gateway │────▶│ MCP Server Loading reviews...