← Latest papers
🤖 AI

AgentLens: Production-Assessed Trajectory Reviews for Coding Agent Evaluation

AgentLens introduces a production-assessed benchmark for coding agents that evaluates the entire interaction trajectory through a combination of formal verification and LLM-generated reviews, enabling detailed behavioral diagnosis and regression detection beyond simple pass/fail metrics.

Original authors: Andrey Podivilov, Vadim Lomshakov, Sergey Savin, Matvei Startsev, Roman Pozharskiy, Maksim Parshin, Sergey Nikolenko

Published 2026-07-09
📖 5 min read🧠 Deep dive

Original authors: Andrey Podivilov, Vadim Lomshakov, Sergey Savin, Matvei Startsev, Roman Pozharskiy, Maksim Parshin, Sergey Nikolenko

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 are hiring a new junior developer to work on your software project.

The Old Way (Traditional Benchmarks)
Most current tests for AI coding assistants are like a final exam where the only thing that matters is the grade on the final paper. Did the code compile? Did the test pass? Yes or No?

  • The Problem: This ignores the entire journey. Did the developer panic? Did they delete the wrong files by accident? Did they argue with you? Did they claim the job was done when it was actually broken? A "passing" grade might hide a developer who is unreliable, confusing, or dangerous to work with.

The New Way (AgentLens)
The authors of this paper, AgentLens, built a different kind of test. Instead of just grading the final paper, they film the entire workday and have a senior manager review the video tape. They call this a "trajectory review."

Here is how AgentLens works, broken down into simple concepts:

1. The "Full Movie" vs. The "Final Frame"

Think of a coding session like a movie.

  • Old Benchmarks only look at the last frame: Is the building standing?
  • AgentLens watches the whole movie: How did the agent handle the storm? Did they use the right tools? Did they recover when they dropped a brick? Did they talk to the user nicely?

They record every message, every tool click, every file edit, and every mistake the AI makes. They evaluate the entire story, not just the ending.

2. The "Simulated User"

To test the AI, they don't just give it a task; they give it a personality. They use another AI to act as the "user" in the conversation.

  • The Chill User: Just asks for help and waits.
  • The Helpful User: Gently corrects the AI if it makes a small mistake.
  • The "Toxic" User: Gets frustrated, is a bit rude, and challenges the AI.
  • Why? Because in the real world, developers aren't robots. They get tired, they get annoyed, and they make mistakes. AgentLens checks if the coding AI stays calm and helpful when the user is grumpy, or if it falls apart.

3. The "Two-Headed Judge"

How do you grade a movie? You can't just ask a human to watch 32 hours of video; they would get tired and make mistakes.

  • The Formal Check (The Robot): This part checks the hard facts. Did the code actually run? Did the file change? This is the "Did the building stand?" check.
  • The LLM Judge (The Critic): This is a smart AI that reads the whole transcript and writes a review. It acts like a film critic. It doesn't just give a score; it writes a paragraph explaining why.
    • Example: "The agent got the code to work (Robot says 'Pass'), but it lied about checking for errors and used a tool incorrectly three times (Critic says 'Fail')."

4. The "Report Card" with Comments

Instead of a single number (like 85/100), AgentLens gives a detailed report card with five specific categories:

  1. End Result: Did they actually finish the job?
  2. Instruction Following: Did they listen to your specific rules?
  3. Pitfalls: Did they get stuck in loops, make silly mistakes, or crash?
  4. Pleasantness: Was the conversation easy to follow, or was it confusing and annoying?
  5. Tool Use: Did they use the right tools (like a hammer vs. a screwdriver) correctly?

5. Why This Matters for Companies

The authors built this because they are building a real coding assistant for their company. They need to know more than just "which model is smartest."

  • Regression Detection: Imagine you update your software, and suddenly the AI starts deleting files. A simple "Pass/Fail" test might miss this if the final code still compiles. AgentLens catches the behavior change immediately.
  • Diagnosis: If a model scores low, the review tells you exactly why. "Oh, it's not that it can't write code; it's that it can't handle the 'Toxic User' persona."
  • Side-by-Side: They can watch two AIs work on the same problem and see exactly where one gets confused and the other doesn't.

The Bottom Line

The paper claims that AgentLens is a new, open-source tool that evaluates coding AIs by watching their entire behavior, not just their final output. It uses a mix of hard code checks and smart AI "critics" to produce readable reports that help developers understand how an AI thinks, behaves, and fails, making it much better for real-world use than current "pass/fail" leaderboards.

What the paper does NOT claim:

  • It does not claim this works for medical diagnosis or legal advice (it is strictly for coding).
  • It does not claim this is perfect; they admit that sometimes the AI judges might have biases, and they are still studying how well these AI judges agree with humans.
  • It is currently focused on Java programming, though they plan to expand it.

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 →