Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
5305f21
Add Warp CLI launch docs skeleton and internal plan
hongyi-chen Jul 28, 2026
e2aebe3
Rename product to Warp Agent CLI
hongyi-chen Jul 28, 2026
9f154f6
Merge branch 'main' into hyc/launch-cli
hongyi-chen Jul 29, 2026
37fec7f
docs(cli): models and usage + reference with troubleshooting (#405)
hongyi-chen Jul 30, 2026
3daed2d
docs(cli): permissions and profiles (#404)
hongyi-chen Jul 30, 2026
95fbeef
docs(cli): cloud handoff and orchestration (#402)
hongyi-chen Jul 30, 2026
d12e1b6
docs(cli): agent conversations and conversation management (#399)
hongyi-chen Jul 30, 2026
ea87e8c
docs(cli): remove orphaned conversations stub, repoint its links (#423)
hongyi-chen Jul 31, 2026
7727639
docs(cli): remove orphaned troubleshooting stub (#425)
hongyi-chen Jul 31, 2026
9b80487
docs(cli): customization (settings, themes, statusline, rules, skills…
hongyi-chen Jul 31, 2026
befb385
Post-merge coherence pass on cli docs
hongyi-chen Jul 31, 2026
cc9eb98
Merge branch 'main' into hyc/launch-cli
rachaelrenk Aug 3, 2026
865773e
docs: address review feedback on agent-conversations.mdx
rachaelrenk Aug 3, 2026
199898f
docs: address review feedback on cloud-and-orchestration.mdx
rachaelrenk Aug 3, 2026
37113c0
docs: address review feedback on models-and-usage.mdx
rachaelrenk Aug 3, 2026
5ad083d
docs: fix statusline default-items accuracy and add screenshot
rachaelrenk Aug 3, 2026
f1acfb4
docs: address review feedback on permissions-and-profiles.mdx and ref…
rachaelrenk Aug 3, 2026
12e7b61
docs: holistic style pass across Warp Agent CLI docs
rachaelrenk Aug 3, 2026
8680705
docs: crop and highlight the CLI screenshots for clarity
rachaelrenk Aug 3, 2026
40717f2
docs(cli): overview and quickstart (#398)
hongyi-chen Aug 4, 2026
8d539e8
docs(cli): input and shell commands (#406)
hongyi-chen Aug 4, 2026
c9b330a
docs(cli): final holistic pass before launch
hongyi-chen Aug 4, 2026
f1d9c56
docs: keep local pricing drafts out of the launch branch
hongyi-chen Aug 4, 2026
dc0b18e
Merge branch 'main' into hyc/launch-cli
hongyi-chen Aug 4, 2026
27679de
docs(cli): fix TOC-visible VARS tokens in headings, shorten nav label
hongyi-chen Aug 4, 2026
cbe1bce
docs(cli): use right-caret prompt chevron for the Agent CLI nav icon
hongyi-chen Aug 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default defineConfig({
customSets: [
{ label: 'Terminal', description: 'Warp Terminal features and configuration.', paths: ['terminal/**'] },
{ label: 'Agents', description: 'Warp\'s agents: capabilities, local agents, and CLI agents.', paths: ['agents/**'] },
{ label: 'Warp Agent CLI', description: 'The Warp Agent CLI: agent conversations, shell commands, permissions, and configuration in any terminal.', paths: ['cli/**'] },
{ label: 'Oz Platform', description: 'Warp\'s Oz platform: cloud agents, orchestration, triggers, integrations, environments, harnesses, and self-hosting.', paths: ['platform/**'] },
{ label: 'Code', description: 'Code editor, code review, and Git worktrees.', paths: ['code/**'] },
{ label: 'Enterprise', description: 'Enterprise features, SSO, team management, and security.', paths: ['enterprise/**'] },
Expand Down
Binary file added src/assets/cli/tui-agents-tab-bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/cli/tui-statusline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 146 additions & 0 deletions src/content/docs/cli/agent-conversations.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
---
title: "Agent conversations in the Warp Agent CLI"
description: >-
Learn about agent conversations in the Warp Agent CLI, including streamed responses, tool
calls, diffs, task lists, plans, plus how to manage and resume conversations.
---
import { VARS } from '@data/vars';

When you send the agent a prompt in the {VARS.WARP_CLI}, the conversation appears as a scrollable transcript directly in your terminal. Responses stream in as they're generated, and everything the agent does renders inline: tool calls, file diffs, questions, task lists, and plans. Conversations persist as you work. You can start a new conversation, browse history, compact context, and [resume after exiting](#resuming-conversations).

## The conversation transcript

The agent's response streams into the transcript below your prompt as it's generated. Press `Ctrl+C` once to stop a response that's still in progress.

Responses render as formatted Markdown, including syntax-highlighted code blocks and tables. Be aware of a few terminal-specific caveats: Mermaid diagrams appear as their source in a code block, images show their alt text instead of rendering inline, and very long code blocks are truncated to keep the transcript responsive.

## Tool calls

Every tool call the agent makes appears inline in the transcript, in the order it happens. Most render as a one-line status row with a state glyph and a label describing the action, like "reading a file" or "searching your codebase".

Some tool calls render richer, interactive content:

* **[Shell commands](/cli/input-and-shell-commands/#shell-mode)** - Commands run in your session, with output streamed into the transcript.
* **[File edits](#code-diffs)** - Expandable diffs with per-file headers.
* **[Questions](#agent-questions)** - Interactive option prompts.
* **[Plans](#planning)** - Inline plan documents.

When a tool call needs your approval before it runs, an approval card appears in place of the input. See [permissions in the CLI](/cli/permissions-and-profiles/) to learn how approvals work.

## Code diffs

When the agent edits files, the edit renders as a diff in the transcript:

* **Per-file sections** - Each edited file gets its own header showing the action taken and the lines added or removed.
* **Multi-file edits** - Each file's section nests, indented, under one collapsible summary header (for example, `Edited 3 files`).

Diffs are fully expanded while the agent waits for your approval, then collapse to their headers once the edits are applied. Press `e` while the approval card is active to expand or collapse all diffs at once.

## Thinking blocks

For models that expose their reasoning, the agent's thinking streams into a collapsible section with the header `Thinking...`, which collapses to a single `Thought for` row once it finishes.

## Agent questions

When the agent needs a decision from you mid-task, it asks a question with an interactive option list that temporarily replaces the input. Use the arrow keys to navigate between options, or press an option's number on your keyboard to select it. **Other…** accepts a free-form answer when the listed options don't fit.

Options the agent suggests as the best fit are labeled `(recommended)`. For multi-select questions, chosen options are marked with a check mark so you can select more than one. When the agent asks several questions at once, the card advances through them.

## Task lists

For multi-step work, the agent tracks its progress with a task list rendered directly in the transcript under a `≡ Tasks` header. Each task row starts with a status glyph:

* `◌` - Pending
* <code class="glyph-attention">●</code> - In progress
* <code class="glyph-success">✓</code> - Completed

Canceled tasks appear struck through. As the agent finishes tasks, compact confirmation rows (e.g., `✓ Completed <task> (2/5)`) track progress without repeating the whole list.

Task lists in the CLI reflect the same agent behavior as in the Warp app. Learn more about [how task lists work](/agents/capabilities/task-lists/).

## Planning

To have the agent first research and produce a plan before making changes, use the `/plan` slash command followed by a description of your task. You can also ask for a plan in natural language.

The plan renders inline in the transcript as a formatted document with its own header row showing the plan's status. An `Updated plan` entry appears when the agent revises it. Press `Ctrl+Shift+P` to expand or collapse the latest plan.

Planning in the CLI follows the same workflow as the Warp app. See [Planning](/agents/capabilities/planning/) to learn how to create, review, and execute plans.

## Selecting and copying output

Select text anywhere in the transcript by clicking and dragging with the mouse. Releasing the mouse button copies the selection automatically.

To copy an entire conversation as Markdown, use the `/export-to-clipboard` slash command, or use `/export-to-file` to save it to a file.

:::note
In local sessions, the CLI writes directly to your system clipboard. Over SSH, it copies through your terminal using OSC 52 escape sequences (including from inside tmux), so the text lands on your local clipboard. Terminals that disable OSC 52 may ignore the copy.
:::

## Managing conversations

The CLI saves every agent conversation as you work, so closing your terminal won't lose your progress.

### Conversation persistence

Conversations save to your Warp account, so the same history is available in the Warp app and on your other devices. Reopening a conversation restores the full transcript, including agent responses, tool calls, and file-edit diffs. You can continue prompting from where the agent left off.

The CLI shows one conversation at a time. Opening a past conversation replaces the current transcript, and the previous one remains available in history. You can't switch conversations while the current conversation is responding or a command is running. Finish or stop it with `Ctrl+C` first.

### Starting a new conversation

Use any of these slash commands to clear the transcript and start a fresh conversation:

* `/new`
* `/agent`
* `/clear`

Each command accepts an optional prompt. For example, `/new write tests for the parser` starts a new conversation and immediately sends that prompt to the agent. To keep the history but reduce its size instead, use [`/compact`](#compacting-context).
Comment thread
rachaelrenk marked this conversation as resolved.

### Conversation history

To browse and reopen past conversations, you can open the conversation menu in two ways:

* **`/conversations`** - Run the slash command from the input.
* **`←`** - Press the left arrow key when the input is empty and the cursor is at the start.

The menu lists your Warp Agent conversations, including conversations started in the Warp app and completed cloud agent runs tied to your account. Start typing to filter the list by title.

:::caution
If the CLI can't load conversation data from Warp's servers, the menu shows conversations from your local device only and displays a warning. Conversations from other devices reappear once the connection recovers.
:::

To continue a cloud agent run from the CLI, or to hand the current conversation off to a cloud agent, see [cloud handoff and orchestration](/cli/cloud-and-orchestration/).

### Resuming conversations

There are two ways to pick a past conversation back up:

* **The [conversation menu](#conversation-history)** `(recommended)` - From a running session, press `←` or run `/conversations`, then filter to the conversation you want.
* **`warp --resume`** - Reopens a specific conversation from your shell as the CLI starts, without going through the menu.

When you exit the CLI with a non-empty conversation, it prints the `--resume` command for that conversation:

```bash
To continue this conversation, run:
warp --resume YOUR_CONVERSATION_TOKEN
```

`YOUR_CONVERSATION_TOKEN` is a conversation identifier generated by Warp. For the complete list of command-line flags, see the [CLI reference](/cli/reference/).

### Compacting context

Long conversations eventually fill the model's context window, which can degrade response quality. The `/compact` command frees up context by asking the agent to summarize the conversation history so far and carry only the summary forward.

* **`/compact`** - Summarizes the conversation history with default instructions.
* **`/compact <instructions>`** - Adds custom summarization instructions. For example, `/compact keep the API design decisions` tells the agent what to preserve in the summary.

After compaction, a collapsed **Conversation summary** block appears in the transcript, and the conversation keeps working normally with the summary standing in for the compacted history.

## Related pages

* **[Permissions and profiles](/cli/permissions-and-profiles/)** - Approve, reject, or auto-approve the agent's tool calls.
* **[Input and shell commands](/cli/input-and-shell-commands/)** - How commands the agent (or you) run appear in the transcript.
* **[Cloud handoff and orchestration](/cli/cloud-and-orchestration/)** - Hand off conversations to cloud agents and resume cloud runs.
* **[{VARS.WARP_CLI} reference](/cli/reference/)** - Command-line flags, slash commands, and keyboard shortcuts.
* **[Planning](/agents/capabilities/planning/)** - The full planning workflow.
* **[Task lists](/agents/capabilities/task-lists/)** - How agents create and update task lists.
Loading
Loading