-
01
A cache that holds
The lookback window is anchored with hysteresis: it grows for a while instead of sliding every turn. It cuts the head only when the hidden part is at least twice the kept window, a cache-payoff gate; below that, the whole archive goes out and the cache absorbs it. Earlier images and reasoning stay where they were, so they never force a rewrite.
9
prefix breaks in 288 turns. The others that trim: 74 to 220.
hidden ≥ 2 × kept cut the head
otherwise send it all; the cache absorbs it
-
02
Lookback and Loopback
Only the last 20 user turns go to the API by default, and you can set anywhere from 2 to 250. The cut falls on user-turn boundaries, so every tool call stays paired with its result. The whole conversation stays on your machine, and the agent searches it itself with its Loopback tool: status, show, head, search.
The trade, said plainly: the model sees 28.0% of old history verbatim, against 46.1% for Claude Code. Loopback is how it gets the rest back. Dulus is the only harness in the arena whose agent can re-read dropped history: measured for Dulus, estimated as absent for the other six.
20
user turns sent, by default. From 2 to 250.
archive, on your machine last 20 turns, sent
Loopback(action="search")
-
03
A Python console for the model
The Python tool is a persistent kernel: variables, imports and data survive between calls. So the model keeps big data in the kernel’s memory instead of the conversation, and only the slice it prints enters the context. An infinite loop or a crash kills the kernel, never Dulus, and it restarts on the next call.
20,000
characters per stream at most, capped at the source. Timeout: 30 s by default, up to 300 s.
>>> runs = load("ci/") stays in the kernel
>>> failing(runs)[:3] only this reaches the context
-
04
MemPalace
Memory is markdown, filed in a palace of halls that you can open and edit. The essentials, short_memory and the gold memories, load at the start of every session, on every surface. The agent saves what it learns and searches the palace with its own memory tools.
Every session
the essentials load first: short_memory and the gold memories.
- soul
- facts
- events
- discoveries
- preferences
- advice