Explore the research collection
2 entries · Follow this search
- Paper
Sentry: Learning to Recover from LLM Agent Failures at Test Time
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.
- Paper
Decentralized Multi-Agent Systems with Shared Context
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/.