Recovery Bench
Description
Recovery-Bench is a benchmark for evaluating the capability of LLM agents to recover from mistakes
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Recovery-Bench
[Recovery-Bench](https://www.letta.com/blog/recovery-bench) is a benchmark for evaluating how well LLM agents recover from mistakes. A weak agent attempts a [Terminal-Bench 2.0](https://harborframework.com/docs/running-tbench) task and fails. We evaluate how well agents can recover after replaying the failed trajectory to reproduce the corrupted environment.
How It Works
Weak agent runs task → fails → trajectory saved
↓
Replay failed commands in fresh env
↓
Recovery agent starts from corrupted state
↓
Measure: did it recover? (reward > 0)
- Initial traces — An agent (with a weak model) runs Terminal-Bench tasks.
- Filter failures — Keep only trajectories where the agent failed (reward = 0).
- Replay — Re-execute the failed agent's commands in a fresh Docker container to reproduce the corrupted state.
- Recovery — A recovery agent gets the original task, corrupted environment, and optionally context from the failed attempt.
- Score — Compare recovery success rates across models and agents.
Setup
pip install -e .
# Pull the bundled initial traces (requires Git LFS)
git lfs install
git lfs pull
Add API keys for the models you're testing.
Shared failure set
The `git lfs pull` fetches pre-generated Terminus-2 Haiku 4.5 initial traces into `runs/`. These traces are the common baseline for all experiments — every model and agent is evaluated against the same set of failed tasks and corrupted environments, making results directly comparable across runs.
Evaluating Models (using Terminus-2)
Pick any [LiteLLM model](https://docs.litellm.ai/docs/providers) and run it against the shared Haiku 4.5 failure set using Terminus-2:
python -m recovery_bench.generate_traces \
--recovery-model
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI