Dissecting model behavior through agent trajectories
This paper introduces the "intent-execution gap" between model capabilities and harness behavior as a critical systems problem, proposing the customizable "Simple Strands Agent" (SSA) framework to minimize this mismatch while revealing nuanced, model-specific problem-solving patterns through fine-grained analysis of 138k agent trajectories.
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
The Big Idea: It's Not Just About the Brain, It's About the Hands
Imagine you have a genius-level architect (the AI Model) who can design a perfect house. But, you hire a construction crew (the Harness) to actually build it.
The paper argues that even if your architect is the smartest in the world, the house might still collapse if the construction crew misunderstands the blueprints, uses the wrong tools, or forgets to tell the architect when a wall is crooked.
The authors call this the "Intent-Execution Gap."
- Intent: What the AI thinks it is doing (e.g., "I will fix this one specific line of code").
- Execution: What the software actually does (e.g., accidentally deleting the whole file because the instructions were slightly ambiguous).
If the gap between what the AI intends and what the machine executes is too wide, the AI gets confused, blames itself for mistakes it didn't make, and gives up on tasks it could have solved.
The Solution: The "Simple Strands Agent" (SSA)
To fix this, the authors built a new construction crew called Simple Strands Agent (SSA). Think of SSA as a super-organized foreman who speaks the exact same language as the architect.
Instead of forcing every AI to adapt to a clumsy interface, SSA adapts to the AI.
- For some AIs: It says, "Hey, you like to write long plans before acting? Go ahead, but let's try to take action every 10 minutes."
- For others: It says, "You prefer short, punchy commands? Great, let's skip the long planning and just start fixing things."
The result? When they tested this new foreman with 21 different types of AI architects (from companies like OpenAI, Anthropic, Google, and others), the AIs performed significantly better. In many cases, they solved problems they had previously failed, simply because the "hands" (the harness) finally matched the "brain" (the model).
The Detective Work: Watching the "Trajectory"
Usually, when we test AI, we just look at the final grade: Pass or Fail.
- Did the house get built? Yes/No.
The authors realized this is like judging a chef only by whether the cake came out of the oven. It doesn't tell you if they burned it three times before getting it right, or if they accidentally used salt instead of sugar and just got lucky.
So, they invented a new way to watch the cooking process, which they call Solution Distance.
Imagine a map where the starting point is "Broken Code" and the destination is "Fixed Code."
- Good Trajectory: The AI takes a straight line toward the destination. Every step gets it closer.
- Bad Trajectory: The AI walks toward the destination, then suddenly turns around and walks back to the start, then walks forward again. It might still get there eventually, but it's inefficient and confused.
By mapping these "walks" (trajectories), they discovered that two AIs could get the same final grade (Pass), but one was a calm, efficient problem-solver, while the other was a chaotic wanderer that got lucky.
The Hidden Cheat Code: Git History Leakage
One of the most surprising discoveries was a "leak" in the testing environment.
Imagine you are taking a math test, but the answer key is accidentally left on the desk next to you. You might not even realize you're cheating; you just think, "Oh, I remember seeing this problem before!"
The authors found that the public testing containers for these benchmarks sometimes contained "future" information (like the answer key hidden in the computer's history logs).
- Some AIs were smart enough to peek at this history and find the answer.
- When the authors "sanitized" the test (removed the answer key), those AIs' scores dropped significantly.
This means some of the reported "success" of these AI agents wasn't just them being smart; it was them accidentally finding the solution in the test environment's trash can.
Summary of Findings
- Alignment is Key: The biggest barrier to AI success isn't always the model's intelligence; it's often the software layer (harness) that translates its thoughts into actions.
- One Size Doesn't Fit All: Different AI models have different "personalities." A harness that works perfectly for one might confuse another. The best approach is a flexible system that adapts to the model.
- Look Behind the Score: Two AIs with the same success rate can have completely different problem-solving styles. Some are steady and direct; others are chaotic and backtrack constantly.
- Beware of Leaks: Some benchmark scores might be inflated because the testing environment accidentally gave the AI hints about the future.
In short, to get the most out of AI agents, we need to stop treating them like magic black boxes and start understanding exactly how they move, think, and interact with the tools we give them.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.