cd /news/artificial-intelligence/brew-enhancing-llm-agents-with-exper… · home topics artificial-intelligence article
[ARTICLE · art-57185] src=machinebrief.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

BREW: Enhancing LLM Agents with Experience-Based Knowledge

Researchers introduced BREW, a framework that enables LLM agents to retain and use experience-based knowledge, improving task success rates by 10-20% on benchmarks like OSWorld and SpreadSheetBench. The framework converts past interactions into natural-language recipes and uses a Monte Carlo Tree Search algorithm to optimize knowledge retrieval, reducing execution steps by 10-15%.

read2 min views1 publishedJul 13, 2026
BREW: Enhancing LLM Agents with Experience-Based Knowledge
Image: Machinebrief (auto-discovered)

BREW introduces a framework for LLM agents to retain and use experience-based knowledge, improving task success rates by 10-20%. Discover how this approach transforms agent memory into actionable insights.

Large Language Models (LLMs) are pushing boundaries, tackling complex tasks from GUI automation to data manipulation. Yet, their Achilles' heel remains a lack of learning from past experiences. Every session is a blank slate, requiring solutions to be rediscovered anew. Enter BREW, a novel framework that promises to change this dynamic.

Introducing BREW #

BREW, or Bootstrapping expeRientially-learned Environmental knoWledge, transforms an agent's previous interactions into a structured knowledge base. This isn't just an incremental improvement, it's a big deal in how agents process and retain procedural knowledge. By converting past interactions into natural-language recipes, BREW captures the what, when, and how of tasks, creating a blueprint for future applications.

Borrowing from the principles of library learning in program synthesis, BREW decomposes agent memory into localized, concept-oriented documents. The magic lies in formalizing knowledge base construction as a state-space search problem. With the Expand-and-Gather Monte Carlo Tree Search (EG-MCTS) algorithm, BREW optimizes these recipes for accuracy and retrievability, ensuring that agents not only learn but improve over time.

Performance on Benchmarks #

On benchmarks like OSWorld, tau^2-Bench, and SpreadSheetBench, BREW has shown impressive results. Task success rates soared by 10-20%, with a reduction in execution steps by 10-15%. These aren't trivial gains, they signify a fundamental shift in how agents can take advantage of past experiences to optimize performance.

Why should this matter? If agents can harness past experiences efficiently, the possibilities for automation and AI decision-making expand exponentially. Imagine an agent that learns and adapts as humans do, refining its approach with each task. The AI-AI Venn diagram is getting thicker.

The Implications #

BREW's knowledge base is modular, extensible, and, crucially, inspectable. This transparency offers a controllable substrate for agent optimization, allowing developers to fine-tune systems with precision. But let's not forget: if agents have wallets, who holds the keys? The autonomy of intelligent systems raises questions about control and governance.

The collision of experience-based learning and LLMs is more than just a tech upgrade. It's a convergence that redefines what AI agents can achieve. As we continue to build the financial plumbing for machines, frameworks like BREW will be turning point in shaping a future where AI not only thinks but learns and evolves from every interaction.

Get AI news in your inbox

Daily digest of what matters in AI.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @brew 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/brew-enhancing-llm-a…] indexed:0 read:2min 2026-07-13 ·