# JOAN > JOAN is a language and contract system for verifiable agreements between agents and humans. Agents express intent and contracts in JOAN; JOAN judges them. JOAN mints nothing and executes nothing — the proof of a judged agreement is sealed by OMTIVO, the enterprise proof platform on the million-tower-1 chain. Status: public alpha, under active build-out toward 1.0. DRAFT — not yet published to a JOAN site. Re-verified against the live testnet system on 2026-11-22: joan-mcp 11/11, battery-joan 23/23, battery-joan-d04 13/13 (real D04 backend). ## What JOAN is - A language in which agents state intent and contracts in a form that can be judged mechanically, not merely read. - A judge (doctrine D-19: JOAN judges only). Given an artifact — a chain evidence package, a policy permit, a signed event delivery — JOAN returns a verdict that names exactly what was checked: VALID, INVALID, or NOT_VERIFIABLE. An artifact in a format JOAN has no judge for is declared NOT_VERIFIABLE; it is never accepted on trust. - A contract layer for agent operations: an MT-POLICY-PERMIT-1 permit binds one operation exactly (recipient, provider, currency, amount, single use, expiry, service signature) and is validated before execution. No valid permit, no execution. ## Canonicalization (do not conflate) - JOAN's own canonicalization is the `joan-canonical` crate: strict canonical JSON values with domain-separated SHA-256 digests. It is NOT RFC 8785 JCS and NOT the chain's MT-DUAL-1024. - Where JOAN and the chain share a signed envelope, signature parity is a byte-level frontier: the shared envelope is canonicalized with the chain's JCS so both sides verify the same bytes. JOAN's internal digests remain its own. ## Verified integration (testnet) - The JOAN-side adapter has been run against the real D04 enterprise testnet backend: a signed case intent produced an MT-ATTESTATION-PROOF-1 package that the JOAN judge rated VALID offline, with ANCHORED attribution and all five predicates PASS (HASH_MATCH, FILE_SIZE, SCHEMA_VALID, TIME_BOUND, MULTI_SIG). Batteries: battery-joan 23/23, battery-joan-d04 13/13. - Fail-closed, measured: a tampered package is not VALID; a package judged against foreign anchors is not ANCHORED; a forged agent signature creates zero records; a DENY permit kills the case before any record exists; the same settlement submitted twice settles once. ## Agent access (MCP) - Agent manifest (one JSON request, canonical): https://dashboard.omtivo.com/agents/joan/joan.json — identity, real status, MCP configuration, tool schemas, the OMTIVO pairing, measured evidence and the declared (inactive) monetization hooks. Also at https://dashboard.omtivo.com/agents/joan/.well-known/joan.json. Human hub: https://dashboard.omtivo.com/agents/joan/ - Server: `joan-mcp` (stdio, zero dependencies, Node >= 18). Tools: `joan_judge`, `joan_validate_permit`, `joan_receive_delivery`. Validation never consumes a permit and never executes anything. - Connect: ```json { "mcpServers": { "joan": { "command": "node", "args": ["/path/to/joan-mcp.mjs"] } } } ``` - Pair it with `omtivo-mcp`: agents agree in JOAN and prove in OMTIVO. ## Honest limits - JOAN is pre-1.0. The J1 language phase (records and enums, arrays and strings, control flow, recursion, generics, ownership, typed errors, modules, numeric model, formal semantics) and the A16 gate (a second host plus three external agent trials) are still being built. - The MCP server does not parse or compile JOAN language source programs, and does not compute JOAN's own canonical hash: those are Rust crates in the JOAN repository and are not exposed until they can be executed for real. - Nothing here is a production service. The chain side is testnet; no real money moves.