mlsanityData to 14 Oct 2026

AgentBrew: Lifelong Knowledge Brewing from Strong Teachers to Weak LLM Agents

arXiv 2607.16851 ↗First posted 18 Jul 2026cs.AIcited by 1

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

  1. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving29 Sep

Other references · 32

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  6. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  8. 2021Program Synthesis with Large Language Modelscited by 3,637
  9. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  10. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  11. 2024Qwen2 Technical Reportcited by 2,120
  12. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
20 more
  1. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  2. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
  3. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  4. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
  5. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  6. 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
  7. 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
  8. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
  9. 2022Distilling Reasoning Capabilities into Smaller Language Modelscited by 158
  10. 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 116
  11. 2025Small Models Struggle to Learn from Strong Reasonerscited by 113
  12. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applicationscited by 53
  13. 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 47
  14. 2024MAGDi: Structured Distillation of Multi-Agent Interaction Graphs Improves Reasoning in Smaller Language Modelscited by 43
  15. 2025Unveiling the Key Factors for Distilling Chain-of-Thought Reasoningcited by 40
  16. 2024Long Term Memory: The Foundation of AI Self-Evolutioncited by 30
  17. 2025AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxescited by 30
  18. 2025Structured Agent Distillation for Large Language Modelcited by 13
  19. 2024Sub-goal Distillation: A Method to Improve Small Language Agentscited by 6
  20. 2025Fine-tuning with RAG for Improving LLM Learning of New Skillscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agent Memory Distillation: Empowering Small LLM Agents with Hierarchical Teacher Memory
  2. 2025Student-Centered Distillation Narrows the Agentic Gap Between Small and Large LLMs
  3. 2026Distilling Agentic Systems: A Roadmap across Models, Artifacts, and Harnesses
  4. 2026A Theory-Guided LLM Pedagogical Agent for STEM+C Scaffolding Without Over-Reliance
  5. 2026AgentSchool: An LLM-Powered Multi-Agent Simulation for Education
  6. 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutors
  7. 2026DuoMem: Towards Capable On-Device Memory Agents via Dual-Space Distillation
  8. 2026Persistent Teacher Anchoring for Tool-Using Agents