AgentBrew: Lifelong Knowledge Brewing from Strong Teachers to Weak LLM Agents
On the map: LLM agents and tool use → Educational agents and math problem solving
Abstract (arXiv)
Deploying LLM agents typically requires a compact test-time student, even if a stronger teacher is available during training. We study knowledge brewing: distilling a teacher's interactive experience into a persistent external memory for the student. Crucially, this requires no weight updates, expert demonstrations, ground-truth labels, or test-time teacher access. This setting poses two challenges: environments provide only sparse, binary feedback, and teacher-authored notes must be inherently tailored to be concretely executable by a substantially weaker student. To address these hurdles, we propose AgentBrew, comprising two coupled components. First, a failure-triggered teacher--Ralph Loop mitigates sparse feedback by transforming student failures into environment-validated notes. Second, student-aware synthesis calibrates teacher knowledge to the weak executor's operational granularity, yielding model-specific, actionable guidance. Extensive evaluations and comprehensive ablations across coding, math, and tool-use tasks demonstrate that this asymmetric, training-free brewing paradigm produces highly capable yet deployable LLM agents.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 33 of its 39 references that are in the map. First posted on arXiv 18 Jul 2026.
Builds on
33 of 39 references.
Closest ancestors · 1
Same direction, newest first
Other references · 32
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2025Qwen3 Technical Reportcited by 8,820
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024Qwen2 Technical Reportcited by 2,120
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
20 more
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
- 2022Distilling Reasoning Capabilities into Smaller Language Modelscited by 158
- 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 116
- 2025Small Models Struggle to Learn from Strong Reasonerscited by 113
- 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applicationscited by 53
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 47
- 2024MAGDi: Structured Distillation of Multi-Agent Interaction Graphs Improves Reasoning in Smaller Language Modelscited by 43
- 2025Unveiling the Key Factors for Distilling Chain-of-Thought Reasoningcited by 40
- 2024Long Term Memory: The Foundation of AI Self-Evolutioncited by 30
- 2025AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxescited by 30
- 2025Structured Agent Distillation for Large Language Modelcited by 13
- 2024Sub-goal Distillation: A Method to Improve Small Language Agentscited by 6
- 2025Fine-tuning with RAG for Improving LLM Learning of New Skillscited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Agent Memory Distillation: Empowering Small LLM Agents with Hierarchical Teacher Memory
- 2025Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMs
- 2026Distilling Agentic Systems: A Roadmap across Models, Artifacts, and Harnesses
- 2026A Theory-Guided LLM Pedagogical Agent for STEM+C Scaffolding Without Over-Reliance
- 2026AgentSchool: An LLM-Powered Multi-Agent Simulation for Education
- 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutors
- 2026DuoMem: Towards Capable On-Device Memory Agents via Dual-Space Distillation
- 2026Persistent Teacher Anchoring for Tool-Using Agents