Research
Technical reportOct 202546 pages

Context windows and workspace memory

An examination of retrieval strategies, memory stores, and context budgeting for multi-week agent tasks.

A week-long agent task and a 30-second one are not the same problem, but they're often treated that way. This report digs into the memory and retrieval strategies that hold up over multi-week tasks — the kind an agent has to revisit, update, and act on across dozens of distinct sessions.

Context budgeting beats context maximization

Counter-intuitively, the agents that performed best on long-horizon tasks did not use the largest possible context windows. They used smaller, tightly-scoped windows refreshed against a durable memory store, and reserved the big windows for synthesis passes.

Retrieval strategies that held up

  • Hybrid retrieval (dense + sparse + structured) consistently beat dense-only across every task length.
  • Memory stores partitioned by task lineage — not a global store — reduced cross-task contamination by 47%.
  • Periodic summarization passes kept the working context under budget without losing key facts.

The full report includes ablation studies, a reference memory schema, and the evaluation harness we used to measure context quality independent of end-task success.