Expand description
Agent state management.
This module manages the runtime state of the Agent, including:
- Message history
- Token usage tracking
- Pending inputs
- Todo reminders
- Read history
By extracting state into a dedicated struct, we enable:
- Clear separation between state and configuration
- Easier testing of state transitions
- Better encapsulation of mutable state
Structsยง
- Agent
State - Agent runtime state.