{
  "id": 1272,
  "kind": "paper",
  "title": "Sentry: Learning to Recover from LLM Agent Failures at Test Time",
  "summary": "Test-time framework for recovering LLM agents from failures, from Stanford's ACE (Agentic Context Engineering) team. Core finding: failure knowledge is conditional — how it reaches the agent matters as much as what it contains. Failure lessons kept in context misfire when their failure is absent: ACE-style memory that keeps past failure lessons in context for every task distracts the agent (e.g., on WebShop the agent found the right product then kept comparing alternatives and never acted); simply removing failure lessons improves ACE by +17% on WebShop and +14% on Mind2Web Replay. Conversely, runtime-intervention methods (AgentGuard) act only on failure but learn nothing — fixed rules can fire at the wrong time (a 'no progress' warning made the agent abandon correctly picked product options). Sentry combines both: it learns from experience like ACE, but keeps failure knowledge in a separate playbook outside the agent's main context; a failure detector watches for failures, retrieves failure-specific guidance (hard repair for invalid actions, soft repair with hints), and a verifier checks recovery without access to task rewards — the playbook is updated only if recovery succeeded. Results on WebShop, AppWorld, SWE-bench Lite, Mind2Web Replay: +37% over the best runtime-intervention baseline on average (up to +77% on WebShop), +39% over ACE; ACE+Sentry combined performs best overall, with task-level and failure-level learning as complementary. Learned lessons transfer to held-out tasks; controlled experiments confirm exposing the full playbook hurts even when relevant lessons remain available on demand. CC BY 4.0 license. Directly relevant to the user's agent app (memory design: storing knowledge is easy, deciding when the agent sees it is what matters) and to Launch Helm's intervention/control angle.",
  "body": "",
  "notes": "Discovery: @Changxiu_leo_ji (Changxiu Ji, Stanford Math & CS sophomore, author) X 8-post thread 2026-10-05 1:00 PM ET (https://x.com/Changxiu_leo_ji/status/2107153972859695222), 16.8K views, 91 likes, 88 bookmarks | Code: https://github.com/nuglifeleoji/Sentry (full release next week per thread) | Blog post coming | Related: 920 (multi-harness RL), 1552 (harness anatomy), 1570 (SelfSearch), 1577 (Agent Memory Repo — pairs on the memory/conditional-exposure design question)",
  "url": "https://arxiv.org/abs/2610.02994",
  "links": [],
  "authors": [
    "Changxiu Ji",
    "Amy Lu",
    "Qizheng Zhang",
    "Kunle Olukotun"
  ],
  "tags": [
    "sentry",
    "agent-failure-recovery",
    "test-time",
    "ace",
    "stanford",
    "playbook",
    "verifier"
  ],
  "topics": "agent failure recovery, test-time recovery, agent memory, runtime intervention, playbook, ACE",
  "venue": "arXiv 2610.02994 [cs.LG], submitted 2 Oct 2026, preprint",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-06T00:00:00.000Z",
  "verified_at": "2026-10-06T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1580"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-06T13:08:11.473Z",
  "updated_at": "2026-10-06T13:08:11.473Z",
  "page": "https://papers.projxon.ai/entries/1272",
  "markdown": "https://papers.projxon.ai/entries/1272.md",
  "api": "https://papers.projxon.ai/api/entries/1272",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1072,
      "kind": "paper",
      "title": "Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity",
      "summary": "MIT CSAIL paper (Li/Liu et al.; arXiv 2609.26891v1) introduces JAZ: an agent framework whose sole LLM primitive is invoke — the model writes arbitrary executable code (including recursive invoke) while all inputs and REPL history are REPL variables. With prompting only (no external memory/tools/file system), JAZ beats Letta (MemGPT) by ~8% at half cost on StuLife far-recall (69.9% vs 61.8% pass; $18.3 vs $42.1) and beats ACE by ~4% at lower cost on AppWorld continual self-improvement (TGC 74.2% vs 69.9%). Hooks (budget, return-type, context-window warning, tracing) and dynamic scope add constraints without bloating the core loop. Code: jaz-lang/jaz + jaz-evals.",
      "url": "https://arxiv.org/abs/2609.26891",
      "authors": [
        "Zhening Li",
        "Joshua Liu",
        "Mateja Vukelic",
        "Nicole Shen",
        "Supriya Lall",
        "Amitayush Thakur",
        "Alex Zhang",
        "Omar Khattab",
        "Jonathan Light",
        "Armando Solar-Lezama"
      ],
      "tags": [
        "jaz",
        "invoke",
        "agent-harness",
        "code-mode",
        "codeact",
        "rlm",
        "long-horizon",
        "stulife",
        "memgpt",
        "letta",
        "appworld",
        "ace",
        "self-improvement",
        "mit-csail",
        "solar-lezama",
        "khattab",
        "omarsar0",
        "arxiv-2609.26891"
      ],
      "venue": "arXiv / MIT CSAIL",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0; code github.com/jaz-lang/jaz (public)",
      "published_year": 2026,
      "added_at": "2026-09-26T15:18:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1072",
      "markdown": "https://papers.projxon.ai/entries/1072.md",
      "api": "https://papers.projxon.ai/api/entries/1072"
    },
    {
      "id": 493,
      "kind": "paper",
      "title": "Decentralized Multi-Agent Systems with Shared Context",
      "summary": "DeLM has parallel agents claim subtasks from a queue, read compact verified gists, and admit updates only after evidence checks, with hierarchical unfold (gist→summary→raw) for long sources. On SWE-bench Verified with Gemini 3 Flash: Avg.@1 65.7 / Pass@4 77.4 at $0.12/task vs AOrchestra-Parallel 56.4 / 71.8 at $0.25. Claude Opus 4.6 gains are smaller but still best. LongBench-v2 Multi-Doc QA: highest average across GPT-5.4, Claude Sonnet 4.6, Gemini 3 Flash, DeepSeek-V4-Pro (up to +5.7 pp). Hybrid DeLM+RLM is best on OOLONG and LongBench-v2. Code https://github.com/yuzhenmao/DeLM; project https://yuzhenmao.github.io/DeLM/.",
      "url": "https://arxiv.org/abs/2606.10662",
      "authors": [
        "Yuzhen Mao",
        "Azalia Mirhoseini"
      ],
      "tags": [
        "delm",
        "multi-agent",
        "shared-context",
        "swe-bench",
        "longbench",
        "rlm",
        "stanford"
      ],
      "venue": "arXiv / Stanford University",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 7,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/493",
      "markdown": "https://papers.projxon.ai/entries/493.md",
      "api": "https://papers.projxon.ai/api/entries/493"
    },
    {
      "id": 1033,
      "kind": "paper",
      "title": "Matryoshka attribution: Learning to attribute language model outputs to representations and weights",
      "summary": "MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.",
      "url": "https://arxiv.org/abs/2609.25518",
      "authors": [
        "Aryaman Arora",
        "Kirill Acharya",
        "Nathan Hu",
        "Yanzhe Zhang",
        "Noah Goodman",
        "Dan Jurafsky",
        "Christopher Potts"
      ],
      "tags": [
        "matryoshka-attribution",
        "mattr",
        "mechanistic-interpretability",
        "circuit-localization",
        "attribution",
        "sigmoid-top-k",
        "mask-learning",
        "causal-intervention",
        "integrated-gradients",
        "mib",
        "llm",
        "refusal",
        "grpo",
        "parameter-attribution",
        "stanford"
      ],
      "venue": "arXiv / Stanford University",
      "source": "arxiv",
      "license": "arXiv preprint; code license not stated in captured README",
      "published_year": 2026,
      "added_at": "2026-09-24T12:28:24.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1033",
      "markdown": "https://papers.projxon.ai/entries/1033.md",
      "api": "https://papers.projxon.ai/api/entries/1033"
    },
    {
      "id": 700,
      "kind": "paper",
      "title": "Recirculation",
      "summary": "An inference-time architectural enhancement for off-the-shelf foundation models that markedly reduces perplexity and boosts accuracy across generation and reasoning tasks. Recirculation introduces a specific form of recurrence that lets the model act as a dynamical system tracking belief states, motivated by the limitation that state updates in feedforward transformers are bounded by model depth. It adds essentially no generation latency (serial processing only in the prefill phase), and an adaptive variant needs only light hyperparameter tuning with frozen model weights.",
      "url": "https://arxiv.org/abs/2608.17981",
      "authors": [
        "Michael C. Mozer",
        "Shoaib Ahmed Siddiqui",
        "Danny Sawyer",
        "Sunny Sanyal",
        "Rosanne Liu"
      ],
      "tags": [
        "inference",
        "recurrence",
        "architecture",
        "test-time",
        "belief-states"
      ],
      "venue": "arXiv (cs.LG), v2 revised 2026-08-28",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 11,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/700",
      "markdown": "https://papers.projxon.ai/entries/700.md",
      "api": "https://papers.projxon.ai/api/entries/700"
    },
    {
      "id": 512,
      "kind": "paper",
      "title": "Agentic Systems as Boosting Weak Reasoning Models",
      "summary": "Separates proposal coverage, local identifiability, progress, and diversity. Coverage can be amplified by sampling, but critics/comparators need a local soundness signal (execution, tests, proof/type checking). Rank-based bounds for composing local selection errors; oracle best-of-k only covers task slices with nonzero useful proposal probability. On SWE-bench Verified, GPT-5.4 nano 67.0% → critic–comparator orchestration 76.4% at k=8, matching Gemini 3 Pro and Claude Opus 4.5 Thinking vs 79.0% oracle Bo8. Remaining failures are mostly shared proposal blind spots. No official code on abs.",
      "url": "https://arxiv.org/abs/2605.14163",
      "authors": [
        "Varun Sunkaraneni",
        "Pierfrancesco Beneventano",
        "Riccardo Neumarker",
        "Tomaso Poggio",
        "Tomer Galanti"
      ],
      "tags": [
        "boosting",
        "committee-search",
        "swe-bench",
        "inference-time",
        "gpt-5.4-nano",
        "tamu",
        "mit",
        "verifier"
      ],
      "venue": "arXiv / Texas A&M University / MIT",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/512",
      "markdown": "https://papers.projxon.ai/entries/512.md",
      "api": "https://papers.projxon.ai/api/entries/512"
    },
    {
      "id": 802,
      "kind": "paper",
      "title": "When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis",
      "summary": "LLM agents allocate test-time compute adaptively as they revise solutions, use tools, explore alternatives, and decide when to stop, making it hard to measure how agent performance scales. The paper studies open-ended tasks with continuous scores for intermediate submissions and proposes Elo-per-token analysis: track the best solution found at each token budget and use a Bradley-Terry model to aggregate within-task orderings into Elo ratings across tasks with different score scales. Applied to four general-purpose agents on four open-ended benchmarks with sessions up to 100M tokens, plus three feedback-driven LLM optimization harnesses in controlled single-task interventions. Independent sampling provides a theoretically characterized reference for which Elo grows linearly with log compute; against it, agents initially convert tokens into Elo faster but their marginal gains diminish and eventually fall below the reference. The strongest historical human contestants instead improve superlinearly over contest time on shared AtCoder Heuristic Contest tasks, showing continual learning and substantial headroom after agents slow down. The scaling inflection point is defined as the per-session budget where marginal Elo gains match the independent-sampling reference; splitting 100M tokens across parallel sessions on FrontierCS Polyomino Packing gains +264 Elo over one long session and +355 over ten short sessions.",
      "url": "https://arxiv.org/abs/2609.15309",
      "authors": [
        "Kaiyuan Liu",
        "Qiuyang Mang",
        "Bo Peng",
        "Wenhao Chai",
        "Hanchen Li",
        "Shreyas Pimpalgaonkar",
        "Luke Zettlemoyer",
        "Alex Dimakis",
        "Alvin Cheung"
      ],
      "tags": [
        "agents",
        "test-time-scaling",
        "elo",
        "evaluation",
        "hybrid-agents",
        "benchmark-scaling"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/802",
      "markdown": "https://papers.projxon.ai/entries/802.md",
      "api": "https://papers.projxon.ai/api/entries/802"
    }
  ]
}
