Periodically, Kairos pauses ordinary work and consolidates memory — a structured offline pass we call a dream. It is structurally analogous to sleep-dependent memory consolidation: sample related observations, find non-obvious connections, distill durable lessons, stage the result for the agent’s next wake-time review.Documentation Index
Fetch the complete documentation index at: https://docs.backant.io/llms.txt
Use this file to discover all available pages before exploring further.
Dreams do not mutate long-term memory directly. They produce candidates that the agent accepts or rejects on the next wake. You always have an opportunity to review before consolidations become durable.
When dreams fire
Dreams are triggered by a pressure score that combines several operational signals (work elapsed since last dream, unresolved retries, observation novelty, log volume, a few more). When pressure crosses a threshold, the next turn is a dream. A safety floor guarantees a dream every N turns even when pressure is low; an anti-thrash floor prevents back-to-back dreams. Thresholds are tuned ongoing.backant dream stats
Summary of recent dreams:
- When it happened
- How many candidate consolidations were produced
- How many edge proposals were made
- How many were accepted vs. rejected during the next wake-time review
backant dream replay
Walk through a past dream as an annotated timeline:
- Sample: which entries were drawn for this dream
- Coactivate: which pairs the model identified as related
- Reflect: how the model rewrote / clustered the related entries
- Bucket-write: which staged candidates were produced
- Edge-propose: which links between entries were proposed
The five stages (briefly)
Reviewing dream output
You don’t normally need to review dream output by hand — Kairos does that automatically on the next wake via thewake_edge_triage and dream-bucket verdict tools. But if you want to:
Why offline?
Mutating memory on every write would couple every observation to a reasoning pass — expensive and noisy. Batching consolidation into structured offline passes:- Keeps live work fast (no consolidation cost paid on the critical path)
- Lets the consolidation use a stronger reasoning model than live work
- Mirrors how biological consolidation actually works during sleep