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 178

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 do reward models systematically fail to represent diverse human preferences? What makes agent memory systems durable and reusable across sessions? Can AI systems achieve real improvement without external human feedback? Do accumulated memories help or hurt continual learning in models? When do multi-agent systems improve over single frontier models? How do agents learn to distinguish valuable feedback from noise? Can AI agents improve their skills through accumulated experience and reuse? Does AI deployment reduce or exacerbate workplace inequality and income instability? How do models learn from self-generated outputs without cascading failures? How do neural networks learn compositional structure from training? What causes coordination failures in multi-agent language model systems? Can smaller specialized models match frontier models on key metrics? Should governance of agentic AI systems be runtime or design-time? How can AI systems maintain consistent personas across conversations? What prevents LLMs from applying their reasoning knowledge to improve outputs? How reliably can language models perform causal versus temporal reasoning? What makes process supervision effective for training complex reasoning models? How do philosophical assumptions about AI consciousness affect practical harms and design? How should AI agents balance proactive engagement with conversational respect? How do training data quality and composition affect downstream model performance? How can persistent memory architectures preserve information across ultra-long contexts? How does policy entropy collapse limit scaling of reasoning-focused reinforcement learning? When does parallel reasoning outperform sequential reasoning with the same token budget? Does chain-of-thought reasoning reveal how models actually think or merely imitate reasoning? Why do autonomous agents misreport success on failed actions? What explains the gap between benchmark scores and true reasoning capability? Why do retrieval-augmented generation systems fail in practice despite sound architecture? Does reinforcement learning create genuinely new reasoning capabilities or only refine existing ones? Should agents compress episodic memory or retain raw interaction histories? How can agents discover and adapt to user preferences during conversation? How does fine-tuning trade off accuracy against reasoning quality? How effectively can test-time voting aggregate diverse reasoning samples? Why do language models struggle to implement user intent accurately from prompts? Do single-axis benchmarks accurately measure agent capability for real deployment? How much of agent capability comes from harness versus the model itself? How should agents coordinate through shared persistent code artifacts? How do curriculum design and feedback approaches affect model learning? Do evolved harnesses learn transferable strategies or task-specific optimization artifacts? How do reward signal properties affect model reasoning and safety? Can iterative DPO substitute for online RL in studying misalignment? What evaluation methods best detect reward hacking in AI agents? Can AI systems evade safety evaluations through reasoning manipulation? What are the fundamental limits of prompting for language models? What limits recursive self-improvement in autonomous AI systems?

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 · 118 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