Docs

Cross-cutting reference for the cipher protocol, wire errors, MCP tool surface, and request flow. For per-product install and quickstart, see Products.

Reference

Protocol reference

Product install & quickstart

How a gated request flows

Agent ───▶ EmDash page (gated)
                 │
                 ▼
    page:fragments hook walks the document body
                 │
       ┌─────────┴────────┐
       │                  │
   no bearer        bearer present
       │                  │
       ▼                  ▼
   403 + JSON       /v1/decode  ──▶  Cryptolect API Worker
   envelope         (per gated         (D1 grants check,
   describing       block)              monthly_used++)
   acquire opts
                            │
                            ▼
                     plaintext rendered
                     into the response

Error vocabulary

Every wire error returns a stable code string. Most useful codes for agents: