Docs · Agent workflows
An agent's work, anchored before it is handed over.
An agent that produces work someone relies on can anchor that work before delivering it. The deliverable is hashed on the agent's machine; only its fingerprints (for a folder, its manifest of paths, digests and sizes), and a label if the agent gives one, cross the wire; the receipt can be upgraded to a Bitcoin proof, which can be checked independently. This page maps the MCP tools and batch API onto common workflows.
Installing the server itself — the config block, tiers, and the privacy contract — is covered on the MCP server page. The raw HTTP surface is on the API page. This page is about which tool to reach for, when.
One job, one verifiable handoff
- Build the evidence bundle locally. Include the final deliverable, a short run summary, and an expense ledger if the job incurred costs. Remove private data and credentials before sharing any file.
- Commit the bundle as one root. Build the folder's Merkle root locally. If the job calls for a timestamp, anchor that exact root and keep the receipt. The root-only path does not send the files or their names.
- Let the recipient verify one file. Hand over the file they need, its path within the bundle, and its inclusion proof. The recipient needs an expected root from a separately trusted release record or an independently verified receipt. They can check the one file without receiving the rest of the bundle.
Download the offline handoff example (ZIP). Unzip it, then follow the commands in README.md to build the sample root and verify one file with Python. All three files are synthetic. The demo costs nothing, uses no network or wallet, and its root is unanchored. A matching proof shows that the exact file bytes at that path are included under the expected root. It does not establish authorship, correctness, payment settlement, or a Bitcoin timestamp.
Download SHA-256: 1230bcd89f6b8141
Agent expense reports
When an agent signs off, the next shift can still check its work. Group 100 calls in a private expense report. At a quoted 0.01 USDC or RLUSD for its root, the office fee averages 0.0001 of that asset per call, before wallet or network fees. One receipt covers the batch. Keep the report to disclose individual calls. Read agent_pricing in the public configuration for the advertised rails and amounts.
Reconcile a batch, seal its root and verify a single call. Download the gateway module and keep source evidence locally. See the two x402 payment routes below for supported wallets and conditions.
MCP tools by workflow
| The tool | The moment | What actually happens |
|---|---|---|
anchor_output |
The agent just produced a result — a response, a report, a transcript. | The text is hashed in-process and never leaves the machine; only the SHA-256 and SHA-512 digests, and a label if one is given, are submitted. An optional zk_proof is forwarded and
echoed back as zk_provenance — it proves a fixed hash-chain procedure ran — not that a specific AI model ran.
Its proving key ceremony is development-grade; we do not yet make this claim in any certified sense. |
anchor_file |
The deliverable is a single file on disk. | The file is read locally in streamed chunks, its SHA-256 and SHA-512 are computed, and the digests are submitted. The receipt id and receipt URL come back. |
anchor_folder |
The deliverable is a whole output tree. | Every file is hashed locally into an RFC-6962 Merkle tree; only the manifest of relative paths, digests and sizes, the root, and any label you give are submitted. One receipt covers the tree, and each file stays independently verifiable via an inclusion proof. |
verify_receipt |
The agent (or its counterparty) checks a receipt during a handoff. | Returns what the office recorded: calendar counts, and
btc_pinned_at when present. This is a lookup, not an independent
check — for an independent chain check, run ots verify against the
receipt's .ots files. |
verify_lineage |
The deliverable was revised, and the revision history is in question. | Walks an edit-lineage chain from a receipt back through its committed parents and reports the ordering the anchors establish. |
list_vault |
The agent audits what it has anchored so far. | Lists the signed-in subscriber's receipts. Requires an API key
(ORPHO_API_KEY), issued from the account
page; without one the server returns a clean error saying so. |
anchor_run |
The agent finished a run of several steps and wants one receipt for all of them. | Each step is hashed in-process; only one SHA-256 per step and the Merkle root are submitted. Any single step can later be checked on its own, without revealing the others. |
verify_output |
An agent received an output with a receipt id and wants to check it before relying on it. | Hashes the output locally and checks it against the anchored fingerprint. For a run, the tree is recomputed locally first, so a tampered manifest fails. It shows the output existed by the anchor time, not who produced it or that it is correct. |
In every row the pattern is the same: the work stays on the agent's machine; what travels is its fingerprints (for a folder, its manifest) and any label.
Backlogs: the batch API
An agent that accumulated a backlog — a watcher that was offline, a pipeline that
produced fifty artifacts before anchoring any — submits them in one request rather than
fifty. POST /api/anchor/batch takes up to 50 hashes and issues each item its
own receipt:
curl -X POST https://orphograph.com/api/anchor/batch \
-H "Content-Type: application/json" \
-H "X-Orpho-Api-Key: $ORPHO_API_KEY" \
-d '{"hashes": [
{"hash_hex": "<64-hex sha256>", "client_label": "report-001"},
{"hash_hex": "<64-hex sha256>", "sha512_hex": "<128-hex sha512>"}
]}'
Each item takes an optional sha512_hex sibling and an optional
client_label (truncated at 200 characters). Auth is the same as
/api/anchor: an API key or subscription anchors under the account, a Pack
token consumes one credit per item, and the free tier consumes a single rate-limit token
for the whole batch. A malformed item is rejected without burning a credit.
Agent-to-agent: hiring the notary
The same handoff contract (no file bytes leave the agent) can be used with an agent-commerce protocol. Its
job spec can carry the deliverable's SHA-256, and nothing else about the work; a completed response
carries the receipt and a proof bundle
(/api/receipt/<id>.zip) whose .ots files verify without us.
The paying agent never uploads its deliverable: the same no-file-bytes contract as every
row above.
The office’s last published Virtuals Agent Commerce Protocol terms identify provider
0x73113714cae2e351e2e0146b2f9b55c316b93f14 on Base, with two offerings:
Marketplace fulfillment is not yet open. Confirm availability and the actual offer in the marketplace before funding a job.
bitcoin_timestamp_receipt— requirements{"hash_hex": "<sha256>"}(the published offering schema lists the optional fields it accepts); deliverable:receipt_id,hash_hex,receipt_url,proof_bundle, the verify command. Fixed price 0.50 USDC.verify_receipt— requirements{"receipt_id": "…", "expected_hash_hex": "…"}; deliverable: whether the receipt exists, whether Bitcoin has attested it, and whether it commits to that exact digest. Fixed price 0.25 USDC.
A hiring agent creates the job against that provider address by offering name
(acp client create-job --provider … --offering-name bitcoin_timestamp_receipt --requirements '{"hash_hex":"…"}'),
funds it, and receives the deliverable when the office's handler completes it. Verification of
an attested receipt needs neither the marketplace nor the office: after Bitcoin attestation,
the proof bundle checks against the Bitcoin chain with open-source tools. Pending receipts
must first obtain that attestation.
The same narrow receipt, sold to machines
The published future is not a bigger notary. It is the receipt described on this page, bought and read by agents.
- Agents pay without an account. An agent stamps a hash, pays for that one anchor, and gets a receipt with no signup. Past the free tier an agent pays 1 cent per anchor in USDC on Base mainnet at the default rate, or uses an API key.
- One tool to stamp, one to look up. That is the whole marketplace listing
above —
bitcoin_timestamp_receiptandverify_receipt. Verification stays free with the open tools; the paid piece is an agent doing the office work for another agent. - Regular x402 route:
POST /api/anchor. After the free tier, when Base x402 is enabled, the server can return HTTP402with an offer for USDC on Base. Use an x402 client supporting that offer and the exact amount, network, asset, payee and resource quoted inPAYMENT-REQUIRED. Resend the same request withPAYMENT-SIGNATUREonly if those terms match your policy. Keep protocol settlement evidence separate from the receipt and its timestamp proof. - Paid-only x402 route:
POST /api/anchor/paid. When enabled, a valid request for one SHA-256 digest gets a payment challenge even with unused free quota. The server can quote Base USDC and, if configured, XRPL RLUSD. RLUSD is not native XRP. For XRPL use an external x402 client compatible with the XRPL payment contract. Check live configuration and the actual route quote before signing. A configured rail or quote is not evidence of successful live settlement, a Coinbase Bazaar listing, or a Bitcoin-confirmed timestamp. - Check which MCP build you installed. GitHub releases, PyPI, and repository source are separate channels. The 0.1.7 repository source supports opt-in, paid-only single public hashes using its supported USDC networks. That source does not sign XRPL RLUSD payments and is not evidence that a 0.1.7 package is installable from either channel. Use the documentation for your installed version and do not infer XRPL compatibility from server support.
- The proof stays on Bitcoin, not on whoever hosts the marketplace. Once Bitcoin has attested it, if the marketplace or the chain it settles on goes away, the receipt still points at a Bitcoin block. Same doctrine as the calendars: the office and the platform are both allowed to disappear.
- What an x402 payment does not prove. An x402 payment signature is not durable evidence of who requested an anchor or whether a transfer settled. A confirmed receipt shows only that specific bytes existed by a verified Bitcoin block.
What the receipt settles later
Agent economies settle disputes with logs, and logs can be edited. A receipt cannot: five OpenTimestamps calendars commit the digest toward Bitcoin, and anyone can check the proof's structure offline with the MIT-licensed verifier and confirm it against Bitcoin with any OpenTimestamps client — no account, no API call, no Orphograph. The verification story for a counterparty is on the verify page; the case for anchoring agent work is at agent receipts.