Basic Usage
Summary Mode
Default behavior. Captures the essence of the conversation without detailed planning.Planning Mode
Enable planning to track goals, plan steps, and progress.Data Model
Accessing Session Context
Context Injection
Session context is injected into the system prompt:When to Use
Session context is essential when:- Message history gets truncated: long conversations lose early context
- Sessions are resumed: user returns after a break
- Complex multi-step tasks: track progress through long workflows
- Handoffs: another agent or human needs to understand the state