Who it is forDeveloper who already uses Codex as a coding agent and wants harness improvements tuned to that executor
The problemHarness edits that help one executor may not carry over to another, and you have no way to check without a controlled run.
The outcomeA refinement run on Codex whose results are stored separately so you can compare it against an OpenCode run.
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
- Read the Codex executor section in docs/SETUP.md and finish its prerequisites.
- Install a benchmark: harness2-setup jb
- Run with Codex: Harness2 --bench jb --k 1 --mode parallel --substrate cx --max-tasks 1
- Use a fresh HARNESS2_RUNS_DIR when changing models or task selection.
- Judge and report with matching flags: harness2-judge --bench jb --k 1 --mode parallel --substrate cx
Prompt for your agent
In google-research/harness2, run one JobBench task with --substrate cx and --k 1 --mode parallel, then judge it with matching flags. Verify the run completes under its own runs directory and that network restrictions are configured first.
Caveat. Codex runs with its sandbox disabled and executors get open web access, so run it only in an isolated environment, and confirm whether judge and report also need the substrate flag in the experiment guide.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for google-research/harness2 and "Run harness refinement with the Codex executor"
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