← Latest papers
💬 NLP

VeRO: An Evaluation Harness for Agents to Optimize Agents

The paper introduces VeRO, a comprehensive evaluation harness and benchmark suite designed to systematically assess and improve coding agents through iterative agent optimization cycles, addressing the unique challenges of evaluating systems that combine deterministic code with stochastic LLM completions.

Original authors: Varun Ursekar, Apaar Shanker, Veronica Chatrath, Yuan, Xue, Sam Denton

Published 2026-02-27
📖 5 min read🧠 Deep dive

Original authors: Varun Ursekar, Apaar Shanker, Veronica Chatrath, Yuan, Xue, Sam Denton

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very smart, but slightly clumsy, robot assistant. This robot can read emails, write code, and search the web, but sometimes it gets confused, makes typos, or forgets to check its work.

In the past, if you wanted to make this robot better, you (a human) would have to sit down, watch it fail, guess what went wrong, rewrite its instructions, and try again. It was slow, expensive, and required a lot of human effort.

The Problem:
The authors of this paper asked: "What if we could build a second robot whose only job is to fix the first robot?"

This second robot (the "Optimizer") would watch the first robot (the "Target Agent") fail, write new code to fix the mistakes, test the fix, and repeat the process automatically. This is called Agent Optimization.

The Challenge:
Building a robot to fix another robot is surprisingly hard. It's like trying to tune a radio while someone else is constantly changing the station, the volume, and the weather outside.

  1. It's messy: The robot's brain (the AI) is unpredictable. Sometimes it works, sometimes it doesn't, even with the same instructions.
  2. It's expensive: Every time you test a fix, it costs money and time.
  3. It's hard to track: If the fixing robot changes the code 50 times, how do you know which change actually helped? Did it help because of the new code, or just because the sun was shining?

The Solution: VERO (The "Robot Gym")
The team at Scale AI built a new system called VERO (Versioning, Rewards, and Observations). Think of VERO as a high-tech gym for robots.

Here is how VERO works, using simple analogies:

1. The "Time-Travel Camera" (Versioning)

In a normal gym, if you try a new exercise and fail, you might forget exactly what you did wrong.
In the VERO gym, every single change the fixing robot makes is saved like a Git commit (a snapshot in time).

  • Analogy: Imagine a video game with an "Undo" button. If the fixing robot tries a new strategy and the target robot crashes, VERO instantly rewinds time to the last good version. This ensures we never lose progress and can always see exactly what changed.

2. The "Strict Referee" (Budget & Rules)

In a real-world scenario, a fixing robot might cheat by using a super-powerful (and expensive) brain just to pass a test, which isn't a fair fix.

  • Analogy: VERO acts like a strict referee in a boxing match. It sets a budget (like a timer or a limit on how many punches you can throw). It also locks the doors so the fixing robot can't peek at the "answer key" (the test data) or change the rules of the game. This ensures the improvements are real, not just lucky guesses.

3. The "Scoreboard" (Structured Feedback)

Usually, when a robot fails, it just says "Error." That's not helpful for a fixer.

  • Analogy: VERO gives the fixing robot a detailed scorecard. Instead of just "Fail," it says: "You failed because you forgot to check the weather before sending the email. Here is the exact log of what happened." This helps the fixing robot learn why it failed, not just that it failed.

What Did They Discover? (The Results)

The team used VERO to run experiments with different types of fixing robots. Here are the big takeaways, translated into plain English:

  • Simple Robots Get Bigger Boosts: If you start with a very basic, simple robot, the fixing robot can make huge improvements (like adding new tools or skills). But if you start with a super-sophisticated robot, there's less room to improve. It's like tuning a cheap car vs. tuning a Ferrari; the cheap car has more "low-hanging fruit" to fix.
  • Instructions Matter: How you tell the fixing robot to do its job changes everything.
    • If you give the fixer a cookbook (a list of strict rules and patterns), it works great on simple robots.
    • But if the robot is already smart, too many rules actually stifle it. The smart robot needs "creative freedom" to invent its own solutions.
  • The "Prompt" Trap: Most fixing robots are lazy. They prefer to just tweak the text instructions (prompts) rather than rewriting the actual code structure. It's like trying to fix a broken engine by painting the hood red. It looks nice, but the engine is still broken. The paper shows we need to teach these robots to be more willing to do the heavy lifting of rewriting code.
  • Specialization: A fix that makes a robot great at math might make it terrible at shopping. There is no "one size fits all" fix.

Why Does This Matter?

Right now, building AI agents is like building a house by hand, brick by brick, with a human architect. It's slow.

VERO is the first step toward automated construction. It proves that we can build AI systems that can not only do tasks but also write their own code to get better at those tasks.

The Big Picture:
This paper isn't just about making robots smarter today; it's about building the machine that builds the future machines. By creating a fair, safe, and reproducible way to test these "fixer robots," the authors are giving the whole AI community a playground to figure out how to make our digital assistants truly self-improving.

In short: They built a safe sandbox where robots can practice fixing other robots, and they found that while it's possible, we need to be careful about how we guide them so they don't just tweak the surface but actually fix the engine.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →