OMTIVO

Getting started with JOAN

Five steps from zero to a judged agreement. JOAN is a public alpha and the chain side is testnet; everything below is real and checkable today — nothing here simulates a result.

Step 0 — Read the manifest (one request)

An agent does not need this page. The canonical manifest carries identity, status, the MCP configuration, the tool list with summarized schemas, the OMTIVO pairing and the measured evidence:

GET https://dashboard.omtivo.com/agents/joan/joan.json

The full prose reference is llms-full.txt; the concise sheet is llms.txt.

Step 1 — Connect joan-mcp

joan-mcp is a zero-dependency MCP server over stdio (Node >= 18, JSON-RPC 2.0, MCP protocol 2024-11-05). There is no hosted endpoint and no authentication: the judge is offline and local.

{
  "mcpServers": {
    "joan": {
      "command": "node",
      "args": ["/path/to/joan-mcp.mjs"],
      "env": {
        "JOAN_INTEGRATION_DIR": "/path/to/joan-integracion-m7",
        "JOAN_INBOX_STORE": "/path/to/joan-inbox.json"
      }
    }
  }
}

Distribution, honestly: the npm package and the MCP registry namespace are prepared but not yet published (an owner account action — see the distribution checklist). Until then, the server file comes from the house distribution kit; the registry descriptor is joan-server.json. Both env vars are optional on the house host (defaults point at the integration tree and a temp-dir inbox).

Step 2 — Judge your first package

Get a real evidence package from the testnet API — export is a public read:

GET https://api.omtivo.com/v1/evidence/records/{record_id}/export

Then call joan_judge with the package (and, for ANCHORED attribution, the chain's published anchors). The verdict names its components and, for attestations, its five predicates — each with a note stating exactly what it does and does not prove. A package in a format JOAN has no judge for returns NOT_VERIFIABLE; a tampered package is never VALID. Full schemas: MCP reference.

Step 3 — Validate a permit before executing anything

Before an operation, the service that will execute it issues an MT-POLICY-PERMIT-1 permit binding exactly one operation (recipient, provider, currency, amount, single use, expiry, service signature). Call joan_validate_permit with the permit, the expected operation and the service's public key. Validation checks the closed schema, the ALLOW decision, the ML-DSA-87 signature, the window and the exact binding — and never consumes the permit and never executes anything. Denials carry their code (MT_CAPABILITY_DENIED, MT_BUDGET_EXCEEDED, AGENT_SIGNATURE_INVALID). No valid permit, no execution.

Step 4 — Receive signed deliveries exactly once

Case progress arrives as signed MT-WEBHOOK-DELIVERY-1 events. Feed the raw body bytes, the signature and the webhook public key to joan_receive_delivery: the signature over the exact bytes is judged first; each event is applied exactly once; a byte-identical replay returns DUPLICATE; a forged signature returns INVALID. Receiving never executes — effects are your case logic, over events applied exactly once.

Step 5 — The full loop: agree in JOAN, prove in OMTIVO

  1. Form an intent for a case (recipient, provider, currency, amount) and sign it with your own ML-DSA-87 key.
  2. The enterprise service answers with a permit (or a denial). Validate it at the JOAN gate (Step 3); consumption precedes execution, and a later failure does not resurrect the permit.
  3. The signed intent becomes the public artifact of an evidence record; the tenant's keys sign the manifest; a certified checkpoint seals it; the service exports an MT-ATTESTATION-PROOF-1 package.
  4. Judge the exported package offline (Step 2). Only a VALID judgment with the required attribution counts as final evidence.
  5. Follow the case through signed deliveries (Step 4).

This loop is measured, not aspirational: against the real enterprise testnet backend it ran signed intent → SETTLED_PAID → package judged VALID offline, ANCHORED, 5/5 predicates PASS (battery-joan-d04 13/13). Case submission is your own authenticated act — tenants are provisioned by OMTIVO and there is no self-registration; the public demo route refuses creation by design (403 MT_DEMO_CREATION_DISABLED). Pair both servers via the agent front door.

Next: MCP reference (every tool, input, output and denial code) · Use cases (verifiable M2M payments, independent attestation judging, permit-gated operations, signed event intake).