SYNTHESIS NOTE
Topics›Memory›this note

Can agents learn continuously from experience without updating weights?

This explores whether LLM agents can adapt to new tasks and failures by retrieving past experiences from memory alone, rather than requiring expensive parameter fine-tuning or rigid hardcoded rules.

Synthesis note · 2026-02-23 · sourced from Memory

AgentFly addresses a central challenge: LLM agents either follow rigid hardcoded workflows (inflexible) or require parameter fine-tuning (expensive, impractical for continual adaptation). The alternative: learn continuously through memory, not weight updates.

The formalization is a Memory-augmented Markov Decision Process (M-MDP). The agent stores past trajectories as episodic traces — including both successes and failures — and retrieves similar past experiences to guide current decision-making. This aligns with case-based reasoning (CBR), a psychologically grounded learning strategy: humans often solve problems by recalling analogous past situations.

Three memory modules serve distinct functions:

  1. Case Memory — vectorized storage of prior task trajectories (task, plan, success/failure label). Supports retrieval via similarity-based search or an online-updating Q-function. This is the strategic memory: which approaches worked for which kinds of problems.

  2. Subtask Memory — text-based storage of active subtasks and their execution results. Orchestrates the planner-executor interaction within a single task. This is the working memory: what's being done right now.

  3. Tool Memory — text-based logs of tool interactions scoped per subtask. Records what tools were used, what they returned. This is the procedural memory: how specific operations were executed.

The learning mechanism: credit assignment happens via memory rewriting (updating case labels and Q-values based on outcome), and policy improvement happens via memory reading (retrieving relevant cases that shift the planning distribution). No gradient updates to the LLM — the LLM is a fixed reasoning engine, and adaptation happens entirely through what's retrieved into its context.

The result: top-1 on GAIA validation (87.88% Pass@3) and 79.40% on the test set, in the deep research setting.

Since Can agents learn from failure without updating their weights?, AgentFly provides the formal RL framework for this intuition: the M-MDP formalization shows how credit assignment and policy improvement can operate entirely through memory operations. The Q-function over cases provides a principled retrieval policy that improves with experience, rather than relying on static similarity-based retrieval.

Reweave 2026-05-18 — memory-vs-fine-tuning is not binary; the right architecture is dual-timescale. AgentFly's original framing positioned memory-based adaptation as the alternative to fine-tuning — choose one. Late-2025 evidence reframes this as a false dichotomy. Can agents adapt without pausing service to users? shows that production systems can have BOTH: memory-based adaptation on the fast timescale (zero downtime) AND LoRA fine-tuning during user-inactive windows (no service interruption). MetaClaw's OMLS scheduler monitors sleep hours, keyboard inactivity, and calendar occupancy to identify safe windows for weight updates.

The implication for AgentFly's design: its case bank addresses the fast-timescale adaptation problem, but the underlying LLM policy weights remain static — meaning failures that require new capabilities (not just new cases) cannot be resolved by case-based retrieval alone. A dual-timescale architecture would extend AgentFly with idle-window fine-tuning over the accumulated case bank as training data. The case bank becomes both the working memory (fast retrieval) AND the training dataset (slow weight updates). This is what Does agent memory degrade when continuously consolidated? also points toward — the right architecture preserves raw cases as first-class evidence but uses them deliberately for both retrieval and training, with explicit gating.

The corollary: when memory-based RL is presented as "no fine-tuning needed," that framing is correct for the deployment cost story but incomplete for the capability story. Fine-tuning during idle windows is essentially free in production cost terms, and addresses what memory-only systems cannot.

Inquiring lines that read this note 205

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

How can personalization improve language model behavior without harm? Can agent-created code become persistent, reusable infrastructure that improves over time? Can AI systems sustain recursive self-improvement without human intervention? What persistent memory architectures best support learning across sessions? How should agents consolidate and structure memory for optimal performance? Can agents learn from feedback and experience to improve behavior? Why do agents report success despite failing to complete actions? How should AI memory systems align with users' preferences and mental models? How does AI exposure reshape employment through job displacement and task reallocation? Why does model self-revision amplify confidence in incorrect answers? Can neural networks achieve compositionality without explicit mechanisms? Why do multi-agent LLM systems struggle with coordination and genuine deliberation? Can protocol compliance guarantee semantic correctness in distributed validation? What determines whether models prioritize training knowledge over retrieved context? How do architecture and coordination patterns drive multi-agent reliability? How can AI systems maintain consistent personas across conversations? How do parameter-efficient methods maintain performance while reducing training cost? How does AI assistance shape human judgment and decision quality? How do LLMs perform reasoning effectively despite gaps between process and output? How important is reward engineering relative to pretraining for reasoning? How should reinforcement learning training be optimized for language models? What determines how people perceive and trust AI socially? How do we balance AI agent autonomy with meaningful user oversight? What limits language models' ability to retrieve information reliably across longer contexts? How does policy entropy collapse constrain the scaling of reasoning RL? What tradeoffs emerge from fine-tuning models for extended reasoning? Does parallel reasoning outperform sequential approaches under comparable computational budgets? Does chain-of-thought reveal genuine reasoning or merely imitate learned behavior? How does task-specific training affect model generalization and capability transfer? What gap exists between benchmark scores and genuine language model capabilities? Can RL enable genuinely new reasoning or just optimize existing capabilities? How well do LLM user simulators replicate authentic human dialogue patterns? How can recorded evidence establish trustworthy accountability for AI agents? What conditions and architecture enable effective agent ecosystems? Why do multi-agent systems converge on shared wrong answers? How reliably do confidence signals indicate reasoning quality in language models? How well do evolved harness optimizations transfer across different tasks and domains? How should design principles adapt for AI-generated interfaces? Can iterative DPO substitute for online RL in studying misalignment? How do architectural constraints limit monolithic LLM performance on complex tasks? What trajectory qualities should agent evaluation measure beyond task success? How reliably do planted shortcuts measure real reward hacking in agents? How do agents embed misalignment in routine communication? What makes language models vulnerable to prompt injection attacks? Does learning from external critique outperform self-directed correction? What coordination failures emerge when multiple AI agents work together? Why does iterative refinement amplify reasoning errors instead of correcting them? How does evolutionary search at inference time compare to other test-time methods? What prevents AI agents from achieving claimed real-world autonomy? What hidden capabilities and concerning behaviors do frontier models already exhibit? How do AI shopping agents perform as marketplace decision-makers? How do different users balance AI autonomy against oversight needs? What makes AI failures visible and contestable to users? How do inference costs and infrastructure economics shape AI adoption? How do supervised fine-tuning and reinforcement learning compare in preserving reasoning quality?

Related concepts in this collection 9

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
18 direct connections · 121 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

memory-based online reinforcement learning enables continual agent adaptation without fine-tuning through episodic case-based reasoning