zeph-context 0.19.0

Context budget, manager, compaction strategy, and assembler for the Zeph agent
Documentation

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

  • budgetContextBudget and BudgetAllocation for token budget calculation
  • managerContextManager state machine and CompactionState lifecycle tracking
  • assemblerContextAssembler parallel fetch coordinator
  • inputContextAssemblyInput, ContextMemoryView, IndexAccess trait
  • slotContextSlot, CompactionOutcome, message-chunking helpers
  • errorContextError

License

MIT OR Apache-2.0