Google Harness²: Open-Source Framework for Recursive AI Agent Management
Google releases Harness², an open-source framework enabling AI agents to recursively improve workflows and adapt to new tasks without model retraining.
Google has released Harness² in open access, a framework for recursive management of AI agents in an open environment. The system allows agents to perform tasks for which they were not originally designed, and to independently optimize their workflow by learning from acquired experience. This is important for creating autonomous systems that adapt to new conditions without the need to retrain the model itself.
Two Levels of Recursion for Agent Adaptation
Harness² operates on the principle of recursive improvement of the system around the model (the so-called "harness"), while the model's weights remain unchanged. The process is divided into two levels:
- Task Level: uses the "Propose–Probe–Compose" cycle. The system proposes edits, verifies their impact on a specific task, and creates a refined version of the harness based on behavioral contrasts, without requiring external feedback.
- Harness Level: updates the persistent "improvement harness," to which successful solutions and lessons from previous tasks are added for future use.
System Architecture and Control Components
The framework provides eight components that can be edited to control context, tool interfaces, and work delegation. These include the system prompt, guardrails, memory, tool usage instructions, subagents, skills, scripts, and plugins.
Testing Results on Professional Benchmarks
Harness²'s effectiveness was tested on three benchmarks using the GLM-5 and Gemini 3.5 Flash models. A single recursion step allowed improving results by 11.5 points on WorkBuddy-Bench, by 4.5 points on JobBench, and by 11.8 percentage points on LAB (partial number of passed tests). Further increasing the recursion budget at the task level leads to additional metric growth.
Launch and Installation from GitHub
The system requires Linux, Python 3.12, and the uv package manager. Basic installation and demo launch are performed with the following commands:
uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install -e '.[render]'
harness2-demo --output runs/demo --k 2To run full-scale tests using models via API, you need to install Node.js 20+, Google Cloud CLI, and configure the .env file. The framework supports parallel and sequential recursion, as well as OpenCode and Codex executors. This allows flexibly configuring the harness refinement depth, as implemented in code working tools.
Sources
Related news
Google AIGoogle introduces Dream-RSI for recursive AI self-improvementResearchers from Google and DeepMind developed Dream-RSI, a system that improves AI exploration strategies by replaying historical discovery trees as simulators.·mentions Google
- Nous Research open-sources GEPA engine for self-evolving AI agent promptsHermes Agent Self-Evolution lets agents rewrite their own prompts via reflective evolutionary search — 35× less data than RL, 20% better results, no GPU needed.·same source: github.com
- AI AutomationGoogle Open-Sources ARTEMIS: AI Control for Android Phones Hits 99% BenchmarkGoogle released ARTEMIS, an open-source tool that turns natural-language instructions into Android automation with 99%+ success on AndroidWorld. It integrates via MCP with Claude Code, Codex, and othe·by shared tag
- Web DevelopmentGoogle Launches Modern Web Guidance Skills for AI Coding AgentsGoogle releases a verified skill set that stops AI agents from generating outdated web patterns and deprecated APIs, with installers for Claude Code, Cursor, Copilot CLI, Antigravity, and Vercel's ski·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.