Credentials. Model-backed runs use your Vertex AI project and incur API costs; start with a small task selection.
Who it is forAn agent researcher who wants to see whether recursive harnessing helps Codex on office work.
The problemHand-tuning prompts, tools and memory for an agent on unseen tasks is slow and unprincipled.
The outcomeA refined harness and evaluation results for office tasks, saved under runs/ with adopted harnesses and lessons.
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
- Install with
uv venv --python 3.12 .venvanduv pip install -e '.[render]' - Set up the benchmark with
harness2-setup wb(WorkBuddy needs Docker) - Preview the task selection with --dry-run before spending on model calls
- Run Harness2 with --bench wb, --subset office, --k 1 and --substrate cx to use Codex
- Read the task summaries, adopted harnesses and evaluation results under runs/
Prompt for your agent
Using google-research/harness2, set up WorkBuddy-Bench, dry-run a small office subset selection, then run one Propose-Probe-Compose step with the Codex executor and summarize what the adopted harness changed.
Caveat. Executor network access is unrestricted and Codex runs with its sandbox disabled, so configure network restrictions before evaluating.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for google-research/harness2 and "Refine a Codex-based agent harness on office 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