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.

Read this as

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