MCP Hub
Back to servers

Attestix

AI agent identity, W3C credentials, EU AI Act compliance. 47 MCP tools.

Stars
5
Updated
Feb 21, 2026
Validated
Feb 23, 2026

Quick Install

uvx attestix

Attestix

Attestix

Attestation Infrastructure for AI Agents

PyPI Python License Docs

Verifiable identity, W3C credentials, EU AI Act compliance, delegation chains,
and reputation scoring for every AI agent. 47 MCP tools across 9 modules.


Install

pip install attestix

Why Attestix

On August 2, 2026, the EU AI Act enforcement begins. Fines reach EUR 35M or 7% of global revenue.

Existing compliance tools (Credo AI, Holistic AI, Vanta) are organizational dashboards. None produce machine-readable, cryptographically verifiable proof that an AI agent can present to another agent, regulator, or system.

Agent identity is fragmenting across walled gardens (Microsoft Entra, AWS AgentCore, Google A2A, ERC-8004). No single tool combines agent identity + EU AI Act compliance + verifiable credentials in one protocol.

Attestix fills this gap.


Modules

ModuleToolsWhat it does
Identity8Unified Agent Identity Tokens (UAITs) bridging MCP OAuth, A2A, DIDs, and API keys. GDPR Article 17 erasure
Agent Cards3Parse, generate, and discover A2A-compatible agent cards
DID3Create and resolve W3C Decentralized Identifiers (did:key, did:web)
Delegation4UCAN-style capability delegation with EdDSA-signed JWT tokens
Reputation3Recency-weighted trust scoring (0.0 - 1.0) with category breakdown
Compliance7EU AI Act risk profiles, conformity assessments (Article 43), Annex V declarations
Credentials8W3C Verifiable Credentials with Ed25519Signature2020 proofs, presentations
Provenance5Training data provenance (Article 10), model lineage (Article 11), hash-chained audit trail (Article 12)
Blockchain6Anchor artifact hashes to Base L2 via Ethereum Attestation Service, Merkle batching

Quick Start

As an MCP Server (Claude Code)

Add to your Claude Code config (~/.claude.json):

{
  "mcpServers": {
    "attestix": {
      "type": "stdio",
      "command": "python",
      "args": ["/path/to/attestix/main.py"]
    }
  }
}

Then ask Claude:

"Create an identity for my data analysis agent with capabilities: data_analysis, reporting"

As a Python Library

from services.identity_service import IdentityService

svc = IdentityService()
agent = svc.create_identity(
    display_name="MyAgent",
    source_protocol="manual",
    capabilities=["data_analysis", "reporting"],
    description="Analyzes quarterly financial data",
    issuer_name="Acme Corp",
)

print(agent["agent_id"])   # attestix:f9bdb7a94ccb40f1
print(agent["issuer"]["did"])  # did:key:z6Mk...

From Source

git clone https://github.com/VibeTensor/attestix.git
cd attestix
pip install -r requirements.txt
python main.py

EU AI Act Compliance Workflow

Take a high-risk AI agent from zero to fully compliant:

1. create_agent_identity        --> UAIT with DID (Ed25519 signed)
2. record_training_data         --> Article 10 data governance
3. record_model_lineage         --> Article 11 technical documentation
4. create_compliance_profile    --> Risk categorization + obligations
5. record_conformity_assessment --> Article 43 third-party assessment
6. generate_declaration_of_conformity --> Annex V declaration + W3C VC
7. create_verifiable_presentation     --> Signed VP for regulator

High-risk systems are blocked from self-assessment:

record_conformity_assessment(assessment_type="self", ...)
--> ERROR: "High-risk AI systems require third_party conformity assessment"

Full walkthrough: EU AI Act Compliance Guide


How It Works

Every artifact Attestix produces is cryptographically signed with Ed25519:

ArtifactStandardSigned
Agent Identity (UAIT)Custom + DIDEd25519
Verifiable CredentialW3C VC Data Model 1.1Ed25519Signature2020
Verifiable PresentationW3C VPEd25519Signature2020
Delegation TokenUCAN-style JWTEdDSA
Compliance RecordsEU AI Act Annex VEd25519
Audit TrailHash-chained logSHA-256 chain
Blockchain AnchorEAS on Base L2On-chain

No cloud dependency. All core operations work offline with local JSON storage.


Architecture

attestix/
  main.py                  # MCP server entry point (47 tools)
  config.py                # Environment-based configuration
  errors.py                # Error handling with JSON logging
  auth/
    signing.py             # Ed25519 key management
    ssrf.py                # SSRF protection for outbound HTTP
  services/
    identity_service.py    # UAIT lifecycle, GDPR erasure
    agent_card_service.py  # A2A agent card operations
    did_service.py         # DID creation and resolution
    delegation_service.py  # UCAN delegation tokens
    reputation_service.py  # Trust scoring
    compliance_service.py  # EU AI Act profiles and assessments
    credential_service.py  # W3C VCs and VPs
    provenance_service.py  # Training data, lineage, audit trail
    blockchain_service.py  # Base L2 anchoring via EAS
  blockchain/
    merkle.py              # Merkle tree for batch anchoring
  tools/                   # MCP tool definitions (one file per module)

All 47 Tools

