AI product Open source

Harness²

Harness² is an open-source framework for recursively optimizing the system around an AI model while keeping the model weights fixed. At the task level, it uses a contrastive Propose–Probe–Compose process: it proposes edits to an execution harness, probes their effects on the same task, and composes a refined harness from behavioral differences between executions without ground-truth feedback. A second recursion level maintains an improvement harness containing adopted harnesses and evidence-supported lessons for future tasks. Its editable components include system prompts, guardrails, memory, tool guidance, subagents, skills, scripts, and plugins. The repository supports parallel and sequential recursion, OpenCode and Codex executors, and benchmarks including JobBench, LAB, and WorkBuddy-Bench. It runs locally with Linux, Python 3.12, and uv, and is licensed under Apache 2.0; the repository states that it is not an officially supported Google product.

View repository Mentioned in 1 video ↓

What Harness² is used for

1 use taken from transcripts — each links to the moment in the video.

  • A Google Research project that improves the setup around an AI agent while keeping the model's weights fixed. It proposes changes to prompts, memory, or tool guidance, tries them on the current task, and combines useful changes by comparing run behavior, carrying lessons forward to later tasks.

Videos mentioning Harness²

1 in the library.