Harness² is an open-source AI research framework developed by Google Research to improve autonomous agents through recursive optimization of their execution environments. Rather than modifying model weights, it refines the prompts, tools, memory, guardrails, and supporting components that determine agent behavior. Its task-level optimization follows a Propose–Probe–Compose process that tests alternative configurations and combines evidence from their performance. A second optimization level preserves effective configurations and lessons across successive tasks. The framework supports parallel exploration and sequential refinement without requiring ground-truth feedback. Researchers can experiment with OpenCode and Codex execution environments. It also integrates professional benchmarks for evaluating agent performance and studying improvements across different models and task categories.

Features

  • Recursive AI Agent Optimization
  • Propose–Probe–Compose Refinement
  • Configurable Prompts, Memory, and Guardrails
  • Parallel and Sequential Experimentation
  • OpenCode and Codex Executor Integration
  • Automated Agent Benchmark Evaluation

Project Samples

Project Activity

See All Activity >

Categories

AI Agents

License

Apache License V2.0

Follow Harness2

Harness2 Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Harness2!

Additional Project Details

Operating Systems

Linux

Programming Language

Python

Related Categories

Python AI Agents

Registered

1 day ago