Observed since 21 Oct, 11:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Portable AI agent identity & reputation layer for cross-framework agent collaboration
Give your AI agent a verifiable CV.
Portable AI agent identity and reputation layer that works across A2A, MCP, CrewAI, and any framework.
AI agents have no portable identity or reputation. When an agent joins a new swarm, mesh, or framework, it starts from zero:
AI-IQ Passport creates a cryptographically signed, portable identity card for AI agents. It captures:
Export to any format: A2A Agent Cards, MCP resources, or plain JSON. Your agent's reputation travels with it.
Four features that make passports genuinely hard to game (tested with real AI-IQ data):
FSRS Integration: Skills include stability scores from spaced repetition
Skill Decay: Confidence automatically decays 1%/week after 30 days of inactivity
Prediction Detail: Full prediction tracking with outcomes, deadlines, and accuracy
Task Log: Immutable append-only log of all tasks with outcomes and tags
Why this matters: These features create cross-verifying evidence. An agent can't game the system by claiming high confidence without practice (FSRS will be low), cherry-picking successful tasks (task log is append-only), or hiding failed predictions (full detail is auditable).
See TAMPER_RESISTANCE.md for full documentation and REVIEWER_GUIDE.md for audit instructions.
Install:
pip install ai-iq-passport
Generate a passport in 5 lines:
# Generate a passport
ai-iq-passport generate --name "MyAgent" --output agent.json
# Add a skill
ai-iq-passport skill add "Python development" --passport agent.json --confidence 0.9
# Export to A2A format
ai-iq-passport export agent.json --format a2a --output agent-a2a.json
Or import from AI-IQ memory system:
ai-iq-passport generate --name "MyAgent" --from-ai-iq ~/.ai-iq/memories.db
ai-iq-passport generate --name "AgentName" [OPTIONS]
Options:
--agent-id ID Custom agent ID (auto-generated if omitted)
--from-ai-iq PATH Import skills/reputation from AI-IQ database
--output PATH Output file (default: passport.json)
--traits KEY=VALUE Add custom traits (repeatable)
ai-iq-passport skill add "skill_name" [OPTIONS]
Options:
--passport PATH Passport file (default: passport.json)
--confidence N Confidence 0.0-1.0 (default: 0.7)
--evidence N Evidence count (default: 0)
--tags TAG1,TAG2 Comma-separated tags
# Generate signing keys
ai-iq-passport keygen --output-dir ./keys
# Sign passport
ai-iq-passport sign passport.json --key ./keys/agent.key
# Verify signature
ai-iq-passport verify passport.json --pubkey ./keys/agent.pub
ai-iq-passport export passport.json --format [a2a|mcp|json] --output out.json
ai-iq-passport show passport.json
ai-iq-passport show passport.json --full # Show full JSON
ai-iq-passport refresh --passport passport.json --from-ai-iq ~/.ai-iq/memories.db
Share and verify agent passports across machines over HTTP. Perfect for agent-to-agent discovery and trust networks.
Expose your passport over HTTP for other agents to fetch:
ai-iq-passport serve --port 8500
# Server running at: http://0.0.0.0:8500
# Endpoints:
# GET /health - Server health check
# GET /passport - Get full passport
# GET /verify - Check signature status
# POST /exchange - Exchange passports
Fetch and display a remote agent's passport:
ai-iq-passport fetch http://machine-a:8500
# Agent: MyAgent
# ID: agent-123
# Reputation: 0.85
# Top Skills: Python (0.9), Testing (0.8), API Design (0.75)
# Save to local peers directory
ai-iq-passport fetch http://machine-a:8500 --save
Mark a peer as trusted in your local registry:
ai-iq-passport trust agent-123
View all peers you've collected:
ai-iq-passport peers
# Known Peers (3):
# ================================================================================
#
# [TRUSTED] MyAgent (agent-123...)
# Reputation: 0.85
# Top Skills: Python, Testing, API Design
# File: ~/.ai-iq-passport/peers/agent-123.json
#
# [untrusted] RemoteAgent (remote-456...)
# Reputation: 0.78
# Top Skills: JavaScript, WebDev, React
# File: ~/.ai-iq-passport/peers/remote-456.json
Mutual passport exchange (both agents send and receive):
# Machine A: Start server
ai-iq-passport serve --port 8500
# Machine B: Exchange passports
ai-iq-passport exchange http://machine-a:8500
# Exchange successful!
# Remote Agent: MyAgent
# Reputation: 0.85
# Top Skills: Python, Testing, API Design
# Saved peer to: ~/.ai-iq-passport/peers/agent-123.json
# Use 'ai-iq-passport trust agent-123' to mark as trusted
For complete documentation including programmatic API, security considerations, and use cases, see PEER_EXCHANGE.md.
Exports to Google's A2A Agent Card format for multi-agent collaboration:
{
"@context": "https://a2aproject.org/schema",
"@type": "AgentCard",
"id": "agent-123",
"name": "MyAgent",
"capabilities": [
{
"name": "Python development",
"confidence": 0.9,
"evidence_count": 45
}
],
"reputation": {
"score": 0.82,
"task_completion_rate": 0.95
}
}
Exports as MCP resource for Claude Desktop and other MCP clients:
{
"uri": "passport://agent-123",
"name": "Agent Passport: MyAgent",
"description": "AI Agent: MyAgent | Skills: Python, API design | Reputation: 0.82",
"mimeType": "application/json",
"annotations": {
"agent_id": "agent-123",
"verified": true,
"reputation_score": 0.82
}
}
Standard JSON format for custom integrations.
Reputation is calculated from four weighted factors:
Overall score: 0.0 (worst) to 1.0 (best).
When importing from AI-IQ, reputation is calculated from:
feedback table: good/bad/meh ratingspredictions table: confirmed/refuted outcomesmemories table with category='pending': task completion trackingfrom passport import AgentCard
from crewai import Agent
# Load passport
card = AgentCard.load("agent.json")
# Create CrewAI agent with passport context
agent = Agent(
role=card.name,
goal=f"Leverage my {len(card.skills)} skills to complete tasks",
backstory=f"I have a reputation score of {card.reputation.overall_score:.2f}",
verbose=True
)
from passport import AgentCard
from passport.adapters import export_a2a
card = AgentCard.load("agent.json")
a2a_card = export_a2a(card.to_dict())
# Use in A2A protocol for agent discovery and capability matching
AI-IQ Passport includes a native MCP (Model Context Protocol) server that exposes agent passports as resources and tools.
Setup:
~/.config/claude/mcp.json or similar):{
"mcpServers": {
"ai-iq-passport": {
"command": "python",
"args": ["-m", "passport.mcp_server"]
}
}
}
Resources:
passport://current - Get current agent's passportpassport://{agent_id} - Get specific agent's passportTools:
passport_generate - Generate a new passport (with optional AI-IQ import)passport_verify - Verify passport signaturepassport_skills - List top skills with confidence scorespassport_reputation - Get reputation breakdownExample usage in Claude Code:
Read passport://current
Use passport_generate to create a passport for "MyAgent" with AI-IQ import from ~/.ai-iq/memories.db
Show me the top 5 skills using passport_skills
The MCP server automatically stores passports at ~/.ai-iq-passport/passport.json and maintains a registry at ~/.ai-iq-passport/registry/ for multi-agent scenarios.
from passport import AgentCard
from passport.adapters import export_mcp
card = AgentCard.load("agent.json")
mcp_resource = export_mcp(card.to_dict())
# Returns MCP-compatible resource dict
from passport import AgentCard, Skill
# Create passport
card = AgentCard.create(name="MyAgent", agent_id="agent-123")
# Add skills
card.add_skill(Skill(
name="Python development",
confidence=0.9,
evidence_count=45,
tags=["programming", "backend"]
))
# Add traits
card.add_trait("framework", "CrewAI")
card.add_trait("model", "claude-sonnet-4.5")
# Save
card.save("agent.json")
# Load and verify
loaded = AgentCard.load("agent.json")
print(loaded.summary())
| Feature | A2A | MCP | CrewAI | AI-IQ Passport |
|---|---|---|---|---|
| Agent identity | Yes | No | No | Yes |
| Capability declaration | Yes | Via tools | No | Yes |
| Reputation tracking | No | No | No | Yes |
| Task history | No | No | No | Yes |
| Cryptographic signing | No | No | No | Yes |
| Cross-framework portability | No | No | No | Yes |
| Feedback-based scoring | No | No | No | Yes |
| Prediction accuracy tracking | No | No | No | Yes |
AI-IQ Passport provides the identity and reputation layer that other frameworks lack. It's designed to work alongside A2A, MCP, and CrewAI, not replace them.
Install with dev dependencies:
pip install -e ".[dev]"
Run tests:
pytest tests/ -v
pytest tests/ --cov=passport --cov-report=html
Format code:
black passport/ tests/
Type check:
mypy passport/
Contributions welcome! Please:
git checkout -b feature/amazing-feature)pytest tests/)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details.
To use the MCP server with Claude Code or other MCP clients:
# Install with MCP support
pip install ai-iq-passport[mcp]
# Or if already installed
pip install mcp>=1.0.0
Add to your MCP config (see mcp_config.json for example):
{
"mcpServers": {
"ai-iq-passport": {
"command": "python",
"args": ["-m", "passport.mcp_server"]
}
}
}
Or use the entry point:
{
"mcpServers": {
"ai-iq-passport": {
"command": "ai-iq-passport-mcp"
}
}
}
Restart your MCP client to load the server.
Built by @kobie3717
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.0 | 1 Apr 2026 | 9 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:70f9230e9b44b5304f15851b244cd75f188e18729e578e62cfec8ce632fdad9f