{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "google-research-harness2--refine-a-codex-harness-on-office-tasks",
 "repo": "google-research/harness2",
 "repo_url": "https://github.com/google-research/harness2",
 "repo_slug": "google-research-harness2",
 "title": "Refine a Codex-based agent harness on office tasks",
 "page_title": "How to refine a Codex-based agent harness on office tasks with Harness2",
 "summary": "Run Harness2 with the Codex executor on the WorkBuddy-Bench office subset to improve the harness around the model.",
 "who": "An agent researcher who wants to see whether recursive harnessing helps Codex on office work.",
 "problem": "Hand-tuning prompts, tools and memory for an agent on unseen tasks is slow and unprincipled.",
 "outcome": "A refined harness and evaluation results for office tasks, saved under runs/ with adopted harnesses and lessons.",
 "steps": [
  "Install with `uv venv --python 3.12 .venv` and `uv 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/"
 ],
 "agent_prompt": "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.",
 "agents": [
  "codex"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "Executor network access is unrestricted and Codex runs with its sandbox disabled, so configure network restrictions before evaluating.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Model-backed runs use your Vertex AI project and incur API costs; start with a small task selection."
  }
 ],
 "best": false,
 "score": 0.75,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/google-research-harness2/refine-a-codex-harness-on-office-tasks/",
 "md": "https://dedupedai.com/use-cases/google-research-harness2/refine-a-codex-harness-on-office-tasks/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/google-research-harness2--refine-a-codex-harness-on-office-tasks.json",
 "api_version": "v1"
}
