Cedulon

Missing evidence is itself evidence.

Cedulon is the open audit layer for agent payments. Every spend carries a signed receipt, and the receipts are reconciled against what the payment rail itself reports. A payment that left no receipt does not disappear from the books. It shows up as a finding.

npx -y @cedulon/mcp-server

Five MCP tools over stdio for Claude Desktop, Claude Code and Cursor. Nothing here moves money: the server settles on a mock rail and holds no wallet.

Scroll to follow one payment through the seal.

1Open the seal

One seal, four records

Pull the seal apart and each layer is a record of its own: the policy that decides, the rail's own extract, the signed receipt and the chain of receipts. Follow one payment of 0.25 USDC through all of them.

2Manifest

The seller signs the offer first

Before any money moves, the seller signs a trade manifest: what is sold, for how much, and a hash of the acceptance criteria. The receipt will carry the manifest's hash.

description            hourly forecast, 24 hours
amount                 0.25
currency               USDC
payee                  api.weather.example
acceptanceCriteriaHash c09d71e45b2f…
expiresAtMs            1793466000000
3Policy

Default deny

The policy decision point sees every request before the rail does. Over the limit, an unknown payee, a replayed nonce: refused, with the reason written down. If the policy engine is missing or throws, the answer is also no.

40.00 USDC              limit-amount
to unknown.example      scope-payee
engine unreachable      engine-unavailable
0.25 USDC to api.weather.example  allow
4Rail

The rail settles

The payment goes out on x402. Cedulon does not move the money. The settlement shows up in the rail's own extract, as one tick on the edge of the seal.

ref          0x9a3e51c8:1
amount       0.25 USDC
timestampMs  1793462400000
5Receipt

The receipt is signed

Payer, payee, amount, the policy hash, the manifest hash, the rail reference and the previous receipt's hash become one set of claims. They are encoded as deterministic CBOR and signed as COSE_Sign1. The pattern at the core is drawn from that receipt's SHA-256.

COSE_Sign1
protected  alg -19 (Ed25519)
           application/cedulon-receipt+cbor
payload    payer, payee, amount, currency,
           policyHash, manifestHash,
           x402PaymentRef, timestampMs, nonce,
           prevReceiptHash, outcome
signature  Ed25519
6Chain

Each receipt holds the one before

The new receipt carries the previous receipt's hash, so the chain shows when a receipt is changed or taken out. Every epoch closes with a checkpoint: how many receipts, their totals, the chain head and the previous checkpoint's hash.

prevReceiptHash  9f3a0c17e2b6…
checkpoint       epoch, receiptCount, totals,
                 chainHead, hash of the previous one
7Bypass

Someone skips Cedulon

A second payment of 7 USD goes straight to the rail. No manifest, no policy decision, no receipt. The rail settles it anyway, and Cedulon cannot stop that. But the rail writes it down.

ref      bypass-hidden
amount   7 USD
receipt  none
8Audit

The audit finds the empty place

Reconciliation walks the rail's extract and pairs every settlement with a receipt. The settlement with nothing to pair with is the finding. These lines are the repository's own bypass demo.

code    settlement-without-receipt
detail  settlement bypass-hidden 7 USD
        has no spend receipt
audit: 1 settlement without receipt → FAIL

The argument in full: Two ledgers, one window, CC BY 4.0.

9Try it

Now try it on the seal

Change one byte of the receipt, or settle a payment that never asked Cedulon. The pattern is computed in your browser from the receipt's SHA-256.

Signature
valid
Records
96 settlements, 96 receipts
Audit
audit: balanced
Over 100,000 downloadsOf the Cedulon packages on npm, CI and mirrors included. Read daily from npm by verax-ai.com.
IETF Internet-DraftsCore, checkpoint, threats, reattestation, streaming and a decision profile, posted on the Datatracker.
SCITT-anchorableReceipts are COSE objects that a transparency service built on RFC 9943 can anchor.
18 authorsA joint interoperability report by SCITT working group participants includes runs of Cedulon by others.

The same story in 37 seconds

One payment through the seal, and the one that skipped it. No sound; the captions are in the picture.

The same audit works for decisions

