How Much Memory Does Your Agent Actually Need?
AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.
Why it matters
Agents' self-distilled memory only helps if the dose matches the model's capability tier, so teams must calibrate per model rather than assume more guidelines always help.
Researchers tested a system called ALTK-Evolve that lets AI agents learn from their own past work without retraining the model. The lessons are stored as guidelines and fed back into the agent's instructions. Across eight models on the AppWorld benchmark, strong models like DeepSeek-V3.2 gained about 10 percentage points with all guidelines, while weaker models like gpt-oss-120b did better with a small selected subset. Some already-strong models gained nothing extra.
Agent memory, feeding an agent distilled lessons from its own past runs, pays off unevenly. DeepSeek-V3.2 gained +9.5pp task completion with the full guideline set, while gpt-oss-120b gained +16.1pp using a cheaper selective approach costing only 5% more tokens. Curated retrieval can therefore be both the most accurate and cheapest option for some models, and prompt caching keeps even full sets affordable. Teams should match memory dosage to model tier.
ALTK-Evolve mines behavioral guidelines from an agent's trajectories and reinjects them at inference with no weight updates, evaluated on AppWorld's 585 multi-step tasks (TGC/SGC metrics). Three patterns emerged across eight models: DeepSeek-V3.2 (671B MoE) gained +9.5pp TGC / +16.1pp SGC with full guideline injection; gpt-oss-120b (117B MoE) gained +16.1pp TGC with curated retrieval (fixed core plus per-task cosine-similarity retrieval) at +5% tokens; GLM-5 (745B MoE) showed no gain. Limitations: cosine retrieval is suboptimal, results validated only on AppWorld, context-window effects unisolated.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
ALTK-Evolve AppWorld DeepSeek-V3.2 gpt-oss-120b GLM-5 GPT-5.5 Opus
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.
A flight recorder for AI agents that even auditors can verify offline
Teams running AI agents on production systems get tamper-evident, auditor-verifiable records of every tool call instead of logs the agent could rewrite.