Agent Engineering Wiki
Agent engineering · knowledge map
에이전트가 실제로 작동했는지 측정하는 것의 어려움
🧱 Obstacle·evaluation·active·24 sources·updated 2026-07-07
A chatbot is graded on its final answer; an agent has to be graded on what it *did* — the multi-step trajectory of tool calls, retries, and decisions that led there. Outputs are non-deterministic, "correct-looking" answers can come from broken paths, and a benchmark the agent has effectively memorized tells you nothing about a new environment. Knowing whether an agent works in production is itself an unsolved engineering problem.
Evaluation is splitting into two complementary jobs: judging the steps, and judging results under real-world conditions.
Trajectory / process evaluation judges the steps, not just the final string: did the agent call the right tools, recover from errors, and avoid loops. Tooling like rubric-style checks ("test what your LLM agent *did*, not just what it said") and failure-detection systems that emit categorized failures with causal chains (AWS's Strands Evals) reflect this shift toward structured, step-level verdicts. The labels themselves are moving the same way: OpenRCA 2.0 reframes root-cause analysis — a holistic test of long-context, multi-step reasoning, and tool use — from outcome labels to causal process supervision, scoring whether the agent reasoned through the right intermediate steps rather than only whether it landed the final answer, which is what trajectory-aware grading needs to train and audit a judge against.
Outcome evaluation under distribution shift is the second job: a recurring finding is that agents look strong on familiar benchmarks and degrade sharply when "run beyond familiar environments," so static leaderboards over-state real-world capability. Because human grading doesn't scale to long traces, the field leans on LLM-as-judge scoring (now being cost-reduced by fine-tuning small judges on production traces, and pushed further by shared-backbone multi-head classifiers — Morph Reflexes reads a trace once and scores several behavioral failure modes off the same forward pass for sub-30ms latency) and on agent benchmarks that exercise an agent against its own tooling — including domain-narrow suites (ScarfBench, on enterprise Java migration) and long-horizon autonomy labs (Emergence World) that push past single bounded tasks. The frontier edge is *pre*-deployment prediction — simulating deployment on real conversation data to forecast behavior before release rather than measuring it after an incident.
The eval-improvement loop is also being reframed as a data-mining problem rather than a labeling exercise: LangChain's practice is to mine production agent traces for failure clusters first, then fine-tune a judge on those clusters (cheaper than a frontier judge) and use it to hill-climb agent performance — treating "what should we eval" as a question the traces themselves answer, not a rubric written up front.
Two countercurrents now temper the optimism. The judge itself is under audit: BabelJudge measures LLM-as-judge reliability across languages *and* agent trajectories and finds the systematic biases (position, verbosity, language) that raw accuracy hides — so a trajectory judge needs its own validation before you trust its verdicts.
Hard-won practitioner write-ups (three years of evals for financial agents; a post-mortem on why most evals would miss a real Linear sales-email failure) converge on the same warning: an eval suite passes while the agent fails the way that actually matters, because the suite never encoded the real-world failure.
The constructive counter-reframe lands from the same camp: "*it's hard to eval*" is a product smell, not an excuse — if you can't specify what good output is, that is a fuzzy-spec problem to fix, and the discipline of writing the eval forces the product clarity, rather than the difficulty proving eval impossible.
The unit under test is also widening from a single agent to the whole harness: GitHub's evaluation of its Copilot agentic harness across 20+ models and many tasks grades the harness's results *and* token efficiency together, treating the agent+model+scaffold as the thing you benchmark and making cost-per-solved-task a first-class eval metric. And eval is converging with observability: a multi-dataset benchmark for LLM agents in microservice failure diagnosis (AgentOps) scores process over outcome on multimodal trace data — grading the diagnosis path, not just the verdict — so the trace becomes the shared substrate for both.
A third front opens on the *output* of coding agents specifically: as agents write more of the code, "tests passing" stops being sufficient evidence to merge, because a green suite says nothing about the structural quality or robustness of what was generated — and the human cost of reviewing it is becoming the new bottleneck. Topos attacks this with structural code-quality metrics for agent-written programs — graded signals on the code itself rather than a pass/fail test gate — reframing eval for code agents as "is this change good," not just "does it run."
A fourth front pushes back on LLM-as-judge itself: rather than fine-tuning or auditing the judge, a deterministic-replacement approach for stateful agent evaluation skips model-graded scoring altogether for the class of tasks where state transitions can be checked directly — a reminder that "judge with another LLM" is a default, not the only option, when the task admits a programmatic check. A parallel critique targets the benchmarks rather than the judge: performance-optimization suites (GSO, SWE-Perf, SWE-fficiency) that score coding agents by comparing runtime against baselines turn out to have their own reliability problems as measurement instruments, sharpening the standing "familiar benchmarks over-state capability" finding into "the benchmark's own numbers can be noisy," not just non-representative. A practitioner analysis puts a number on that noise: one standard deviation between repeated runs of the *same* model on a coding task measured 7.5% — bigger than the gap between the best- and worst-ranked models in the comparison — and dropping or swapping a handful of tasks from a ~100-task set was enough to flip which model wins, the benchmark equivalent of a race course shaping who looks like the best cyclist. Consolidation is showing up on the tooling side too: Harbor pairs LangSmith's sandboxes and observability with Deep Agents into one stack specifically for evaluating long-running, stateful agents, and practitioner write-ups (Pendo tracing its Novus product agent from user behavior to code fixes with LangSmith) show eval, tracing, and monitoring converging into one workflow rather than three separate tools.
A fifth front lands on testing methodology, not just labels: LLM-written fuzzers surface real, serious bugs within minutes but have coverage gaps a hastily hand-written fuzzer would catch, so raw bug-finding recall isn't proof of thorough testing. The practical fix for the false positives that follow is ensembling reviewers — independent agents checking the same artifact (a video, a generated test) under different personas, including a deliberately contrarian one, which cuts false positives more reliably than swapping in a stronger single model. Both findings converge on the same conclusion: a reasonable process around the model is at least as load-bearing as which model you use.
Improving an agent is being reframed as a data-mining problem: LangChain mines production traces for failure clusters, fine-tunes a cheap judge on them, and hill-climbs agent performance from that signal — deriving the eval target from real failures instead of a rubric written in advance.
Benchmark noise also got hard numbers: a practitioner analysis measured a model's run-to-run standard deviation at 7.5% on a coding task — larger than the best-to-worst-model gap — and showed that swapping a few tasks in a ~100-task set flips the leaderboard order. The same analysis reports a testing-methodology fix for agentic false positives: ensembling independent reviewer personas, including a deliberately contrarian one, beats upgrading to a stronger model.
Eval is the regression test of the agent stack — without it you cannot tell a prompt tweak or model upgrade from a silent regression, and you cannot put a number on reliability.
But running a frontier LLM as a judge over every production trace is its own cost-and-latency line item, and a benchmark your agent has effectively trained on gives false confidence. The practical job is building a cheap, trustworthy, trajectory-aware eval harness you can run in CI and on live traffic — closer to observability than to a one-time accuracy check.
- The Roadmap to Mastering AI Agent Evaluation
- AI Agent Failure Detection and Root Cause Analysis with Strands Evals
- Building a 100x Cheaper Trace Judge with Fireworks
- Show HN: Rubric – test what your LLM agent did, not just what it said
- Running the Gauntlet: Re-evaluating the Capabilities of Agents Beyond Familiar Environments
- Predicting model behavior before release by simulating deployment
- BabelJudge: Measuring LLM-as-a-Judge Reliability Across Languages and Agent Trajectories
- Why most AI evals would miss the Linear sales email failure
- Lessons from Building Evals for Financial AI Agents
- Show HN: Topos – Structural code quality metrics for agent-written programs
- OpenRCA 2.0: From Outcome Labels to Causal Process Supervision
- “It’s Hard to Eval” Is a Product Smell
- Evaluating performance and efficiency of the GitHub Copilot agentic harness across models and tasks
- A Multi-Dataset Benchmark for Evaluating LLM Agents in Microservice Failure Diagnosis
- Featuring Every Eval Ever Results on Hugging Face Model Pages
- Show HN: Morph Reflexes – Multi-head classifiers for agent traces
- Emergence World: A Laboratory for Evaluating Long-Horizon Agent Autonomy
- ScarfBench: Benchmarking AI Agents for Enterprise Java Framework Migration
- A Deterministic Replacement for LLM-as-Judge in Stateful Agent Evaluation
- Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?
- Harbor x LangChain: A Unified Stack for Evaluating Agents
- How Pendo uses LangSmith to trace Novus from user behavior to code fixes
- Agentic test processes, LLM benchmarks
- Improving Agents is a Data Mining Problem