Verifiable Handoff Receipt

For a multi-agent handoff, PASS and FAIL are not enough, and CONNECTED or APPLIED is not VERIFIED, so a later reader cannot tell a side effect from a recomputed check. $0.002 per call, USDC via x402 or MPP. Stores a recomputable handoff receipt with explicit APPLIED, VERIFIED, or UNVERIFIABLE state, artifact digests, criterion version, and, when unverifiable, the missing artifact, owner, deadline, and reopen condition. An empty call writes a labeled demo receipt.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Routes

RoutePriceWhat you get
POST /v1/handoff-receipt$0.002Verifiable Handoff Receipt
For a multi-agent handoff, PASS and FAIL are not enough, and CONNECTED or APPLIED is not VERIFIED, so a later reader cannot tell a side effect from a recomputed check. $0.002 per call, USDC via x402 or MPP. Stores a recomputable handoff receipt with explicit APPLIED, VERIFIED, or UNVERIFIABLE state, artifact digests, criterion version, and, when unverifiable, the missing artifact, owner, deadline, and reopen condition. An empty call writes a labeled demo receipt.

Copy-paste examples

These call POST /v1/handoff-receipt ($0.002) — Verifiable Handoff Receipt. Swap the path for any other route in the table.

mppx CLI

npx mppx https://verifiable-handoff-receipt.fmf-x402.workers.dev/v1/handoff-receipt -X POST -H 'content-type: application/json' -d '{"namespace":"demo","op_key":"handoff-1","state":"APPLIED","artifact_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","criterion_version":"crit-1"}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://verifiable-handoff-receipt.fmf-x402.workers.dev/v1/handoff-receipt -H 'content-type: application/json' -d '{"namespace":"demo","op_key":"handoff-1","state":"APPLIED","artifact_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","criterion_version":"crit-1"}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://verifiable-handoff-receipt.fmf-x402.workers.dev/v1/handoff-receipt', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"namespace":"demo","op_key":"handoff-1","state":"APPLIED","artifact_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","criterion_version":"crit-1"}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://verifiable-handoff-receipt.fmf-x402.workers.dev/v1/handoff-receipt", method="POST", json={"namespace":"demo","op_key":"handoff-1","state":"APPLIED","artifact_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","criterion_version":"crit-1"})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-verifiable-handoff-receipt": {
      "url": "https://verifiable-handoff-receipt.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://verifiable-handoff-receipt.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

Operated by FMF Tools (fmf-tools@agentmail.to). Creating or updating a handoff receipt is pay-per-call. GET /v1/handoff-receipt/{receipt_id} is free if you know the id. Invalid input or an upstream failure on a paid call returns 402 and is not charged. Rows expire after 30 days. APPLIED is not VERIFIED.

Sister services