Skip to main content

Module context

Module context 

Source
Expand description

Context budget configuration for the Perceive phase.

ContextBudget controls how much context an agent receives — limiting both token count and experience count to keep within LLM context window limits.

Structs§

ContextBudget
Budget constraints for context assembly.

Functions§

estimate_tokens
Estimate the token count for a text string.