Sessions
Sessions store conversation history and tool outputs. Long sessions increase:
- prompt size (cost)
- latency (more tokens to process)
- “surprise compaction” risk if you run close to the context window
Good session hygiene improves reliability.
See also:
Practical tips
- Use separate sessions for unrelated tasks (don’t overload one “main” forever).
- Prefer tools that write artifacts to disk (workspace) instead of keeping everything in chat.
- If you run group chats, consider sandboxing non-main sessions to limit tool side effects: