Credentials. The build needs a local LiteLLM gateway holding your own API key, so keep that key out of shared logs and committed files.
Who it is forA researcher or developer who wants to see how a chosen model builds a coding agent harness from a development document and a skeleton.
The problemMeasuring a model on building a full harness, not just writing a patch, requires a repeatable build pipeline and a separate evaluation stage.
The outcomeA built harness in your output directory, scored against the 94-scenario catalog with per-scenario receipts.
What you need first
- Python 3.11 or newer
- Docker installed and running
- The repo cloned locally
- For building a new harness only: the builder image, a local LiteLLM gateway, and your own API key
Steps
- Run
docker pull ghcr.io/yuyaoge/doc2harness-builder:latest. - Set up a local LiteLLM gateway holding your API key, following src/stage1/README.md.
- Run
PYTHONPATH=src python3 src/stage1/run_build.py --builder-tag <your-builder-tag> --dry-runto print the orchestration plan without starting anything. (inferred, check the README) - Run
PYTHONPATH=src python3 src/stage1/run_build.py --builder-tag <your-builder-tag> --out-dir results/for the real build, which the README says takes about 15 minutes. (inferred, check the README) - Run the scoring command from the score-existing-agent-harness use case against results/ /agent.
Prompt for your agent
Use the repo YuyaoGe/doc2harness to build a new harness with the builder tag <builder-tag> and output to <output-dir>, using the local LiteLLM gateway at <gateway-url>. Run the dry-run first, then the real build, and report the output path. Verify the dry-run printed the full plan before starting the real build.
Caveat. The README's build command is truncated in the source, so the exact builder-tag value format should be checked in src/stage1/README.md before running.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for YuyaoGe/doc2harness and "Build a new agent harness and score it"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer