the.ai

Agents / State

verified

Agent Memory

The context window is an agent's entire working memory, and it is small and expensive. Anything that has to survive past it must be written somewhere else and fetched back — which turns memory into a retrieval problem: deciding what is worth keeping, and recognising later that it is relevant.

Viz primitive · budget-splithistory-tokens = 2000

history-tokens holds 50% of the budget; rest holds the remaining 50%.

Context held by past steps against the room left for the current one, in tokens. Drag the history to watch the working space disappear.

2000

Reviewed by opendroid · 2026-08-04