Skip to content
    Ertas
    Back to blog

    Continual Learning for AI Agents: The Model Layer

    Continual learning for AI agents at the model layer: the agent's own traffic trains each new model version, scored on your evaluations before it goes live.

    A pale astronomical impression in graphite and copper, with a soft amber penumbra on warm paper.Two fine engraved orbital fields crossing in deep space, with cool cyan light and a warm distant seam.

    Continual learning for AI agents means an agent gets better from its own work after it ships. LangChain's Harrison Chase splits it into three layers: the model, the harness around it and the context it is given. This post covers the model layer, where the agent's own traffic trains the next model version, and that version goes live only after it holds the bar on your evaluations.

    Most writing on continual learning for agents covers memory, prompts and harness code, which are the quickest layers to change. The model layer sets what a repeated task costs and how reliably the agent does it, so it is the layer this post is about: what continual learning means for LLMs, when to train the model, how the release gate works, and how it differs from a one-off fine-tune.

    What is continual learning for AI agents?

    Continual learning for AI agents is the practice of turning an agent's production behaviour into changes that improve its future runs. In "Continual learning for AI agents" (5 April 2026), Harrison Chase of LangChain argues that this learning can happen at three layers, and that most discussion jumps straight to the model weights.

    The three layers, with what changes at each:

    LayerWhat changesExample
    ModelThe model's weightsSupervised fine-tuning or reinforcement learning on traces
    HarnessAgent code, built-in tools and instructionsA coding agent proposing harness edits from logs
    ContextMemory, skills and per-user instructionsAn agent updating its own memory file

    Harness and context changes are quick to make and easy to roll back, so most teams start there. Arize's developer guide to continual learning (last reviewed 16 August 2026) observes the same thing: production loops usually improve the system around the model before they update the model itself. A weight change reaches deepest of the three, which is why it needs an evaluation gate before it reaches users.

    What does continual learning mean for LLMs?

    In machine learning research, continual learning means training one model on a sequence of tasks or data while it keeps what it learned before. The hard part has a name, catastrophic forgetting: training on new data degrades what the model could already do. Michael McCloskey and Neal J. Cohen described it in 1989, and it is still a central problem in the field.

    Google Research's sleep framework (27 October 2026) starts from that problem. It describes deployed LLMs as largely static, with a fixed knowledge cutoff, and proposes an offline "sleep" phase in which the model consolidates what it saw into its weights. a16z's "Why We Need Continual Learning" (22 April 2026) places the approaches on a spectrum: retrieval with frozen weights at one end, attachable modules in the middle, and weight updates at the other end, which it describes as the most thorough approach and the hardest to put into production.

    The research meaning and the production meaning meet at the model layer. A team that retrains its agent's model on the agent's traffic is doing continual learning in the research sense, and it inherits the research problem. Our post on catastrophic forgetting in LLM fine-tuning covers the mitigations.

    When should you train the model instead of the harness or context?

    Train the model when the agent repeats the same task at volume, the same instructions travel with every prompt, or the inputs have drifted from what the model was trained on. Harness and context changes adjust what the model is told. A weight update changes what the model can do with what it is told.

    Repeated instructions cost tokens on every API call. An agent that sends the same protocol, examples and context with each request pays for them each time. A specialist trained on the task carries them in the model, so it needs fewer tokens per task, and it usually costs less per token than the frontier model it replaces. The size of the second saving depends on how much of each prompt is repeated boilerplate and whether you pay for reasoning tokens. The cost-per-task calculator works through both dimensions, and our note on AI startup gross margins shows them on real prompt sizes.

    Inputs drift, and a model trained on the old shape loses quality on the new one. In our QMSum study (arXiv 2609.25028), a released summarization specialist moved from long transcript inputs to retrieved transcript spans lost 6.30 ROUGE-1. Training it on the new input shape recovered the loss. An agent whose tools, users or upstream data change over the months meets the same effect, and a retrain on recent traffic is how the model catches up.

    Training on the task moved quality most. In the same study, within one base model, training on the span inputs added 5.29 ROUGE-1, against 1.55 from improving the inputs alone. That is one training round on a public benchmark. It shows where the leverage sits, and it says nothing yet about gains across rounds on live traffic.

    How does continual learning work at the model layer?

    At the model layer, continual learning is a loop of five steps that runs in the background while the current model keeps serving:

    1. Capture. The agent's requests and responses are logged with their outcomes: user corrections, failed tool calls, downstream checks.
    2. Curate. Candidate training examples are drawn from that traffic, and your team approves which ones the model learns from.
    3. Train. A new version trains on the approved examples, mixed with examples from earlier rounds so it keeps what those rounds taught it.
    4. Evaluate. The new version is scored against your evaluations: the task set that defines the quality bar, and a regression set of cases the current model already handles well.
    5. Release or hold. It goes live only with your sign-off. If it falls short, the current model stays in service.

    The gate in steps 4 and 5 carries most of the weight, and two habits from our research apply to it. The QMSum study ran under a frozen protocol: one scorer, the full official test split, and at most one test run per system. It also measured how much a score moves by chance: changing only the training seed moved validation ROUGE-1 by 1.59 points across two runs, enough to erase a 1.5-point configuration gain. A release gate needs both habits, with its rules fixed before the new version is scored and a margin wider than run-to-run noise.

    What the gate compares matters as much as the threshold. A score on the cases that prompted the retrain shows the fix. A regression set with cases the current model gets right, plus a few unrelated cases as Arize's guide recommends, also shows anything the fix broke. Our guide to building an eval dataset from real conversations covers how to assemble both.

    What is the difference between continual learning and fine-tuning?

    Fine-tuning is one training run on a fixed dataset; continual learning repeats fine-tuning over time on new data and has to keep what earlier rounds learned. The two use the same training methods and differ in what surrounds them.

    Fine-tuningContinual learning
    DataA fixed training setA stream of production traffic
    OutputOne trained modelA sequence of model versions
    Main riskOverfitting the training setLosing what earlier rounds learned
    CheckOne evaluation before launchA regression evaluation before every release

    Every round of continual learning is a fine-tuning run. The extra work is the bookkeeping around it: which data each round sees, what each version is compared against, and who signs off. For when a single fine-tune is the right tool at all, see is fine-tuning dead?.

    When should an agent's model stay as it is?

    Keep the current model when the task is still being defined, the volume is low, or what changes is facts. A task that changes weekly is cheaper to steer through prompts and the harness until it settles. At a few thousand tasks a month, a training round costs more than it saves. Facts that change often, such as prices, policies and inventory, belong in retrieval, where an update takes effect on the next request.

    A useful split: behaviour, format and task skill go into the model, and facts that change go into retrieval or context. Continual learning at the model layer keeps the first part current as the agent's work changes.

    Where does the Ertas endpoint fit?

    The Ertas adaptive model endpoint runs continual learning at the model layer. It serves a specialist model trained on your agents' work through one API. Once live, the specialist learns continually from your agents' traffic: each new version trains in the background and is scored against your evaluations. You approve the training examples and every release, and if a new version falls short, the current model stays in service.

    The harness and context layers stay with your agent tooling, and the endpoint sits underneath them as the model. It runs Ertas-managed, in your cloud or on-premise. The endpoint is currently invitation only, and we are developing a more streamlined version for wider access.

    Frequently Asked Questions

    Can AI agents learn continuously?

    Yes, at three layers. An agent can update its memory and context as it works, its harness can be improved between releases from logged traces, and its model can be retrained on its traffic. Model updates run in the background, and each new version is checked against evaluations before it replaces the current one.

    Is continual learning the same as continuous learning?

    In product writing the two terms are used interchangeably, as Arize's guide notes. Research uses "continual learning" for training one model across a sequence of tasks or data while preserving what it already knows.

    Does continual learning cause catastrophic forgetting?

    It can, because each training round updates weights that earlier abilities rely on. Replaying examples from earlier rounds, conservative training settings and orthogonal subspace methods reduce the risk, and a regression evaluation before each release catches what gets through.

    How often should an agent's model be retrained?

    Retrain when enough newly approved examples have built up to move the evaluation, or when monitoring shows the inputs drifting. The cadence matters less than the gate: a new version ships only when it holds the bar against the current one.

    What data does continual learning at the model layer need?

    The agent's traces: requests, responses, tool calls and their outcomes, plus an evaluation set that defines good output for the task. Corrections from users and reviewers are the most valuable examples, because they mark exactly where the current model falls short.

    The Short Version

    Continual learning for AI agents happens at three layers, and the model layer is the deepest. Training the next model version on the agent's own traffic cuts the tokens each task needs and keeps the model current as its inputs drift. It also brings back the oldest problem in the field, forgetting, so every version passes a regression gate before it takes traffic, and the current model keeps serving until one does.


    Sources, read 29 October 2026: LangChain, "Continual learning for AI agents" (Harrison Chase, 5 April 2026); Arize, "Continual learning for AI agents and LLM systems" (last reviewed 16 August 2026); Google Research, "The sleep framework" (27 October 2026); a16z, "Why We Need Continual Learning" (22 April 2026). Our research: the QMSum study (arXiv 2609.25028).