Who it is forAn AI agent researcher who needs to choose a recursion strategy for coding-style office tasks and wants a fair side-by-side comparison.
The problemParallel and sequential recursion trade breadth for depth, and the right choice depends on the benchmark and budget.
The outcomeSeparate judged and reported runs for each recursion mode on the WorkBuddy code subset, using a distinct runs directory for each.
What you need first
- Linux, Python 3.12, and uv
- For the local demo: nothing else, since it needs no model credentials
- For model-backed runs: Node.js 20+, the Google Cloud CLI, a Vertex AI project with model IDs, and API budget
- For LAB: Pandoc and Poppler. For WorkBuddy-Bench: Docker
Steps
- Set up the environment with
uv venv --python 3.12 .venv,source .venv/bin/activate, anduv pip install -e '.[render]', then runharness2-setup wb(Docker must be installed) - Check the install with
harness2-check --bench wb(inferred, check the README) - Run
harness2 --bench wb --subset code --k 2 --mode parallelwith HARNESS2_RUNS_DIR set to a new folder for this mode (inferred, check the README) - Run
harness2 --bench wb --subset code --k 2 --mode sequentialwith a different HARNESS2_RUNS_DIR (inferred, check the README) - Judge and report each mode with
harness2-judge --bench wb --subset code --k 2 --mode <mode>andharness2-report --bench wb --subset code --k 2 --mode <mode>(inferred, check the README) - Compare the two reports, keeping the same benchmark, subset, k, and seed for both
Prompt for your agent
In the google-research/harness2 repo, install WorkBuddy-Bench with harness2-setup wb, then run the code subset in parallel and sequential mode with --k 2, using a separate HARNESS2_RUNS_DIR for each. Report the judged score for each mode and which one scored higher. Verify that both runs used the same subset, k, and seed.
Caveat. The README says the executor has unrestricted network access and Codex runs with its sandbox disabled, so configure the network restrictions in the experiment guide before evaluation.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for google-research/harness2 and "Compare recursion budgets on WorkBuddy-Bench code tasks"
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