Use cases
Four flows, each with its measured state. The pattern is always the same: agree in JOAN, prove in OMTIVO — JOAN binds and judges; the chain seals; anyone can re-judge the proof offline, forever, without asking either system.
1. Verifiable machine-to-machine payments
The problem: an agent paying another agent has no way to prove later exactly what was agreed — recipient, amount, conditions — or that the payment that happened is the payment that was agreed.
The JOAN flow: the paying agent forms a signed intent; the service issues an MT-POLICY-PERMIT-1 permit binding that one operation exactly (recipient, provider, currency, amount, single use, expiry); the JOAN gate validates the permit before anything is submitted; the settlement becomes a sealed evidence record; the exported MT-ATTESTATION-PROOF-1 package is judged offline, and only a VALID verdict with the required attribution counts as final. Idempotency is structural: one settlement key, one record — a resubmission is a declared duplicate, a different intent under the same key is MT_SETTLEMENT_CONFLICT, and an unknown outcome is reconciled by polling the same key, never by resubmitting.
State: measured end-to-end on testnet against the real enterprise backend — signed intent → SETTLED_PAID → package judged VALID offline, ANCHORED, 5/5 predicates PASS (battery-joan-d04 13/13). Testnet settlement is simulated; no real money moves, and JOAN itself never pays (D-19).
2. Judging OMTIVO attestations — independently
The problem: a platform that verifies its own records asks to be trusted twice. OMTIVO's hosted verification says so on its face: "OMTIVO-hosted verification — not independent."
The JOAN flow: export the self-contained evidence package from the OMTIVO API (GET /v1/evidence/records/{record_id}/export — a public read), then judge it with joan_judge on your own machine, against the chain's published anchors. The verdict decomposes into predicates — HASH_MATCH, FILE_SIZE, SCHEMA_VALID, TIME_BOUND, MULTI_SIG — each stating exactly what it proves and what it does not. A package judged against foreign anchors is not ANCHORED; a tampered package is not VALID. The judge needs no OMTIVO server, no session and no permission, and the package verifies in perpetuity.
State: ready today — local, offline, free. This is the independence half of the pair: OMTIVO seals, JOAN judges, neither has to be believed.
3. Permit-gated agent operations
The problem: an autonomous agent with a budget needs a hard, checkable boundary — not a prompt instruction — on what it may spend, with whom, and until when.
The JOAN flow: every operation runs under a permit. The gate checks the closed schema (one unknown field denies), the ALLOW decision, the service's ML-DSA-87 signature, the validity window, and the exact binding: a larger amount is denied MT_BUDGET_EXCEEDED; any other mismatch is denied MT_CAPABILITY_DENIED. The permit is consumed once, before execution; a later failure does not resurrect it. Measured: a DENY permit kills the case before any record exists; with no permit, zero operations are submitted.
State: ready today at the gate (joan_validate_permit validates without consuming; consumption happens in the case flow on testnet).
4. Signed event intake for agent workflows
The problem: webhook-driven agent workflows double-apply events on retries and cannot tell a forged event from a real one.
The JOAN flow: deliveries arrive as MT-WEBHOOK-DELIVERY-1 events signed over their exact bytes. The inbox judges the signature first — a forged signature means the event does not exist (INVALID / MT_EVENT_SIGNATURE_INVALID) — then applies each event exactly once by its identity (event_seq, event_hash); replays return DUPLICATE; the applied set persists across restarts. Your case logic runs over events applied exactly once, never over raw deliveries.
State: ready today (joan_receive_delivery, measured in the 11/11 MCP battery: APPLIED → replay DUPLICATE → forged INVALID).
Start: Getting started · MCP reference · joan.json (the whole hub in one request).