Agent Action Provenance
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Action Provenanceseal this FHIR task write and return the inclusion proof"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agent Action Provenance
Tamper-evident provenance for every action an AI agent takes. When an agent writes a FHIR task, changes infrastructure or releases a batch record, it (or the gateway in front of it) submits what it decided, the evidence it relied on and the authorization it acted under. The engine turns that into a W3C PROV record, checks it against governance rules, seals it into an append-only Merkle transparency log (RFC 6962 hashing, signed tree heads), writes a signed audit event, and returns an inclusion proof. Auditors export self-verifying evidence bundles and check them offline; independent monitors prove the log was never rewritten.
Decision ─▶ Evidence ─▶ Authorization ─▶ Audit Record
│ │ │ │
└── W3C PROV document ──────┴── governance ─┴─▶ Merkle leaf ─▶ signed tree head
│ │
inclusion proof ◀┘ consistency proof, WORM archiveCapabilities
Capability | Implementation |
Provenance records | W3C PROV-JSON per action: decide / authorize / act activities, evidence and output entities, |
PROV validation | Referential integrity, unique generation, acyclic derivation, activity time ordering |
Governance checks | Executed without authorization, executed despite deny, approval missing / after execution / self-approval, authorization after execution, evidence after action, high-risk on untrusted or no evidence, classification downgrade |
Transparency log | RFC 6962 / RFC 9162 Merkle tree in PostgreSQL; perfect-subtree node store, |
Proofs | Inclusion (audit path) and consistency proofs, verified exactly as RFC 9162 sections 2.1.3.2 and 2.1.4.2 specify; tested against the Certificate Transparency vectors and tamper cases |
Signed evidence chain | agentic-core hash-chained, Ed25519-signed audit events for every record, decision, export and archive write |
Self-monitoring | Recomputes the signed root from stored nodes, re-hashes the latest batch's records, proves append-only growth since the last check; detects edits, forged heads and rollbacks |
Auditor export | Frozen record selection, policy-governed (RESTRICTED data or bulk exports need a second approver), self-verifying bundle |
Verification CLI |
|
WORM storage | S3 Object Lock (COMPLIANCE, conditional create, SHA-256 checksum) or write-once files shipped to immutable blob storage |
Agent identity | Agents authorized through agent-identity-fabric ( |
MCP | Six tools over streamable HTTP at |
A2A | Agent Card at |
Lineage | Which actions, agents and evidence produced an artifact, transitively, by content digest |
Shared controls (policy engine, audit chain, logging, telemetry, canonical JSON) come from agentic-core.
Related MCP server: ledger
Quick start (local)
Requires Docker. No API keys or cloud credentials are needed.
docker compose up --build
curl -s localhost:8080/v1/log/tree-head | jq
curl -s localhost:8080/.well-known/agent-card.json | jq .skills[].idThe compose stack runs PostgreSQL, an OIDC provider standing in for both the agent credential issuer and the auditors' IdP, and an OpenTelemetry collector.
Development
uv sync
make check # ruff, black, mypy --strict, bandit, contracts, tests (coverage >= 90%)
make integration # PostgreSQL concurrency test (needs PROVENANCE_TEST_DATABASE_URL)
make helm terraform audit-depsTest suites: tests/unit (Merkle tree against RFC 6962 vectors and a direct
transcription of the RFC definitions, PROV, governance, verification,
adapters, CLI), tests/security (tampering, forged heads, rollback,
credential attacks), tests/chaos (database, sequencer, identity fabric,
audit sink and archive failures), tests/performance (proof and group-commit
budgets; locustfile.py for load), tests/e2e (REST, MCP and A2A lifecycle,
offline bundle verification, property-based OpenAPI contract test),
tests/integration (two replicas appending concurrently to PostgreSQL).
API
Endpoint | Caller | Purpose |
| Agent or gateway (agent credential) | Seal an action; returns receipt, signed tree head, inclusion proof |
| Anyone | Latest (or historical) signed tree head |
| Anyone | RFC 6962 audit path |
| Anyone | RFC 6962 consistency proof |
| Anyone | Leaf hashes and record IDs |
| Anyone | Log ID and Ed25519 public key |
| Auditor ( | Search, read, verify |
| Auditor | Artifact lineage |
| Auditor, approver ( | Governed evidence export |
| Agents | MCP tools: |
| Agents | A2A skills: |
Log reads are unauthenticated by design: they reveal hashes only, and a transparency log is only useful if anyone can check it. Full contract: docs/api/openapi.json; JSON Schemas in schemas/.
Verifying evidence offline
provenance-verify bundle bundle.json --public-key log.pub.pem
provenance-verify monitor --url "$PROVENANCE_URL" \
--public-key log.pub.pem --state monitor-state.json # run on a scheduleDeployment
Layer | Location |
Container image |
|
Helm chart |
|
Namespace and secret sync |
|
Cloud infrastructure |
|
See the startup runbook.
Documentation
Architecture, agent specification, integrations: identity, MCP, A2A, acceptance criteria
Runbooks: startup, monitoring, incident response, key rotation, rollback, disaster recovery
Configuration reference, observability, cost and scalability
License
Apache-2.0
This server cannot be deployed
Maintenance
Related MCP Connectors
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Issue & verify signed (ed25519), hash-chained, timestamped provenance receipts for agent actions.
Governed MCP: agent audit, provenance, deterministic checks, and receipt-backed FragGate execution.
Hash-chained HMAC-signed audit log MCP for A2A (agent-to-agent) calls. Every tool-call, agent-ha...
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceTamper-proof audit trail for AI decisions. 6 tools to record, verify, and export cryptographic proof chains via MCP.1Apache 2.0
- AlicenseAqualityBmaintenanceProvides tamper-evident, hash-chained logging for MCP agents, enabling append, verification, and artefact-binding of action records.5MIT
- AlicenseNot gradedqualityAmaintenanceProvides evidence-oriented MCP service for cryptographically identified agents, bounded public contracts, privacy-preserving records, and append-only audit.Apache 2.0
- AlicenseAqualityBmaintenanceFree seven-tool proof loop for MCP agents: scoped sessions, bounded authorization, typed outcomes, evidence-bound claims, and tamper-evident local closure. Upgrade to Complete Local for durable memory, recovery, signed traces, release verification, and multi-agent workflows.7Apache 2.0