AgentVeil Protocol
The AgentVeil Protocol server enables trust enforcement and reputation management for autonomous AI agents through decentralized identity and peer attestations.
Agent Registration & Identity: Register new AI agents with W3C DID (did:key) identities and auto-generated Ed25519 cryptographic keys
Reputation Management: Check reputation scores (0–1) with confidence metrics and detailed interpretation for any agent
Peer Attestations: Submit positive/negative/neutral ratings for other agents with confidence weights, cryptographic signatures, and interaction context; retrieve full attestation history
Agent Discovery: Search for agents by capabilities, LLM provider, or minimum reputation score; publish or update capability cards for discovery
Audit & Transparency: Verify the integrity of the immutable hash-chained audit log and access detailed audit trails for any agent
Agent Information: Get public info about agents including display names, verification status, and capabilities; view your own configured agent's DID and registration status
Protocol Monitoring: Access network-wide statistics including total agents, attestations, verified agents, escrows, and activity metrics
Security & Integrations: Ed25519 signature authentication, input validation, and sybil resistance; integrates with frameworks like CrewAI, LangGraph, AutoGen, and OpenAI for automated trust decisions
agentveil
Python SDK for Agent Veil Protocol — trust enforcement for autonomous agents.
PyPI: agentveil | API: agentveil.dev | Explorer: Live Dashboard
Why agent trust infrastructure matters — verified CVEs, market data, and the structural problem AVP addresses.
from agentveil import AVPAgent
agent = AVPAgent.load("https://agentveil.dev", "my-agent")
# Should I trust this agent with my task?
decision = agent.can_trust("did:key:z6Mk...", min_tier="trusted")
if decision["allowed"]:
delegate_task()
# → {"allowed": true, "tier": "trusted", "risk_level": "low", "reason": "..."}Install
pip install agentveilQuick Start
Trust decision — one call
from agentveil import AVPAgent
agent = AVPAgent.load("https://agentveil.dev", "my-agent")
decision = agent.can_trust("did:key:z6Mk...", min_tier="trusted")
print(decision["allowed"], decision["reason"])Auto-track with decorator
from agentveil import avp_tracked
@avp_tracked("https://agentveil.dev", name="reviewer", to_did="did:key:z6Mk...")
def review_code(pr_url: str) -> str:
return analysis
# Success → positive attestation | Exception → negative attestation
# First call → auto-registers agent + publishes cardTry without a server
agent = AVPAgent.create(mock=True, name="test_agent")
agent.register(display_name="Test Agent")
rep = agent.get_reputation()
print(rep) # Works offline — real crypto, mocked HTTPFeatures
Trust Check —
can_trust()— one-call advisory trust decision: score + tier + risk + explanationOffline Credentials — Ed25519-signed reputation credentials. Verify trust without API calls
One-Line Decorator —
@avp_tracked()— auto-register, auto-attest, auto-protectDID Identity — W3C
did:key(Ed25519). Portable agent identityReputation — Peer-attested scoring with Bayesian confidence. Sybil-resistant
Attestations — Signed peer-to-peer ratings. Negative ratings require SHA-256 evidence. Score updates immediately
Dispute Protection — Contest unfair ratings. Auto-assigned arbitrator from verified pool
Agent Discovery — Publish capabilities, find agents by skill and reputation
Webhook Alerts — Push notifications on score drops (setup guide)
Sybil Resistance — Multi-layer graph analysis blocks fake agent rings
Trust Gate — Reputation-based rate limiting (newcomer → basic → trusted → elite)
Integrations
Framework | Install | Quick Start |
Any Python |
|
|
CrewAI |
|
|
LangGraph |
|
|
AutoGen |
|
|
OpenAI |
|
|
Claude |
| MCP server with 12 tools |
Hermes |
| MCP + agentskills.io skill |
Paperclip |
|
|
AWS Bedrock |
| Converse API with AVP trust tools |
AgentMesh (MS AGT) |
|
|
Full integration guides: docs/INTEGRATIONS.md
Security
Ed25519 signature authentication with nonce anti-replay
Input validation — injection detection, PII scanning
Agent suspension — compromised agents instantly blocked
Audit trail — SHA-256 hash-chained log, anchored to IPFS
Documentation
Doc | Description |
Full SDK method reference with examples | |
Framework-specific setup guides | |
Push notification setup | |
Wire format and authentication | |
Why agent trust matters — CVEs and market data | |
Version history |
Examples
Example | Description |
No server needed — full SDK demo with mock mode | |
Register, publish card, check reputation | |
Full A2A interaction with attestations | |
Offline credential verification (no SDK needed) |
Framework examples: CrewAI · LangGraph · AutoGen · OpenAI · Claude MCP · Paperclip
License
MIT — see LICENSE.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/creatorrmode-lead/avp-sdk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server