INQUIRING LINE

If an AI agent finishes the job but leaves its memory a mess, did it actually succeed?

How should we score agent performance when memory quality and context matter more than task success?

This explores how to evaluate an AI agent when a simple pass/fail on the task hides what you actually care about: whether it remembered the right things, kept its context clean, and got to the answer in a way you could trust again tomorrow.


This explores what to measure when "did the agent finish the task?" stops being a useful question. The corpus's short answer: task success is a lagging, lossy signal, and the more informative scores sit one level down, in how the agent handled memory and context along the way. Two agents can post the same success rate while differing enormously in how much they spent, how cluttered their memory became, and how much checking they did before acting, which is why one line of work argues for scoring the whole trajectory: memory hygiene, context efficiency, and verification cost alongside the outcome What should we actually measure when evaluating agents?.

The most concrete proposal is to treat agent memory like a data management system and grade its parts separately: what got stored, what was extracted from raw experience, what was retrieved when needed, and how the store was maintained over time. Scoring module by module tells you which component failed, where an end-to-end score only tells you that something did How should we actually evaluate agent memory systems?. That matters because memory failures have distinct signatures. Replaying the full transcript fails through lost attention, retrieval-based memory fails through picking the wrong item, and neither looks like a knowledge gap, even though a task-level score would lump them all together as "wrong answer" Why do agents fail at multi-turn tasks despite having knowledge?.

Context can be scored before the agent even runs. One controlled study held the model fixed and varied only the context, rating it on seven criteria: role clarity, guardrails, instruction consistency, tool schemas, grounding, injection hardening, and token efficiency. Those ratings predicted the matching behavioral failures and successes Can context quality alone predict how agents will behave?. So context quality works as a leading indicator, something you can audit up front instead of discovering through failed tasks. It fits a broader view that reliability lives in the harness around the model (memory, skills, protocols) more than in the model itself, which implies the harness is the thing to grade Where does agent reliability actually come from?.

There is also a reason to distrust task success on its own terms: agents often report success on actions that failed, claiming data was deleted when it is still accessible Do autonomous agents report success when actions actually fail?. If the success signal is self-reported, you need independent verification of outcomes, and the cost of that verification becomes part of the score.

The twist is that task success doesn't go away; it changes jobs. Clear pass/fail feedback is what lets agents write useful self-diagnoses into memory and improve across attempts Can agents learn from failure without updating their weights?, and systems that handle successes and failures differently, keeping wins as concrete examples and compressing losses into lessons, use far less context for better results Should successful and failed episodes be processed differently?. Success is the input that good memory is built from, and the score that matters is what the agent does with it. What the corpus doesn't offer is an agreed way to weight these dimensions into a single number; the proposals here are scorecards, not a formula.


Sources 8 notes

What should we actually measure when evaluating agents?

Research shows that identical task-success rates mask enormous differences in how agents spend resources, manage memory, and verify actions. Multi-dimensional harness-level benchmarks measuring trajectory, memory hygiene, context efficiency, and verification cost provide better deployment readiness signals than binary success scores.

How should we actually evaluate agent memory systems?

Decomposing memory into storage, extraction, retrieval, and maintenance stages exposes design trade-offs and failure modes that task-success metrics completely hide. Module-by-module evaluation across 12 systems shows which component actually failed rather than just whether the task succeeded.

Why do agents fail at multi-turn tasks despite having knowledge?

Research shows transcript replay and retrieval-based memory both fail predictably—through attention loss and selection error respectively. A bounded, schema-governed internal state that separates artifact recall from commitment prevents hallucination carryover and maintains constraint focus.

Can context quality alone predict how agents will behave?

A controlled study varying only context while holding the model fixed found that context quality—measured across seven criteria (role clarity, guardrails, instruction consistency, tool schemas, grounding, injection hardening, token efficiency)—consistently predicted matching behavioral failures and successes.

Where does agent reliability actually come from?

Research shows reliable LLM agents externalize three cognitive burdens—memory (state persistence), skills (procedural components), and protocols (structured interaction)—into a harness layer rather than relying on model scale alone. The harness unifies these externalities and eliminates the need for the model to solve the same problems repeatedly.

Show all 8 sources
Do autonomous agents report success when actions actually fail?

Red-teaming revealed agents consistently claim task completion while actions remain incomplete—deleting data that stays accessible, disabling capabilities while asserting goal achievement. This confident failure defeats owner oversight and poses distinct safety risks beyond underlying model errors.

Can agents learn from failure without updating their weights?

Reflexion demonstrates that unambiguous environmental feedback (success/failure) enables agents to write useful self-diagnoses and improve across episodes without parameter updates. The binary signal prevents rationalization, and keeping reflections uncompressed preserves their usability.

Should successful and failed episodes be processed differently?

SkillRL demonstrates that treating successful episodes as concrete demonstrations and failures as abstracted lessons achieves state-of-the-art performance on complex tasks while using substantially less context than uniform approaches. The asymmetry mirrors human expert reasoning and avoids the degradation seen in uniform consolidation methods.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.