---
title: Chats and sessions
description: Managing sessions, attachments, tool-call records, and permission prompts.
section: guide
order: 30
updated: 2026-11-09
translation_of: zh
source_sha: 3d406097af97
---
# Chats and sessions
## The chat list
Chats are under "Chats" in the sidebar. The sidebar is normally collapsed to a column of icons and expands when you hover over it; chats are listed only while it is expanded:
- Pinned chats are under "Pinned"; the rest are under "Recent".
- The "…" menu on each row lets you rename, pin (or unpin), or delete a chat.
- Two buttons sit at the right of the "Chats" row: **New chat**, and **Start a chat around a folder**. Pick a folder and the assistant reads and writes files in it. Folders such as your home directory or system directories can't be picked.
"Chats" is greyed out until a model is connected.
Chats that belong to a project aren't in this list. They are in the assistant panel on the right side of the project; see [Organizing work with projects](/en/guide/projects.md).
## Sub-agents
The assistant can hand part of its work to a sub-agent and choose a role for it based on the task (see [Roles](/en/guide/models.md#roles)). Click the "Experts and tools" button at the right of the input box:
- The "Experts" column lists the sub-agents in this chat. Click one to see how it is working. Each has a "Model" dropdown where you can switch it to a different role or a specific model; the change takes effect from its next step.
- The "Tools" column lists the tools the assistant can use in this chat. You can check or uncheck them here.