Harness2 is a framework for recursive agent harnessing that optimizes the execution environment around a frozen model without modifying its weights.
It uses a contrastive process to iteratively refine agent components like prompts, tools, and guardrails to improve performance on open-world tasks.
- 01
Task-level Propose-Probe-Compose refinement
- 02
Persistent improvement harness for cross-task learning
- 03
Support for eight editable components including memory and tools
- 04
Parallel and sequential recursion modes
- 05
Built-in support for OpenCode and Codex executors
Open Source
Harness2 is free and open-source under the Apache 2.0 license. While the local demo is free and requires no credentials, production-style benchmark runs require API access to models via Vertex AI, which incurs standard usage costs.
适合
Researchers and agent engineers who want to automatically optimize system components like prompts, skills, and guardrails for coding agents across a stream of repeatable tasks.
不太适合
Developers seeking an out-of-the-box coding assistant or users with tasks involving irreversible side effects, strict security requirements, or limited budgets for model inference.
A powerful research-oriented framework that shifts the focus of agent improvement from fine-tuning model weights to systematically optimizing the surrounding harness, though it requires significant computational resources to run effectively.
The repository received an update on October 14, 2026, including documentation refinements. The project was officially released on October 8, 2026, demonstrating performance gains on JobBench, LAB, and WorkBuddy-Bench.
截至
Is Harness2 free?+
Yes - Harness2 is Open Source. Harness2 is free and open-source under the Apache 2.0 license. While the local demo is free and requires no credentials, production-style benchmark runs require API access to models via Vertex AI, which incurs standard usage costs.
Is Harness2 open source?+
Yes - Harness2 is open source. Harness2 is free and open-source under the Apache 2.0 license. While the local demo is free and requires no credentials, production-style benchmark runs require API access to models via Vertex AI, which incurs standard usage costs.
Who is Harness2 best for?+
Researchers and agent engineers who want to automatically optimize system components like prompts, skills, and guardrails for coding agents across a stream of repeatable tasks.
Who is Harness2 not ideal for?+
Developers seeking an out-of-the-box coding assistant or users with tasks involving irreversible side effects, strict security requirements, or limited budgets for model inference.
What are the best Harness2 alternatives?+
The closest Harness2 alternatives on ai.dosa.dev are Pieces for Developers, agenttrace, Vibe Kanban - all listed under Developer Productivity & Workflow.
Who makes Harness2?+
Harness2 is developed by Google Research. It is listed in the Developer Productivity & Workflow category on ai.dosa.dev.