zeph-context
Context budget, lifecycle management, compaction strategy, and stateless context assembler for the Zeph AI agent.
This crate contains the stateless and data-only parts of context management extracted from
zeph-core. It has no dependency on zeph-core — callers implement the IndexAccess trait and
populate ContextMemoryView before each assembly pass.
Modules
budget—ContextBudgetandBudgetAllocationfor token budget calculationmanager—ContextManagerstate machine andCompactionStatelifecycle trackingassembler—ContextAssemblerparallel fetch coordinatorinput—ContextAssemblyInput,ContextMemoryView,IndexAccesstraitslot—ContextSlot,CompactionOutcome, message-chunking helperserror—ContextError
License
MIT OR Apache-2.0