---
title: "ReasoningBank: Enabling agents to learn from experience"
description: "ReasoningBank is an agent memory framework that distills generalizable reasoning strategies from both successful and failed trajectories, stored as structured items (title, description, content) in a closed loop of retrieval, LLM-as-a-judge self-assessment, extraction and append-only consolidation."
url: "https://swe.quest/articles/reasoningbank-enabling-agents-to-learn-from-experience-c24d005f6ce31b05"
canonical: "https://research.google/blog/reasoningbank-enabling-agents-to-learn-from-experience/"
source: "Google Research"
published: "2026-04-21"
difficulty: "hard"
kind: "Research"
reading_minutes: 5
tags: ["ai-agents","llms","evals"]
---

# ReasoningBank: Enabling agents to learn from experience

A post on [Google Research](https://swe.quest/sources/google-research.md), published 2026-04-21, 5 min read, Research. Original: [https://research.google/blog/reasoningbank-enabling-agents-to-learn-from-experience/](https://research.google/blog/reasoningbank-enabling-agents-to-learn-from-experience/)

## Summary

ReasoningBank is an agent memory framework that distills generalizable reasoning strategies from both successful and failed trajectories, stored as structured items (title, description, content) in a closed loop of retrieval, LLM-as-a-judge self-assessment, extraction and append-only consolidation. Memory-aware test-time scaling (MaTTS) feeds parallel (self-contrast across k trajectories) or sequential (iterative refinement) exploration back into memory. With Gemini-2.5-Flash and ReAct, it beat a memory-free baseline by 8.3% on WebArena and 4.6% on SWE-Bench-Verified, saved about 3 steps per task on SWE-Bench, and MaTTS (k=5) added another 3% success on WebArena. Learning from failures yields preventative rules, and memories evolve from simple checklists into compositional strategies over time.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- ReAct prompting ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- test-time scaling ([easy posts on Scaling](https://swe.quest/tags/scalability.md?difficulty=easy))
- LLM-as-a-judge ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

ReasoningBank, MaTTS, WebArena, SWE-Bench-Verified, Gemini-2.5-Flash, ReAct, Agent Workflow Memory, Synapse

## Related posts

- [The components of agent memory](https://swe.quest/articles/the-components-of-agent-memory-6ad54605491f6c6e.md): Anthropic Engineering · 2026-11-06 · Medium · 21 min read · AI agents, LLMs, Evaluation
  Agent memory works best as a layered hierarchy: transcripts as an event log, notes Claude writes in-session, richer representations such as wikis, and context injected into every session, with an offline "dreaming" pass that reflects on transcripts to correct and reorganize memory.
- [TextQuests: How Good are LLMs at Text-Based Video Games?](https://swe.quest/articles/textquests-how-good-are-llms-at-text-based-video-games-44de8d5aa6d525af.md): Hugging Face · 2025-08-12 · Easy · 5 min read · Evaluation, AI agents, LLMs
  TextQuests is an agent benchmark built on 25 classic Infocom interactive fiction games.
- [Your Agent Aced the Task. Will It Do It Again?](https://swe.quest/articles/your-agent-aced-the-task-will-it-do-it-again-9e1e6a898bac9ad8.md): Hugging Face · 2026-09-15 · Medium · 11 min read · AI agents, Evaluation, LLMs
  LLM agents that score well on average often fail to repeat their successes: a GPT-4.1 ReAct agent on AppWorld reaches 77.4% Mean@5 but only 53.0% Pass^5 (success on all five runs), a 24.4-point consistency gap, even at temperature 0.
- [Turning Database Grading into RL Rewards: Post-Training Agents with ThinkingBox](https://swe.quest/articles/turning-database-grading-into-rl-rewards-post-training-agents-with-thinkingbox-9126975f97c5fba4.md): Hugging Face · 2026-10-22 · Hard · 18 min read · Model training, AI agents, Evaluation, LLMs
  Executable checks on terminal database state, originally built to grade agents in ThinkingBox-Bench, double as binary RL rewards for post-training tool-using agents.
- [Teaching LLMs to Update Beliefs for Efficient Long-Horizon Interaction](https://swe.quest/articles/teaching-llms-to-update-beliefs-for-efficient-long-horizon-interaction-0ab15611f678a09c.md): Berkeley AI Research · 2026-07-26 · Hard · 5 min read · AI agents, Model training, LLMs
  ABBEL replaces an LLM agent's full interaction history with natural-language belief states that are recursively updated after each observation, and supervises those beliefs with a "belief grading" auxiliary RL reward.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
