AI · Agents · LLM Evals · Memory

Your Agent's Memory System Might Be Making It Less Reliable, Not More

18 November 2026 · Devectra

The assumption everyone makes about agent memory

When an agent fails on a long-running task, the instinct is almost always the same: it forgot something, so give it memory. Bolt on a vector store, write episodic summaries after each step, let it retrieve past context before acting. The fix feels obvious because the failure looks like forgetting.

A reliability study published in March 2026, Beyond pass@1: A Reliability Science Framework for Long-Horizon LLM Agents (Khanal, Tao, and Zhou, arXiv:2603.29231), ran 10 models through 396 tasks across four duration buckets and three domains — 23,392 episodes in total — specifically to test that instinct. The finding that matters for anyone building or buying agents: memory scaffolds did not improve long-horizon reliability. Across the models they tested, adding a naive episodic memory layer made outcomes worse, not better.

That is not a small result. It means the most common first response to "our agent falls apart on long tasks" — give it a memory system — is, by itself, not a fix. It can actively hurt.

Why pass@1 was hiding the real problem

Part of what makes this worth taking seriously is the measurement problem it's built on top of. Most teams evaluate agents with a single-attempt success rate (pass@1): run the task once, check if it worked, report the percentage. The paper points to τ-bench as an example of how misleading that is — GPT-4o scored 61% pass@1 on retail-domain tasks, but only 25% on pass@8 (success across eight attempts). A model that looks two-thirds reliable on paper is, under repeated runs, failing three times out of four.

That gap is the whole reason the authors built new metrics instead of trusting pass@1: a Reliability Decay Curve showing how success probability drops as task duration grows, a Variance Amplification Factor for how inconsistent outcomes get over longer horizons, a Graceful Degradation Score for whether failures are soft (partial progress, recoverable) or hard (total collapse), and a Meltdown Onset Point — the step count where an agent's reliability starts falling off a cliff rather than declining gradually.

None of those metrics are about whether the agent "remembers." They're about whether it stays correct as the task gets longer, which turns out to be a different question than whether it has access to past context.

What's actually breaking, if not memory

If giving an agent more history doesn't fix long-horizon failures, what does an engineering team do instead? A few things the research and the broader context-engineering discussion around it point to:

  • Constraint decay is a real, separate failure mode. An agent can violate a constraint it followed correctly ten turns earlier without the underlying model changing at all — the instruction simply drops out of effective attention as the transcript grows. That's a context management problem, not a missing-memory problem, and it's not solved by storing more of the past; it's solved by actively re-surfacing the constraints that matter at each step.
  • Stale state is distinct from missing state. Work on this problem (the STALE benchmark, published mid-2026) targets a specific failure: the agent retrieves updated, correct evidence, and still acts on an outdated assumption it formed earlier. Retrieval worked. Reasoning over the retrieved evidence didn't. More memory doesn't touch that gap.
  • Compounding error is a numbers problem before it's a memory problem. A 95% success rate per step sounds strong until you chain ten steps: 0.95^10 ≈ 0.60. Six in ten multi-step runs fail to complete end to end, with no single step being the obvious culprit. Memory can't fix a problem that's really about how error compounds across steps.

The actual engineering response

None of this means memory is useless — some tasks genuinely need state that outlives a single context window. It means memory is not the default fix for "the agent got worse the longer it ran," and treating it as one burns budget on infrastructure that the benchmark says doesn't move the number you're trying to move.

What does move it, based on where this research and the adjacent work point:

  1. Measure reliability at the horizon you'll actually run, not pass@1. If your use case is a 20-step agent run, test 20-step runs, repeatedly, and look at the decay curve — not a single clean demo run.
  2. Find your Meltdown Onset Point before a customer does. Run the same task class at increasing step counts until reliability falls off a cliff, then design the product so tasks don't cross that line, or so there's a human checkpoint before they do.
  3. Treat constraint re-surfacing as a context engineering problem, not a memory problem. Re-inject the constraints that matter at each step instead of assuming they persist because they're technically still in the transcript somewhere.
  4. Add memory only for a named, tested need — not as a default architecture choice. If you add a memory layer, re-run your reliability benchmark with and without it. The paper's finding should make that an obligatory step, not an optional one.

Where this lands for a business evaluating an agent vendor

If you're buying or building an agent that needs to run longer than a single back-and-forth — an agent that does multi-step research, works a support ticket to resolution, or runs a multi-stage workflow — ask whatever vendor or team is building it two direct questions: what's the measured reliability at the task length you'll actually run, and what happens at the point reliability starts to fall. "It has memory" is not an answer to either question, and as of this benchmark, it might be evidence of the opposite of what you'd assume.

Takeaway: When a long-running agent gets worse over time, the fix usually isn't more memory — it's measuring reliability at the actual task length, finding where it breaks, and re-surfacing the constraints the agent is losing track of. Add memory only after you've confirmed, with your own benchmark, that it helps rather than hurts.

Have a system like this in mind?

Get a scoped plan ↗
Your Agent's Memory System Might Be Making It Less Reliable, Not More — Devectra Blog — Devectra