docs/workspaces/sessions.mdx
Sessions are conversation threads with coding agents within a workspace. Each session maintains its own conversation history, allowing you to work on different aspects of a task or try alternative approaches.
A session is a single conversation with a coding agent. Think of it like a chat thread:
AI models have a context window - a limit on how much text they can "remember" in a conversation. When you hit this limit:
Solution: Start a new session. The new session gets a fresh context window while still having access to all your files.
<Tip> Watch the **context gauge** in the chat interface. When it shows high usage (orange/red), consider starting a new session. </Tip>To switch to a different session:
The dropdown shows:
Sessions can be in different states:
| State | Description |
|---|---|
| Running | Agent is actively processing and making changes |
| Idle | Waiting for your input |
| Needs Attention | Agent is waiting for approval or has a question |
The workspace sidebar shows the overall workspace state based on its sessions.
Sessions are automatically named based on the initial task description. Currently, session names cannot be manually changed.
Each session maintains its complete conversation history. Scroll up in the conversation panel to view earlier messages and agent actions.
If an agent is running in the current session:
Different sessions can use different agents:
When multiple sessions make changes to the same files: