How to Build AI That Gets Smarter Between Sessions

Not all AI learns from experience. The ones that do are built differently.

Neurosymbolic AI · Software Engineering · Computer Science · AI Architecture
What It Means for AI Work to Compound
The most powerful AI systems are not the ones that think fastest. They are the ones that never have to think the same thought twice.
2026

There is a version of artificial intelligence that forgets everything the moment a task ends. And then there is the version the field is quietly racing to build, one where finished work becomes the foundation for something harder.

Every time a large language model begins a new task, it starts from zero. The weights in the network carry patterns absorbed during training, but the moment a session closes, any reasoning the model performed, any intermediate conclusions it reached, any dead ends it mapped, all of it vanishes. The next session begins with the same blank slate. This is not a quirk of implementation. It is a structural consequence of how these systems are designed, and it carries a cost the field has only recently begun to quantify.

Engineers call it the cold-start tax. In infrastructure terms, a cold start means a system must rebuild its computational context before it can do useful work. In cognitive terms, the cost runs deeper: an agent that cannot retain the product of its own reasoning must re-derive conclusions it has already reached, re-explore failure modes it has already encountered, and re-solve subproblems it has already solved. Every session is the first session. Capability accumulates nowhere.

The contrast with how skilled human work develops could not be sharper. An experienced engineer does not solve the same class of problem from scratch each time. Experience condenses into reusable judgment, with patterns recognized faster, failure modes anticipated earlier, and prior solutions adapted rather than rebuilt. What makes that possible is memory, not the passive recollection of facts, but the active reuse of verified, structured knowledge. Building AI systems that do the equivalent is an engineering problem, and some of the most consequential work in the field is aimed squarely at solving it.

Cloud infrastructure teams running LLM-backed services have documented cold-start delays reaching 60 seconds of time-to-first-token when no warmed replica is available. To avoid paying that penalty on every request, operators pay continuously to keep idle instances in a ready state, a direct and measurable financial proxy for what stateless computation costs when compounding is absent.

01 Stateless reset vs. compounding accumulation
Two architectures side by side: one that discards all work at session end and restarts from zero, and one where verified outputs enter a persistent store so each session builds higher than the last.
Stateless AI Compounding AI Session 1 Problem solved Work discarded Session 2 Starts from zero again Work discarded Cold-start tax paid every session Session 1 Problem solved and verified Persistent store Verified artifacts accumulate Session 2 Builds on session 1 output Store grows Each session raises the baseline
Work discarded (stateless)
Work accumulated (compounding)
I. Compounding as an engineering property

The word "compounding" usually lives in the vocabulary of finance, where it names the mechanism by which returns earned in one period are added to the principal and earn returns in the next. The difference between additive and multiplicative growth is, given enough time, the difference between linear progress and something that behaves more like acceleration. The question a growing number of AI researchers are now taking seriously is whether computation can be architected to behave the same way.

The answer depends entirely on design. A system compounds when the output of one unit of work is preserved as a durable, verifiable artifact that becomes part of the input to future work, raising the baseline from which the next result is computed. Three engineering principles make this possible: modularity, so that work can be decomposed into units reusable as black boxes; verification, so that only trusted results enter the persistent store; and retrieval, so that accumulated work can actually be found and applied when a new problem arrives. None of these are new to computer science. They are the same principles behind memoization, content-addressed build systems, and version-controlled repositories. The insight the AI field is arriving at is that they apply equally to reasoning.

The gap between systems that compound and systems that do not is not marginal. It is the difference between a system whose capability grows with use and one whose capability resets with every session. Google's Bazel build system uses content-addressed caching to ensure that any compiled artifact is built exactly once. A compilation done on one machine is reused by every other build that would produce the same output. Teams at Google have reported build time reductions of 50 to 80 percent on large codebases from cache reuse alone, a production demonstration of what compounding looks like when the engineering principles are applied consistently.

02 The three requirements for compounding
Modularity, verification, and retrieval are the three engineering principles that allow AI work to accumulate. Each feeds into a central persistent store. Retrieval closes the loop back into future tasks.
What makes compounding structurally possible Modularity Work decomposed for reuse Verification Only trusted results enter Persistent store Verified work accumulates here Retrieval Prior work found when needed Next task starts higher Architectural requirement Persistent store Verification gate
Architectural requirement
Persistent store
Verification gate
II. Neurosymbolic systems and the knowledge that persists

The deepest obstacle to compounding in neural networks is a phenomenon called catastrophic forgetting. When a network is trained on new material, the gradient updates that improve its performance on the new task tend to overwrite the weight configurations that encoded competence on earlier ones. The network shares its parameters across everything it knows, and learning new things damages old things. A system plastic enough to acquire new knowledge is fragile enough to lose prior knowledge in the process. This is not a solvable bug in any particular model. It is a structural property of how gradient-based learning works.

Neurosymbolic architectures address the problem by separating the two kinds of work that need to happen. The neural component handles what neural systems do well: recognizing patterns, generating candidate solutions, and proposing hypotheses. The symbolic component handles what symbolic systems do well: verifying those candidates against formal rules, representing knowledge as structured and inspectable objects, and writing results to persistent storage that lives entirely outside the mutable weights. Because the symbolic layer is external, it cannot forget. A verified proof stored in a formal library persists independently of what happens to the neural component's parameters during subsequent training. The two components do not interfere with each other's accumulation.

