Skip to main content

Module layout

Module layout 

Source
Expand description

Context window layouts and memory maps.

A layout defines the complete memory structure for an agent’s context window, including all regions, their sizes, and eviction priorities. This is analogous to a hardware memory map that defines where different types of data live and how they’re managed.

Structs§

ContextLayout
A ContextLayout defines the complete memory map for an agent.
RegionDefinition
Definition of a region in a layout.

Enums§

BudgetSpec
How a region’s token ceiling is expressed before it is resolved against a concrete model context window.
RegionSeed
Where a region’s initial content comes from at run start.