Identity (8 tools)
ToolDescription
create_agent_identityCreate a UAIT from any identity source
resolve_identityAuto-detect token type and register
verify_identityCheck existence, revocation, expiry, signature
translate_identityConvert to A2A, DID Document, OAuth, or summary
list_identitiesList UAITs with protocol/revocation filters
get_identityGet full UAIT details
revoke_identityMark a UAIT as revoked
purge_agent_dataGDPR Article 17 right to erasure across all stores
Agent Cards (3 tools)
ToolDescription
parse_agent_cardParse an A2A Agent Card JSON
generate_agent_cardGenerate agent.json for hosting
discover_agentFetch /.well-known/agent.json from a URL
DID (3 tools)
ToolDescription
create_did_keyGenerate ephemeral did:key with Ed25519 keypair
create_did_webGenerate did:web DID Document for self-hosting
resolve_didResolve any DID to its DID Document
Delegation (4 tools)
ToolDescription
create_delegationUCAN-style capability delegation token
verify_delegationVerify JWT signature, expiry, structure
list_delegationsList delegations by agent and role
revoke_delegationRevoke a delegation token
Reputation (3 tools)
ToolDescription
record_interactionRecord outcome and update trust score
get_reputationGet score with category breakdown
query_reputationSearch agents by reputation criteria
Compliance (7 tools)
ToolDescription
create_compliance_profileCreate EU AI Act profile with risk categorization
get_compliance_profileRetrieve full compliance profile
update_compliance_profileUpdate an existing compliance profile
get_compliance_statusGap analysis: completed vs missing requirements
record_conformity_assessmentRecord self or third-party assessment (Article 43)
generate_declaration_of_conformityGenerate Annex V declaration + auto-issue VC
list_compliance_profilesFilter by risk category and compliance status
Credentials (8 tools)
ToolDescription
issue_credentialIssue W3C VC with Ed25519Signature2020 proof
verify_credentialCheck signature, expiry, revocation
verify_credential_externalVerify any VC JSON from an external source
revoke_credentialRevoke a Verifiable Credential
get_credentialGet full VC details
list_credentialsFilter by agent, type, validity
create_verifiable_presentationBundle VCs into a signed VP for a verifier
verify_presentationVerify a VP with embedded credentials
Provenance (5 tools)
ToolDescription
record_training_dataRecord training data source (Article 10)
record_model_lineageRecord model chain and metrics (Article 11)
log_actionLog agent action with hash-chained audit trail (Article 12)
get_provenanceGet full provenance record
get_audit_trailQuery audit log with filters
Blockchain (6 tools)
ToolDescription
anchor_identityAnchor identity hash to Base L2 via EAS
anchor_credentialAnchor credential hash to Base L2 via EAS
anchor_audit_batchMerkle batch anchor of audit log entries
verify_anchorVerify an on-chain anchor against local data
get_anchor_statusGet anchoring status for an artifact
estimate_anchor_costEstimate gas cost for anchoring

Standards Conformance

Every standards claim is validated by 91 automated conformance tests that run in Docker alongside the 193 existing tests (284 total). Run them yourself:

docker build -f Dockerfile.test -t attestix-bench . && docker run --rm attestix-bench
StandardWhat is testedTests
RFC 8032 (Ed25519)4 IETF canonical vectors: key derivation, signature generation (exact match), verification, tamper rejection18
W3C VC Data Model 1.1Credential structure, Ed25519Signature2020 proof, mutable field exclusion, VP structure, replay protection24
W3C DID Core 1.0did:key and did:web document structure, roundtrip resolution, Ed25519VerificationKey202016
UCAN v0.9.0JWT header (alg/typ/ucv), all payload fields, capability attenuation, expiry enforcement, revocation16
MCP Protocol47 tools registered, 9 modules, async convention, snake_case naming5

Performance (median latency, 1000 runs)

OperationLatency
Ed25519 key generation0.08 ms
JSON canonicalization0.02 ms
Ed25519 sign + verify0.28 ms
Identity creation~14 ms
Credential issuance~17 ms
Credential verification~2 ms
UCAN token creation~9 ms

Security

  • Ed25519 signatures on all UAITs, VCs, assessments, declarations, and audit entries
  • Hash-chained audit trail with SHA-256 for tamper-evident logging
  • SSRF protection blocks private IPs, metadata endpoints, and DNS rebinding
  • Encrypted key storage with AES-256-GCM when ATTESTIX_KEY_PASSWORD is set
  • Private keys never exposed in tool responses
  • No external API calls required for core operations

Research Paper

Attestix is described in a research paper covering system architecture, cryptographic pipeline, EU AI Act compliance automation, and evaluation with 284 automated tests.

Attestix: A Unified Attestation Infrastructure for Autonomous AI Agents Pavan Kumar Dubasi, VibeTensor Private Limited, 2026.

Citing Attestix

If you use Attestix in your research, please cite:

@article{dubasi2026attestix,
  title     = {Attestix: A Unified Attestation Infrastructure for Autonomous AI Agents},
  author    = {Dubasi, Pavan Kumar},
  year      = {2026},
  url       = {https://github.com/VibeTensor/attestix},
  note      = {Open-source. Apache License 2.0}
}

Documentation

Full documentation at attestix.vibetensor.com

GuideDescription
Getting StartedInstallation and first identity in 5 minutes
EU AI Act ComplianceStep-by-step compliance workflow
Risk ClassificationHow to determine your AI system's risk category
ArchitectureSystem design and data flows
API ReferenceAll 47 tools with parameter tables
Integration GuideLangChain, CrewAI, AutoGen, MCP client
ConfigurationEnvironment variables, storage, Docker
Research PaperPaper, citation formats, evaluation highlights

Disclaimer

Attestix generates machine-readable, cryptographically signed compliance documentation. It is a documentation and evidence tooling system. It does not replace legal counsel, notified body assessments, or official regulatory submissions. Always consult qualified legal professionals for compliance decisions.


Contributing

See CONTRIBUTING.md for development setup and guidelines.

License

Apache License 2.0. See LICENSE.


Attestix

Built by VibeTensor

Reviews

No reviews yet

Sign in to write a review