Skip to content

Contexts

Context managers handle conversation memory, token limits, and optional persistence.

Available Contexts

Context Description Repository
Simple In-memory context GitHub
Persistent File-backed persistence GitHub

No modules found.

Configuration

session:
  context: context-persistent  # or context-simple

context:
  config:
    max_tokens: 100000
    compaction_strategy: truncate

Contract

See Context Contract for implementation details.