Skip to main content

Module context_manager

Module context_manager 

Source
Expand description

Progressive Context Management for Skills

Manages skill context loading with memory efficiency through:

  • Progressive disclosure (metadata → instructions → resources)
  • Context budget tracking and enforcement
  • LRU eviction for unused skills
  • Memory usage monitoring
  • Skill state persistence

Structs§

ContextConfig
Configuration for context management
ContextManager
Progressive context manager
ContextStats
Context management statistics
ContextUsage
Context usage tracking
PersistentContextManager
Context manager with persistence support
SkillContextEntry
Skill context entry

Enums§

ContextLevel
Skill context loading levels
EvictionPolicy
Context eviction policies