Building Context
Use thebuild_context() method to generate a ContextPackage.
Presets
Mneno comes with several built-in presets for common use cases:cheap: Smallest useful context, optimized for cost. (max 400 tokens)balanced: Default tradeoff between quality and cost. (max 1200 tokens)high_recall: Includes more context to avoid missing useful memories. (max 2500 tokens)agent_state: Prioritizes operational state, goals, constraints, and preferences.
Custom Policies
For full control, you can define aContextPolicy.
Policy Parameters
Explainable Context
TheContextPackage contains detailed lists of included and excluded items, each with a reason.