DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a new agent harness and score it with Doc2harness

Use the builder image and your own model key to generate a harness, then score it.

Short answer: Run docker pull ghcr.io/yuyaoge/doc2harness-builder:latest; then 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-run to print the orchestration plan without starting anything. All steps.

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

  1. Run docker pull ghcr.io/yuyaoge/doc2harness-builder:latest.
  2. Set up a local LiteLLM gateway holding your API key, following src/stage1/README.md.
  3. Run PYTHONPATH=src python3 src/stage1/run_build.py --builder-tag <your-builder-tag> --dry-run to print the orchestration plan without starting anything. (inferred, check the README)
  4. 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)
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer