DEDUPED We read 1,000+ AI sources. You read one email. Subscribe free

AI USE CASES

How to boost an office, web or coding agent on WorkBuddy tasks with harness2

Refine an agent's harness on one WorkBuddy-Bench subset to see if office, web or code results improve.

Seen in the wild

Evidence: X, Oct 2026

Similar to what people reported. The steps and prompt below are AI written, not copied from those posts.

Authorization notice. harness2 is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forBuilder of an internal assistant that edits documents, browses, or writes code and wants a measurable harness upgrade

The problemHand-tuning prompts for office, web and code tasks is guesswork with no consistent score to compare against.

The outcomeA judged WorkBuddy run for one subset showing whether a Propose-Probe-Compose step beat the base harness.

What you need first

  • Linux, Python 3.12 and uv for installation
  • No credentials needed for the local demo (harness2-demo)
  • Model-backed runs need Node.js 20+, the Google Cloud CLI, a Vertex AI project and model IDs in .env, and gcloud application-default login
  • LAB needs Pandoc and Poppler; WorkBuddy-Bench needs Docker
  • Model-backed benchmark runs incur API costs

Steps

  1. Install the benchmark (needs Docker): harness2-setup wb
  2. Check prerequisites: harness2-check --bench wb --subset office
  3. Refine one task (inferred, adapting the LAB example to WorkBuddy): harness2 --bench wb --subset office --k 1 --mode parallel --max-tasks 1
  4. Judge and report with matching flags: harness2-judge --bench wb --subset office --k 1 --mode parallel
  5. Read the report: harness2-report --bench wb --subset office --k 1 --mode parallel

Prompt for your agent

In google-research/harness2, set up WorkBuddy-Bench with harness2-setup wb and run one task from --subset office with --k 1 --mode parallel, then judge and report with identical flags. Verify Docker is running first and that the subset flag is passed on every command after setup.

Caveat. WorkBuddy-Bench needs Docker and the --subset flag on every command after setup, and the README guide for WorkBuddy should be checked for the exact task-selection flags before running.

About harness2

A framework that lets an AI agent keep improving its own setup (prompts, tools, memory, skills) while the model itself stays unchanged. Part of this week's top 10 repos: ranked #2 on Repo Radar. View google-research/harness2 on GitHub.

More with harness2

See all use cases for google-research/harness2

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 [email protected] and we will look at it promptly. Full disclaimer page