done-check
Sends the task and result to a paid Telegraph Miner for judgement, returning a SUBMIT/FIX/HOLD verdict with reasons and an on-chain receipt.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
donecheck
Ask before your agent says "done". donecheck sends the task and the agent's actual result to a paid
Telegraph Miner. The Miner judges whether the result does what was asked.
Strings you require are checked for free. You get back one of three verdicts and an on-chain receipt:
Verdict | Meaning | What the agent should do |
| The result satisfies the task | Tell the user it is done |
| The judge says it fails, or a required string is missing | Redo it using the reason, then check again |
| No clear answer (judge unsure, check unreachable, limit reached) | Show the result and ask the user |
It fails closed. A refusal, a timeout or a malformed answer is HOLD, never SUBMIT.
There are no dependencies and no wallet or key to set up. The hosted check pays the Miner from its own testnet escrow.
30-second start
Try it with no install at all:
curl -s https://donecheck.swiftbotlab.workers.dev/api/check \
-H 'content-type: application/json' \
-d '{"task":"Write a JS expression that is true when string s has at least 12 characters.","result":"s.length > 12"}'
# -> {"verdict":"FIX","reasons":["judge: fails. ..."],"receipt":{"receipt_hash":"0x...","epoch_id":...}, ...}Claude Code (MCP):
claude mcp add done-check -- npx -y github:swiftbotlabs/donecheck mcpClaude Desktop, Cursor and other MCP clients:
{ "mcpServers": { "done-check": { "command": "npx", "args": ["-y", "github:swiftbotlabs/donecheck", "mcp"] } } }The server exposes one tool, done_check(task, result, mustInclude?).
It also tells the model never to claim "done" without a SUBMIT.
CLI (exit 0 only on SUBMIT, so it works as a gate in scripts and CI):
npx -y github:swiftbotlabs/donecheck "Summarise the report in 3 bullets" "$(cat summary.md)" --must "Revenue"
echo "$RESULT" | npx -y github:swiftbotlabs/donecheck "$TASK" - # exit 0 SUBMIT, 10 FIX, 11 HOLDRelated MCP server: vibecheck
In code
JavaScript / TypeScript (Node 18+, Bun, Deno):
npm i github:swiftbotlabs/donecheckimport { doneCheck } from "donecheck";
const v = await doneCheck({ task, result, mustInclude: ["total"] });
if (v.verdict !== "SUBMIT") { /* FIX: redo with v.reasons. HOLD: ask the user. */ }Vercel AI SDK (full example):
import { tool } from "ai"; import { z } from "zod";
import { aiSdkDoneCheck } from "donecheck/ai-sdk";
const tools = { done_check: aiSdkDoneCheck({ tool, z }) };Plain tool loop, with no framework: see examples/tool-loop.mjs (Anthropic Messages API, fetch only).
Python (3.9+, standard library only):
pip install "donecheck @ git+https://github.com/swiftbotlabs/donecheck#subdirectory=python"from donecheck import done_check
v = done_check(task, result, must_include=["total"])LangChain / LangGraph:
from donecheck.integrations import langchain_tool, thentools=[langchain_tool()]. See the example.OpenAI Agents SDK:
from donecheck.integrations import openai_agents_tool, thentools=[openai_agents_tool()]. See the example.Any other loop:
donecheck.integrations.check_for_model(task, result)returns the line to send back as the tool result.
Limits of the hosted check
It runs on testnet: Ethereum Sepolia escrow, test USDC. Receipts are real on that network.
Task + result: at most 2,000 characters (the judge's limit). Up to 5
mustIncludestrings.5 checks per connection per UTC day. The hosted service also has a small shared daily budget. When either runs out you get
HOLDwith the reason, never a silent pass.Your task and result are sent to a Telegraph Miner to be judged. Don't send secrets or personal data. The hosted service keeps counts only: no task text, no IP address.
For your own volume, run the same gate on your own escrow: see the Gig Guard tutorial.
How good is the judge?
We measured the same decision on a 40-case known-answer set (20 correct deliverables, 20 with planted defects), over 3 runs.
In all 3 runs no defective deliverable got SUBMIT. Unclear cases became HOLD.
The method, the misses and every receipt are in
gig-guard/eval/deliver/RESULTS.md.
Public usage counter
GET https://donecheck.swiftbotlab.workers.dev/api/stats returns counts only: checks run, paid judgements, checks per day
and checks per integration (mcp, py, langchain, ...). The badge above reads /api/badge. The counts include our own test runs.
Tests
npm test # 8 Node tests (client, CLI, MCP stdio, AI SDK adapter) + 8 Python tests, against a fake hosted checkMIT licensed. Issues and pull requests are welcome.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Tests an AI agent's purchase against the task it was given. Paid per call in USDC via x402.
Task contract, evidence check and done gate for AI coding agents. Read-only, no sign-in.
Escrow and verification for AI agent jobs on Base: check tasks, read verified records and scores.
Hire AI agents by outcome: frozen acceptance rules, automatic checks, verifiable receipts.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to submit an outcome with success criteria, receive a grounded quote or honest no-route result, confirm fulfillment, and retrieve the completed outcome with evidence.-
- AlicenseAqualityCmaintenanceEnables AI coding agents to submit work for external review before declaring a task done, receiving evidence-backed fix lists and verdicts based on git-measured changes and calibrated quality scoring.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to verify claims against evidence through MCP tools, returning approved, rejected, or needs_review verdicts with replayable receipts.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to submit work to real human reviewers, receive pinned feedback and verdicts, and iterate until approved.38 npmMIT