The practical consequence is a system where the knowledge base genuinely grows. DeepMind's AlphaGeometry pairs a neural language model with a symbolic deduction engine governed by formal rules of geometry. Tested on 30 International Mathematical Olympiad problems, it solved 25, approaching the average gold medalist score of 25.9 and far exceeding the prior best symbolic-only system, which solved 10. The gap comes from the accumulation of verified geometric constructions that the symbolic layer builds and reuses across problem steps, each one a permanent artifact the system never has to re-derive. In domains where formal verification is tractable, this changes the ceiling of what AI can achieve, not by scaling compute, but by making prior work permanent in a way that gradient-updated weights cannot be.

Aerial view of a layered computational shaft with memory threads passing knowledge between strata, a visual metaphor for AI systems that accumulate verified work across sessions.

A layered computational shaft where teal and amber light threads carry verified artifacts downward between strata, each layer representing a session's accumulated output rather than a fresh start. The architecture of compounding made visible.

III. Agents that build on their own work

Voyager, an AI agent developed at NVIDIA and Caltech, plays Minecraft, and the reason it matters has nothing to do with the game. Voyager writes each skill it masters as executable code and stores it in a library indexed by natural language descriptions. When it faces a new task, it retrieves the most relevant skills, composes them, and builds upward. It never retrains. Its capability grows entirely through the accumulation and composition of verified, reusable code artifacts, and it reaches technology milestones at rates far beyond agents built on the same base model but without a persistent skill library.

The key architectural move is treating outputs as assets rather than as ephemeral results. A skill that works is not discarded after use. It is written to persistent storage in a form that can be retrieved and composed with other skills, turning the agent's history of successful problem-solving into a library that becomes more useful with every session. Catastrophic forgetting is bypassed entirely because no gradients are involved. The skills are code, verified by execution before they enter the library, and they remain correct regardless of what the underlying model does afterward. Research frameworks developed at Princeton and Carnegie Mellon have formalized this memory architecture into three distinct layers: episodic memory, which stores records of specific past experiences; semantic memory, which stores distilled facts and general knowledge extracted from those experiences; and procedural memory, which stores executable skills and strategies.

A system that maintains all three layers can, in principle, compound across all three. UC Berkeley's MemGPT implements a tiered memory architecture modeled on operating system memory management, treating the context window like RAM and external storage like disk. On the Deep Memory Retrieval benchmark, which requires accurate recall across long conversational histories, MemGPT reached 93.4 percent accuracy compared to 35.3 percent for a recursive summarization baseline using the same underlying model. The gain came entirely from the memory architecture, not from a better model. The agent grows more capable not because its model improved, but because its memory did, and that distinction matters enormously for how the field thinks about where progress actually comes from.

IV. Designing systems that accumulate

The field has arrived at a reasonably clear picture of what separates AI systems that compound from those that only appear to. Verification is the gate. Work can only be safely accumulated if it can be trusted, which means every artifact entering the persistent store must pass some external check before it is committed. Without that gate, accumulation is just error propagation at scale. The systems that have demonstrated durable compounding all share this feature. AlphaProof writes machine-checked proofs in the Lean theorem prover, where correctness is not a matter of confidence but of formal verification. Voyager commits skills only after execution confirms they work. A test suite adds a regression only after a bug has been confirmed and fixed.

The second requirement is that state must live outside the mutable model. This is the architectural principle that separates systems designed for compounding from those that fake continuity by re-injecting prior conversation turns as tokens on each new request. Token re-injection grows linearly in cost, degrades in quality as context windows fill, and discards everything when the context resets. A content-addressed store, a knowledge graph, a skill library, or a version-controlled repository of verified results makes accumulation durable in a way that no prompt engineering strategy can replicate.

What those two requirements amount to, taken together, is a system where intellectual work is treated the same way mature software engineering treats code. Work done once and verified is committed to a store where it can be retrieved and reused. Work that fails verification does not enter the store. DeepMind's AlphaEvolve generates candidate algorithms, stores the best in a persistent database, and uses a model ensemble to mutate and improve them across iterations. A scheduling heuristic it discovered for Google's internal compute infrastructure has been running in production for over a year, recovering an average of 0.7 percent of Google's worldwide compute continuously. That return does not reset between sessions. It compounds with every scheduling decision the heuristic makes, and that is what a system designed to accumulate actually looks like when it is running at scale. The field's next challenge is not building systems that perform better in a single session. It is building systems whose intelligence grows reliably between them.

03 The compounding cycle end to end
A new task arrives, retrieves prior verified work from the store, solves the problem, passes a verification gate, and commits to the persistent store. The feedback arc shows how the next session starts at a higher baseline, the core mechanism of compounding.
How compounding works end to end New task arrives Agent begins work Retrieve prior work Relevant artifacts pulled from store Solve the task Builds on prior artifacts Verification gate Passes check? Enters store. Rejected Not accumulated Fails Passes Persistent store Baseline rises for the next task Next session starts higher
Retrieval (prior work surfaces)
Verification gate
Rejected (not accumulated)
Persistent store (baseline grows)

Key references: Berkeley Artificial Intelligence Research, "The Shift from Models to Compound AI Systems," BAIR Blog, February 2024. Google DeepMind, AlphaGeometry, Nature, 2024. Google DeepMind, AlphaProof and AlphaGeometry 2, Technical Report, 2024. Google DeepMind, AlphaEvolve, Technical Report, 2025. Wang, G. et al., "Voyager: An Open-Ended Embodied Agent with Large Language Models," arXiv, 2023. Packer, C. et al., "MemGPT: Towards LLMs as Operating Systems," arXiv, 2023. Sumers, T. et al., "Cognitive Architectures for Language Agents," arXiv (CoALA), 2023. Khattab, O. et al., "DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines," arXiv, 2023. Mem0 Memory Benchmark, mem0.ai, 2024.