How They Use AI  |  Newest

<< Home  |  Work

+40.7% performance lift on agent benchmark

AreaWork
AI usedClaude Code
Sourcer/AI_Agents
Posted2026-05-12

The move

Automate the iterative testing of your agent's configuration and prompts by using an AI to run evaluations and keep only the improvements.

Steps

  1. Define a clear evaluation metric or benchmark for your agent's performance.
  2. Create a script that allows an AI to modify your agent's prompts, hyperparameters, and context.
  3. Configure the AI to run your evaluation script after every modification.
  4. Set the system to automatically save changes only if the evaluation score improves.

Prompt for your AI

Act as an optimization agent. Your goal is to improve the performance of my [agent name] on the [benchmark name]. Iteratively modify the [prompts/hyperparameters/context], run the evaluation script [path to script], and keep the changes only if the score increases by at least [percentage]%.

What happened

The user built a tool called Autoharness to optimize their AI agent's performance. They tasked Claude Code with exploring changes to prompts, hyperparameters, and runtime context. The system autonomously ran evaluations and kept only the modifications that increased the agent's score. This process resulted in a 40.7% performance lift on the tau2-airline benchmark.

Watch out

Automated testing can consume significant API credits if not capped. Ensure your evaluation script is robust enough to handle frequent, potentially broken, configuration changes.

Give it to your agent

Read https://howtheyuse.ai/p/40-7-performance-lift-on-agent-benchmark.md and help me do this.

Sources



Last updated November 26, 2026.