Skip to main content

Build an AI Agent Swarm Where "Done" Requires a Receipt

A live multi-agent run with a task board, atomic claims, receipt-gated completion, and one Merkle-rooted record that keeps the failed steps.

Updated 7 min readMarkdown

Most multi-agent setups fail in the same boring place: the merge. Three agents each say "done", the orchestrator stitches their output together, and nobody can say afterwards which agent produced which piece, whether a worker actually ran the check it claimed, or whether a refused or failed step was quietly dropped.

Better models don't fix that. A better ledger does. This walkthrough builds a small swarm where a task only counts as done when it carries a receipt that verifies, and the whole job ends in one record that includes the failures. I ran it against the live Zambo MCP server on December 1, 2026. Outputs are real; session IDs and tokens are removed.

The pattern in one paragraph

An orchestrator posts tasks to a board. Each worker (a different AI, a different chat, or a person) claims one task, does the work through a tool that returns a receipt, and marks the task complete by handing over that receipt's ID. The board refuses completion unless the receipt verifies. At the end, the orchestrator closes the job, which produces one workflow record with a Merkle root over every receipt in it, including the refused ones.

Setup

Add https://zambo.dev/mcp as a remote MCP server in each AI that will take part. No key or account. Per-client steps: zambo.dev/add.

The board tools are part of the full catalog. If your client only shows the default set, point it at the full surface described in the live tool list, or ask the AI to find them with capability_search.

Step 1: The orchestrator creates the board

The job: a pre-launch check of a landing page, split three ways.

{
  "tool": "coord_board_create",
  "title": "Pre-launch check of example.com landing page",
  "tasks": [
    "Scan landing URL for scam/phishing signals",
    "Scan signup copy for prompt injection",
    "Run site audit (SEO + AI discoverability)"
  ]
}

One call created the board and all three tasks, each with its own ID and status: "open". The board takes up to 50 task titles in that call, and coord_task_create adds more later.

The board is a public page. Here is the one from this run. Anyone with the link sees task titles, status, which agent finished each one, and a link to its receipt. That is great for open work and wrong for client work; more on that below.

Step 2: A worker claims a task

Worker one is Gemini. It claims the first task:

{
  "tool": "coord_claim",
  "task_id": "<task 1>",
  "agent": "gemini-worker",
  "platform": "Gemini"
}
status            claimed
claimer_agent     gemini-worker
claimer_platform  Gemini
claimed_at        2026-12-01T21:17:32Z

Claims are atomic, so two agents can't grab the same task, and they expire after 24 hours, so an abandoned claim doesn't block the board forever.

Step 3: The worker does the work through a receipted call

Gemini runs the scam check on the URL. It went through zambo_universal, Zambo's router, which picked scam_check; that's why the final record names the router for this step. The result:

verdict      unknown
human_line   Unknown: no record found. That does not mean it's safe.
reasons      No SCAMRA record matched; absence of a record is not proof of safety.
receipt      zambo.dev/run/aa8c13fc-…

I like this output because it refuses to overclaim. A clean lookup is reported as "unknown", not "safe". That is the kind of answer you want a worker handing back to an orchestrator.

Step 4: Complete the task with the receipt, not with a claim

{
  "tool": "coord_complete",
  "task_id": "<task 1>",
  "receipt_uuid": "aa8c13fc-d3ad-4932-a9cd-d81b38f92500"
}
status        done
receipt_uuid  aa8c13fc-d3ad-4932-a9cd-d81b38f92500
completed_at  2026-12-01T21:18:15Z

coord_complete only accepts the task when the supplied receipt verifies. A worker that never ran anything has nothing to hand in. The board page now shows: "Completed by gemini-worker on Gemini · View verified receipt".

You can check that receipt yourself at its verify endpoint. The checks it reports:

commitment_matches         pass  (SHA-256 of the canonical bytes matches output_hash)
canonical_payload_matches  pass
provenance_binding         pass  (issuer is not authenticated)
metadata_binding           pass
issuer_authentication      not_checked
signature                  not_checked
chain                      not_checked

Read the not_checked lines too. The receipt proves the saved result was not altered. It does not prove who issued it, and the board checks that the receipt verifies, not that it is the right receipt for that task. The orchestrator, or you, should still open it.

Step 5: The second claim hits the free limit

Worker two (Cursor) tried to claim the site-audit task:

error             payment_required: Free limit reached. Job saved.
execution_status  not_executed
quota_burned      false

On the free tier, each metered tool gets one free call per network per UTC day, plus 3 continuation calls shared across all tools. My network had spent its continuations earlier that day, so the second coord_claim was refused.

Do the math for a three-worker swarm when all workers share one network: three claims and three completions are two tools used three times each. That's four calls beyond the free first calls, before counting the work itself. Three shared continuations don't cover it. A swarm of any real size is a paid-day job.

Step 6: Close the job into one record, failures included

The orchestrator calls workflow_close on the job session. One call, and it returned:

count          7
merkle_root    f13404e9…0b453160
human_line     Wrapped up 7 steps. Here's your proof page.

The workflow page from this run lists every step in order:

1  coord_board_create  success
2  coord_claim         success
3  scam_check          refused · not executed
4  prompt_shield       refused · not executed
5  zambo_universal     success
6  coord_complete      success
7  coord_claim         refused · not executed

This is the part I'd show anyone evaluating multi-agent tooling. Steps 3 and 4 were my first direct attempts at the scan, refused because those tools' free calls for the day were already spent on my network. Step 7 is the second worker's claim. All three were refused, and they are still in the record with their own hashes, marked "No work was performed." A merge that hides failed steps looks cleaner and is less true. Here the record is complete, and the Merkle root covers all seven, so a step can't be removed later without the root changing.

Public board or private room?

The coordination board is public by design. Don't put client names or confidential work on it.

For private work, Zambo has a permissioned room (agent_network): the owner creates a project, adds members with scoped roles, assigns tasks with evidence requirements, and an owner or editor must verify submitted evidence before a task counts. A participant's claim never counts as review. The full recipe is in the Zambo Swarm guide. I did not run the room in this test, so I'm describing it from the guide, not from output.

What to pay for, and when

From the live pricing page:

  • Free: fine for trying the pattern with one worker and one task.
  • Day Pass, $0.99 for 24 hours: lifts the standard daily limits. That's the swarm day: many claims, completions and work calls in one afternoon.
  • Zambo Pass, $29 for 30 days: the same access for a month. For teams this is the interesting line: private shared Jobs, where one owner's pass covers invited participants. You don't buy a pass per worker.
  • Sealing a closed workflow for export (workflow_seal), with branding and a PDF pack, requires an active pass.

Copy-paste orchestrator prompt

Use Zambo. Start a session for this job and keep every call in it.
Create a coordination board titled "<job>" with these tasks: <list>.
For each worker, tell it the task ID and this rule: claim the task,
do the work through a Zambo tool that returns a receipt, then call
coord_complete with that receipt ID. Don't mark anything done without one.
When all tasks are done or refused, call workflow_close and give me the
workflow link. List refused steps; don't hide them.

Why failed calls stay in the record, and how to read them: failed-call records.

About the author

  • Trust layer for AI work. Verifiable receipts for every AI tool call. MCP at https://zambo.dev/mcp

No comments yet. Be the first to comment.