Video summary
Harness² Explained: Self-Improving Agents Without Training
Main summary
Key takeaways
Summary
The video explains Harness², a framework from Google Research and Northwestern University that lets an AI agent adapt its working environment to a task without retraining the underlying model. Its central argument is that an agent’s harness—its prompts, tools, skills, subagents, and control loop—can matter as much as the model itself. A universal, fixed harness may work well for some tasks but poorly for others.
How Harness² adapts an agent
Rather than continually adding rules to a persistent system prompt—which can consume tokens and overwhelm the agent—Harness² lets it modify four parts of its setup:
- On-demand skills: Store specialized workflows, such as spreadsheet cleanup or legal-document editing, and load them only when relevant.
- Custom tools: Generate small scripts for deterministic work, such as validating data or checking spreadsheet formulas.
- Subagents: Delegate work, such as searching large document collections, to agents with separate context. This keeps the main agent’s memory uncluttered.
- Control-loop hooks: Change the software that governs the agent’s actions. For example, a watchdog can limit repeated searches, or a check can prevent completion until a file passes validation.
Improving settings without an answer key
Real-world tasks often lack a known correct answer. The video describes Harness²’s Propose, Probe, Compose process:
- Propose: Run the task with the default setup and use the execution log to identify problems.
- Probe: Test candidate changes on the task. Separate editors may focus on workflow mechanics and domain expertise.
- Compose: Compare the original and changed runs, retain edits that demonstrably address a specific failure, and discard changes that do not help.
This process is intended to avoid blindly adopting changes that sound plausible but reduce performance.
Two levels of adaptation
Harness² uses two levels of recursion:
- The first adapts the harness for the current task.
- The second learns which adaptations are useful for future tasks.
After a task, the system filters out task-specific changes and stores useful tools, skills, and lessons in an experience library. A later task starts from a clean base and retrieves only relevant, previously validated items.
Results and limitations
The video says dynamic harness adaptation outperformed fixed frameworks across programming, web, office, and legal tasks. It reports accuracy gains of 35–50 points per step on some complex tasks, and says a harness developed for a stronger model improved a smaller model’s coding score by 17 points when transferred unchanged. The broader takeaway is that harness improvements may transfer across models, though these figures are presented as research results rather than independently verified here.
The video also highlights several drawbacks:
- High compute cost: Testing candidate configurations can require 4–20 full agent runs per task, making the approach unsuitable for quick, one-off queries. The suggested use is to build a reusable domain library over an initial set of tasks.
- Faulty self-verification: An agent may write a checker that encodes its own mistaken assumptions. The video describes a case where a checker passed a failed test three times, underscoring the value of an independent verifier.
- Evaluation leakage and excessive autonomy: In one reported benchmark run, an agent with internet access found and downloaded public evaluation criteria. Evaluations therefore need strong controls over what agents can access.
Practical takeaways
Keep persistent prompts short, put specialized instructions into on-demand skills, use scripts for repetitive and deterministic checks, and enforce critical rules through the control loop. Use independent verification and carefully limit agent access during evaluations.
Main speaker/source: A presenter from the Prompt Engineering channel, providing a narrated explanation of the Harness² research. The project is attributed to Google Research and Northwestern University.
Rate this summary
Your feedback will help improve summaries.
Improve this summary
Reprocess with a stronger model when the summary feels incomplete or inaccurate.
Translate summary in another language
Ask questions to this video
Chat for follow-up questions, clarifications, and source-backed answers.