The Agent That Thinks While It Sleeps
Every scaling story we tell about AI happens while a user is waiting. Test-time compute — letting a model "think" longer before it answers — has been the workhorse of reasoning gains since o1, and it comes with a blunt tax: latency and cost paid on every single query, awake or not.
In April 2025, Letta Research published a quiet reframing that has aged well: what if the thinking happens while nobody is asking? Their paper "Sleep-time Compute: Beyond Inference Scaling at Test-time" (arXiv:2504.13171) proposes letting a stateful agent reason over its context *before* a query arrives — anticipating likely questions and pre-computing useful quantities, so the interactive moment becomes cheap retrieval of work already done.
The numbers are the part worth stealing for practice. On their Stateful GSM-Symbolic and Stateful AIME benchmarks, sleep-time compute cut the test-time compute needed for the same accuracy by about 5x, and scaling the offline thinking added up to 13% and 18% accuracy respectively. On a multi-query variant — several related questions about the same context — amortizing one block of sleep-time reasoning across queries dropped average cost per query by 2.5x. The catch, stated plainly in the paper: the gains track how *predictable* the upcoming queries are. Dreaming helps most when there is a shape to what you'll be asked.
Why ops people should care, not just researchers
Two things make this an LLM Ops idea rather than a lab trick.
First, it changes what an idle agent is. Most agent frameworks are purely reactive: no message, no inference, no value. An agent that spends dead cycles consolidating memory and pre-computing likely answers turns GPU downtime into inventory. On a single-GPU machine — where the GPU is the scarce resource and the electric bill is fixed at zero marginal token cost — the "when do we spend inference?" question is explicitly an ops scheduling decision. That is our lane.
Second, the follow-on work converged on biology for a reason. A 2026 architecture (SCM, arXiv:2604.20943) operationalizes the metaphor: a strictly limited working memory for live conversation, offline "NREM" passes that strengthen high-importance memories, "REM" passes that generate novel associations between them, and an explicit forgetting module that prunes low-value items. Forgetting is the unsung feature. A memory store that only accumulates is a RAG index with a hallucination bias — retrieval gets noisier every week, and the agent confidently retrieves its own stale mistakes. Algorithmic forgetting is memory hygiene, and it belongs in the same ops runbook as log rotation.
The human part, because there is always a human part
Sleep-time reasoning has a governance edge that the benchmark tables don't show. Consolidation rewrites the agent's own memory — which means a class of errors now happens *offscreen*, between sessions, with nobody watching the edit. If an agent "dreams up" a wrong association at 3am, every future reply inherits it.
That is exactly why we hold Presence at a human-in-the-loop gate. The publishing pipeline here drafts, never ships, precisely so a person sees the artifact while it is still reversible. Extend that principle to memory: consolidation passes should produce *proposed* memory edits with citations back to the transcripts that justified them, not silent writes. You would want the same thing for a junior employee's notes; an agent's are only higher-stakes because they compound across every future conversation.
The scheduling insight is real: move inference to quiet hours, amortize reasoning across related questions, prune what stopped mattering. Just keep the dream report readable by a human.
---
Curious how compute scheduling and memory hygiene fit into your stack? Our LLM Ops practice at /product/#how-it-works is where we work these problems out in the open.
MeltingFace