How to Train and Evaluate Continual-Learning Agents

Peter Bubenik ยท Apple ML ยท ยท Source
Image for SCLATE: A Substrate for Continual-Learning Agent Training and Evaluation

After studying this material, you should be able to:

  1. Explain what continual-learning agents are and why evaluating them is difficult
  2. Describe what SCLATE is and how it solves the scheduling problem
  3. Understand the hybrid simulated clock mechanism and why it matters
  4. Interpret the key experimental findings from SCLATE's benchmarks
  5. Connect SCLATE to broader challenges in agentic AI systems

Step-by-Step Study Material

Step 1: What Is a Continual-Learning Agent?

Think of a regular AI assistant vs. a continual-learning agent:

Regular AIContinual-Learning Agent
Single sessionMultiple sessions over days/weeks
No memory between chatsRemembers past sessions
StatelessHas persistent memory
One taskEvolving, long-horizon tasks

Key components of a continual-learning agent:

  • Models โ€” the AI doing the reasoning
  • Harnesses โ€” scaffolding/tools wrapping the model
  • Memory โ€” storage that persists across sessions

๐Ÿง  Think of it like this: A regular AI is like a doctor who forgets every patient after each visit. A continual-learning agent is like a doctor who keeps detailed notes and reviews them before each appointment.


Step 2: What Is the Core Problem SCLATE Solves?

The Scheduling Problem

When you train or evaluate a continual-learning agent, many different types of events need to happen in coordination:

Benchmark events (from the test/task side):

  • Present a new task
  • Check if the task was completed
  • Record scores

Agent-side events:

  • Session stop and start
  • Scheduled background jobs (crons)
  • Memory consolidation (organizing what was learned)

Why Is This Hard?

Existing benchmarks only schedule their own events. Each benchmark + agent pair had to build a custom scheduling loop from scratch.

This means:

  • No standardization
  • Massive duplicated engineering effort
  • Impossible to fairly compare agents across benchmarks

Analogy: Imagine every sports league had its own unique rulebook AND its own unique scoreboard system. Comparing athletes across leagues would be nearly impossible.


Step 3: How Does SCLATE Solve This?

The Core Solution: One Open Event Scheduler

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         SCLATE Event Scheduler      โ”‚
โ”‚                                     โ”‚
โ”‚  Benchmark Events  โ”‚  Agent Events  โ”‚
โ”‚  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”‚
โ”‚  โ€ข New task        โ”‚  โ€ข Session end โ”‚
โ”‚  โ€ข Score check     โ”‚  โ€ข Cron jobs   โ”‚
โ”‚  โ€ข Task deadline   โ”‚  โ€ข Memory sync โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Both the benchmark and the agent add their events to one shared scheduler through an adapter.

What Is an Adapter Here?

An adapter is a connector that lets unmodified benchmarks and agents plug into SCLATE without rewriting their code.

โœ… Key benefit: You don't need to change your existing agent or benchmark code โ€” just connect through the adapter.


Step 4: The Hybrid Simulated Clock

This is one of SCLATE's most clever features.

The Problem With Time

A real continual-learning scenario might span one month. You cannot literally wait a month to train or evaluate an agent.

SCLATE's Solution: Two-Mode Clock

ModeWhen It ActivatesWhat It Does
Real timeWhen the agent is actively workingClock runs normally
Skip modeWhen nothing is happening (idle gaps)Clock jumps forward

Result: A month-long scenario compresses into hours.

๐Ÿ• Analogy: Like fast-forwarding a movie during boring parts but playing at normal speed during action scenes.


Step 5: SCLATE as a Rollout Engine

Beyond scheduling, SCLATE also acts as a rollout engine โ€” meaning it can:

  1. Run any agent's harness and memory unmodified
  2. Record everything โ€” every token, every log probability from every model call
  3. Do this through an in-container proxy (a transparent recorder inside the execution environment)

Why Does Recording Tokens and Log Probabilities Matter?

  • Enables post-training (teaching the model to improve based on what it did)
  • Enables detailed analysis of agent behavior
  • Creates a complete audit trail

Step 6: What Did the Experiments Show?

SCLATE was used to run large-scale comparisons:

  • 7 benchmarks ported to SCLATE
  • 10 agent configurations (harness + memory combinations)
  • 10 models tested

Finding 1: Added Memory โ‰  Better Performance

"An added memory system does not reliably beat the harness's native memory."

This is surprising and important. Many researchers assume adding external memory always helps. SCLATE's controlled comparison shows this is not guaranteed.

Finding 2: Models Use the Same Tools Differently

"Models differ widely in how they use the same harness and memory."

Same tools, different models โ†’ very different behaviors. This means model choice matters as much as tool choice.


Step 7: Post-Training Results

The researchers trained Qwen3.5-4B through SCLATE using unmodified harnesses and memory systems.

What the Model Learned:

MetricResult
File lines read6.8ร— fewer (more efficient searching)
SWE-bench Verified pass rate+16.7 points higher
Memory records writtenRicher, more detailed
MetaClaw held-out accuracy+11.8 points improvement

๐ŸŽฏ The model didn't just get better scores โ€” it learned smarter behaviors: reading less, remembering more meaningfully, and solving harder problems.


Step 8: Connecting to the Bigger Picture

SCLATE connects to two broader research directions mentioned in the article:

1. Shared Selective Persistent Memory

  • Problem: Each session starts from zero
  • Naive solution (save everything) is token-inefficient and harmful
  • Need: Selective persistence โ€” save what matters, discard what doesn't
  • SCLATE enables studying this systematically

2. AgentBuilder / Agent Experience Design

  • As agents become more capable, non-engineers need tools to design agent experiences
  • SCLATE provides the infrastructure layer that makes agent development more systematic

Summary Diagram

PROBLEM
  โ””โ”€โ”€ Continual-learning agents need coordinated scheduling
        of benchmark + agent events โ†’ no standard way existed

SCLATE SOLUTION
  โ”œโ”€โ”€ Unified Event Scheduler (benchmarks + agents plug in via adapters)
  โ”œโ”€โ”€ Hybrid Simulated Clock (real-time during work, skip during idle)
  โ””โ”€โ”€ Rollout Engine (records all tokens/log probs via proxy)

RESULTS
  โ”œโ”€โ”€ Fair comparison: added memory โ‰  always better
  โ”œโ”€โ”€ Model behavior varies widely with same tools
  โ””โ”€โ”€ Post-training improves efficiency + accuracy significantly

Quick Self-Check Questions

  1. Why can't you just use existing benchmarks to evaluate continual-learning agents?
  2. What two modes does SCLATE's hybrid clock operate in, and when does each activate?
  3. What was the surprising finding about added memory systems?
  4. How did post-training through SCLATE change the model's file-reading behavior?
  5. Why does recording log probabilities enable post-training?

More to study