cd /news/ai-agents/agent-recovery-gone-wrong-measuring-… · home › topics › ai-agents › article
[ARTICLE · art-176576] src=arxiv.org ↗ pub= topic=ai-agents verified=true sentiment=↓ negative

Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls

A study of recorded AppWorld agent trajectories, posted as arXiv:2611.31554v1, found that 30 of 143 confirmed partial executions with a determinable outcome were followed by a harmful recovery that left a violation in place at the end of the run, a stratification-weighted estimate of 24.6%. Two thirds of the harmful recoveries duplicated an effect, while the rest deleted user data or made a wrong first-time write such as ordering the wrong product; a rule that searches for repeated calls catches 75% of duplications but only 41% of all harm. In a 17-episode pilot with one local model, model-supplied identifiers did not detectably reduce harm because the model issued a new identifier for the same operation, while call-content-derived identity would have matched every harmful write in 14 to 18 of the 30 harmful recoveries but none of the wrong first-time writes, and would also have matched task-required writes in 30 episodes.

recommendation

Derive idempotency keys from call content rather than letting the model supply them, and check for deletes and wrong first-time writes, since repeated-call detection caught only 41% of harm.

more in playbook: Designing agent systems
by read1 min views2 publishedNov 26, 2026

arXiv:2611.31554v1 Announce Type: new Abstract: Code-executing LLM agents submit blocks of code that issue several API writes. If a block fails after some of its writes have taken effect, the agent rewrites the block and continues. It is unknown how often such a recovery harms the external state when the failure occurs naturally in the code written by the agent. In this paper, we measure it on recorded trajectories of AppWorld agents. In a stratified random sample of 200 candidate episodes across ten models, 145 are partial executions confirmed by the database state. In the sample, 30 of 143 confirmed partial executions with a determinable outcome are followed by a harmful recovery, and its violation remains at the end of the run, which gives a stratification-weighted estimate of 24.6%. Two thirds of the harmful recoveries duplicate an effect, and the rest delete user data or make a wrong first-time write, e.g., an order of a wrong product. A rule that searches for repeated calls finds 75% of duplications but only 41% of all harm. We also examine two sources of operation identity for an idempotency contract. In a small pilot (17 episodes, one local model), identifiers supplied by the model do not detectably reduce harm, because the model issues a new identifier for the same operation. Identity derived from the call content, evaluated counterfactually on the sample, would have matched every harmful write in 14 to 18 of the 30 harmful recoveries, but in none of those with a wrong first-time write, and it would also have matched writes required by the task in 30 episodes. Based on these results, we outline design requirements for safer agent recovery.

── more in #ai-agents 4 stories · sorted by recency
── more on @appworld 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/agent-recovery-gone-…] indexed:0 read:1min 2026-11-26 · —