John McCoy John McCoy Full AI Starter Kit

Keyword: HARNESS

Harness² repo + setup guide

Everything you need to clone and run Google Research's self-improving agent harness.

Step 1: Run the free local demo (no API spend)

Requires Python 3.12 and uv. This runs locally with deterministic editors so you can see the Propose-Probe-Compose loop before spending tokens.

git clone https://github.com/google-research/harness2.git
cd harness2
uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install -e '.[render]'
harness2-demo --output runs/demo --k 2

Step 2: Run one real model-backed task

Needs Node.js 20+ and the Google Cloud CLI. Start with --max-tasks 1 first so you don't burn API credits on a full benchmark sweep.

cp .env.example .env
# add your Vertex AI project and model IDs in .env
gcloud auth application-default login
harness2-setup lab
harness2-check --bench lab
harness2 --bench lab --k 1 --mode parallel --only-domains antitrust-competition --max-tasks 1
harness2-judge --bench lab --k 1 --mode parallel
harness2-report --bench lab --k 1 --mode parallel

Executor note: The official release ships with OpenCode and Codex executors out of the box. Claude Code is not an official built-in executor yet, though you can apply the same self-improving prompt/memory loop manually in your CLAUDE.md.

Want the rest of my AI workflows?

One email a week with the exact setups, repos and prompts I use. Free.