---
title: "Sessions"
description: "Work with AI agents in multiplayer sessions. Queue or steer follow-ups, rewind, open side chats, use Plan mode and Goals, and scale with subagents and subsessions."
url: "https://www.thecompany.company/docs/agent/sessions"
---

# Sessions

> Work with AI agents in multiplayer sessions. Queue or steer follow-ups, rewind, open side chats, use Plan mode and Goals, and scale with subagents and subsessions.

A session keeps a task, its conversation, its cloud workspace, and its outputs in one thread. Open a **New session** for an unrelated task; stay in the same session to refine requirements, review deliverables, or follow up on results.

![The sidebar listing sessions in folders, each with its state and linked pull requests](https://www.thecompany.company/docs/screenshots/light/session-list.webp)

The sidebar lists your sessions by folder, with each one's state at a glance.

## Queued messages and steering [#queued-messages-and-steering]

You do not need to wait for a turn to finish before sending your next instruction.

| What you want | How to do it |
| --- | --- |
| **Queue a follow-up** | Send a message while the agent is working. It waits behind the active turn, and you can edit or cancel it before it runs. |
| **Steer immediately** | Select **Send now** on a waiting message to deliver it at the agent's next step without canceling in-flight work. |
| **Attach files** | Drop CSVs, PDFs, screenshots, or logs into the composer and specify what to check. |

> Compare these two CSVs by invoice ID. Show me which totals changed and flag rows you couldn't match. Don't update either file.

> The failing job is the Linux build, not macOS. Inspect the Linux log I just attached and stop investigating the macOS failure.

**Send now** changes what the agent sees next; it does not undo file changes already written during the turn.

## Rewind and fork [#rewind-and-fork]

When a conversation heads in the wrong direction or you want to test an alternative, branch from an earlier point:

- **Rewind from here (`/rewind`):** Click **Rewind from here** on an earlier message or type `/rewind`. Later messages remain on the original branch while the chosen message returns to your composer to edit or retry.
- **Fork session:** Select **Fork session** from the session menu to start a separate session from a copy of the current conversation without altering the original thread.

## Side chats [#side-chats]

Type `/side` or `/btw` (optionally followed by a question) to open a side chat in the side panel. A side chat inherits the conversation so far so you can ask a tangent question, verify an assumption, or inspect a detail without interrupting the main thread.

## Plan mode and Goals [#plan-mode-and-goals]

### Plan mode (`/plan`) [#plan-mode-plan]

Toggle **Plan** in the composer or type `/plan` to have the agent research first, ask clarifying questions, and present a reviewable plan before making changes. Review the plan in the conversation, request adjustments, or approve it to start execution.

Use Plan mode for complex changes with multiple valid approaches, cross-system work, or unclear requirements.

### Goals (`/goal`) [#goals-goal]

Toggle **Goal** or type `/goal` to keep the agent pursuing a defined outcome across multiple turns and background waits instead of stopping after a single reply. State the finish condition clearly and note any boundary where it should pause for input.

> Make the failing export test pass and open a draft PR. Stop and ask if the fix would change the CSV format. Don't merge.

## Subagents and subsessions [#subagents-and-subsessions]

For larger tasks, split work across parallel helpers or linked child sessions instead of running everything sequentially in one thread.

| Pattern | How it runs | Where results go | Best for |
| --- | --- | --- | --- |
| **Subagent** | Bounded helper inside the current session (starting fresh from a brief or branching from the conversation so far). | Reports back to the main agent in this session. | Parallel research, independent checks, second-opinion reviews, or specialized roles such as read-only code search or browser and computer control. |
| **Subsession** | Linked child session with its own full conversation and follow-ups. | Reports back to the parent session when done or blocked. | Multi-turn deliverables that need their own thread, PR, or ongoing ownership. |
| **Fork session** | Independent copy of the current conversation. | Stays independent; does not report back. | Exploring a separate direction on your own. |

> Open a linked subsession for the migration guide with its own machine, and run a read-only subagent in parallel to check whether this change breaks older exports.

### Choosing where a subsession runs [#choosing-where-a-subsession-runs]

Subsessions share the parent session's computer by default. Request a dedicated computer to isolate heavy builds or local services, or a snapshot copy of the parent session's current files and state. When parallel writers share a computer, give each one separate paths or its own [worktree](/docs/agent/computer#parallel-branches-with-worktrees).

### Managing linked subsessions [#managing-linked-subsessions]

- **Claim, reparent, or release:** Ask the agent to claim an existing session under the current one, move a subsession to another parent, or release it to stand alone (within the same user and organization).
- **Archiving:** Archiving a parent session also archives its subsessions. Release any subsession that should keep running independently first.
- **Follow-up work:** Reuse an existing subagent or subsession for follow-up fixes so it keeps its context and workspace.

## Background states and notifications [#background-states-and-notifications]

You do not need to keep a session open while the agent waits for CI checks, reviews, or delegated work. Closing the app never cancels a running turn or an arranged wait.

| State | What it means |
| --- | --- |
| **Working** | The agent is actively running the current turn. |
| **Waiting** | Work is paused on an external event or delegated report and resumes automatically when it arrives. |
| **Needs you** | A question, approval, draft card, or blocker is waiting for your input. |
| **Done** | The agent verified and reported the outcome. Reply anytime to follow up. |

Specify what the agent should watch for and what to do when the event arrives—asking it to open a PR is different from asking it to monitor checks until green.

> Watch this pull request's checks. If one fails, inspect the failure and fix it if this branch caused it. Tell me when checks pass. Don't merge.

### Notifications and Slack [#notifications-and-slack]

Configure **In-app** and **Push** alerts in **Settings → Preferences → Notifications** for events such as **Session done**, **Session needs you**, and **Session failed**, and enable **Push to this device** on each browser or device where you want alerts.

If a session is bound to a [Slack thread](/docs/integrations/slack), replies and deliverables arrive in that thread automatically.

## Slash commands and organization [#slash-commands-and-organization]

Type `/` in the composer to access built-in commands and installed [skills](/docs/customize/skills):

| Command | Action |
| --- | --- |
| `/plan` | Switch into Plan mode |
| `/goal` | Arm your next message as a long-running Goal |
| `/side` or `/btw` | Open a side chat with the conversation so far |
| `/rewind` | Branch back to an earlier message |
| `/compact` | Compact earlier conversation context |
| `/rename <title>` | Rename the current session |
| `/archive` / `/unarchive` | Archive or restore the session |
| `/new` | Start a new session |

Use **Pin** in the session menu to keep active work at the top of your sidebar, **Archive** when finished, add tags to filter across sessions, and press `Cmd+K` (`Ctrl+K` on Windows and Linux) to search across all sessions.

## Next steps [#next-steps]

- [Bots](https://www.thecompany.company/docs/agent/bots.md): Work with your personal bot for triage and teammate handoffs.
- [Automations](https://www.thecompany.company/docs/agent/automations.md): Run prompts on a schedule, on events, or on demand.
- [Artifacts](https://www.thecompany.company/docs/agent/artifacts.md): Create and revise standalone apps, dashboards, slides, and docs.
- [Permissions](https://www.thecompany.company/docs/agent/permissions.md): Understand draft approvals and connector tool policies.