A spend is one kind of effect. The decision profile applies the same reconciliation to a decision log: a signed allow, deny or defer on one side, and what the channel actually carried on the other.

A refusal followed by the effect it refused

A spend audit would call it a settlement without receipt. Here it is a finding with its own name.

effect-against-refusal → FAIL

The class of the effect is under the signature

An allow names what it allowed and what kind of thing it is. A row that carries the allowed hash under another class is a mismatch.

effect-class-mismatch

One fixture, two independent readers

A frozen leaked-refusal fixture was read by this audit and by a second reader written elsewhere. Both refused it. The run and its limits are in the external review log.

On the record

Drafts, papers and releases you can check for yourself. The posted revision of each draft and its date are on its Datatracker page.

Paper

Two ledgers, one window: integrity of a mediator's record does not establish its completeness. CC BY 4.0.

10.5281/zenodo.22071429

Joint interoperability report

Independent runs, findings and disagreements recorded by SCITT working group participants, 14 August to 26 September 2026. 18 authors, with runs of Cedulon by other contributors.

10.5281/zenodo.23332158

Cooperation with EMILIA

Announced 26 October 2026, in the wording both parties approved:

When an agent makes a payment, approval and reconciliation answer different questions.

Before a covered payment is released, EMILIA Gate checks authority. EMILIA Protocol provides verifiable approval evidence.

Afterward, our planned integration will use Cedulon’s reconciliation tooling to compare available settlement records with those signed receipts and flag mismatches or missing evidence.

EMILIA and Cedulon have signed a cooperation framework to build this connection and publish shared adapters and tests using public or synthetic data.

The announcement.

Run it on your machine

Point Claude Desktop, Claude Code or Cursor at the npm package. There is nothing to clone and nothing to build. The server makes no network requests.

{
  "mcpServers": {
    "cedulon": {
      "command": "npx",
      "args": ["-y", "@cedulon/mcp-server"]
    }
  }
}
claude mcp add cedulon -- npx -y @cedulon/mcp-server

Limits come from the environment, for example CEDULON_MAX_AMOUNT and CEDULON_ALLOWED_PAYEES. Set CEDULON_STATE_PATH to keep the receipt chain across restarts.

ToolWhat it does
cedulon_spendChecks the policy, then returns a signed receipt or a refusal with its reason.
cedulon_auditReconciles a rail extract against the receipt chain and returns findings and counts.
cedulon_verify_receiptChecks a receipt's signature, and a countersignature when there is one.
cedulon_export_ledgerExports receipts, checkpoint and extract as JSON.
cedulon_statusVersion, active policy, receipt count and chain head.

Questions

What does Cedulon actually do?

Cedulon sits above payment rails such as x402 and AP2 as an audit layer. It writes a signed spend receipt, a chained epoch checkpoint, and a reconciliation of the rail extract. If a spend left no receipt, the gap is the finding. The design is specified in IETF Internet-Drafts and published as open source under Apache-2.0.

Can anyone verify a spend receipt?

A signed spend record checks as valid or tampered. That is the easy half. A spend that never issued a receipt leaves no object to verify, and the books can still look clean. The companion audit compares the rail extract to the receipt chain so a missing receipt becomes a finding.

Does Cedulon take custody of funds?

Cedulon does not take custody and does not operate escrow. An optional third-party escrow role may appear in the protocol as an interface. This repository uses mock keys and a mock rail. The published packages do not touch money: no real wallets and no network rails.

How do I attach Cedulon to Claude or Cursor?

The gated spend and extract audit are five MCP tools on stdio, published on npm as @cedulon/mcp-server. Point Claude Desktop, Claude Code, or Cursor at that package. There is nothing to clone or build. A five-minute path is in the repository Quickstart document.

What does Cedulon not prove?

Cedulon does not take custody and does not operate escrow. It does not judge delivery quality beyond a hash compare against the manifest acceptance criteria. Payment rails may succeed even if Cedulon is skipped. Production key storage is out of scope in this repository. Completeness checking does not replace prevention.

Where can I read more?

Auditing what an agent spent, with the adjacent IETF drafts compared, and how Cedulon compares with Stripe Agent Toolkit, Coinbase AgentKit, x402, Google AP2, AWS AgentCore Payments and Vaara, including where they are ahead.