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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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

2 days ago