-
Notifications
You must be signed in to change notification settings - Fork 20
docs(cli): overview and quickstart #398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
82a005c
docs(cli): draft Warp CLI overview and quickstart pages
hongyi-chen 9b0cd7c
docs(cli): use literal Warp CLI in frontmatter titles and descriptions
hongyi-chen 854b779
Merge remote-tracking branch 'origin/hyc/launch-cli' into hyc/launch-…
hongyi-chen e4ba919
docs(cli): rename to Warp Agent CLI in frontmatter and intro
hongyi-chen b732165
docs(cli): address PR #398 review comments
hongyi-chen 7264716
docs(cli): editorial polish on overview and quickstart
hongyi-chen 08b5f19
docs(cli): address owner review on overview page
hongyi-chen 3f2b4f8
docs(cli): trim narration of obvious mechanics from quickstart
hongyi-chen 0923f53
docs(cli): correct Warp Drive claim to saved prompts only
hongyi-chen db98885
Merge remote-tracking branch 'origin/hyc/launch-cli' into hyc/launch-…
hongyi-chen c8082c9
docs(cli): repoint links after context and conversations pages merged
hongyi-chen 819ed10
Merge branch 'hyc/launch-cli' into hyc/launch-cli-cli-overview
hongyi-chen bdcacfb
docs(cli): update overview and installation
kevinyang372 c2b1eed
docs(cli): clarify zero-state customization
kevinyang372 0e565e7
docs(cli): fix renamed agent docs links
kevinyang372 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,63 @@ | ||
| --- | ||
| title: "{{WARP_CLI}} overview" | ||
| title: "Warp Agent CLI overview" | ||
| description: >- | ||
| The {{WARP_CLI}} brings Warp's agent to any terminal. Learn what the CLI | ||
| The Warp Agent CLI brings Warp's agent to any terminal. Learn what the CLI | ||
| does, how it relates to the Warp app and Oz, and how to get started. | ||
| --- | ||
| import { VARS } from '@data/vars'; | ||
|
|
||
| {/* TODO(cli-overview): draft per drafts/warp-cli-launch-plan.md — "cli/index.mdx" section. Feature-doc content type. */} | ||
|
|
||
| The {VARS.WARP_CLI} documentation for this page is in progress. | ||
| The {VARS.WARP_CLI} brings the Warp Agent from the Warp app to the terminal you already use. Run the `warp` command to start an agent conversation: prompt the agent in natural language, review and approve its actions, and run shell commands in the same input, without changing your terminal setup. | ||
|
|
||
| ## What is the {VARS.WARP_CLI}? | ||
|
|
||
| {/* TODO(cli-overview): what it is (agent in any terminal, `warp` command), also referred to as the Warp Agent CLI. */} | ||
| The {VARS.WARP_CLI} is a standalone terminal program that runs [Warp Agent](/platform/harnesses/warp-agent/), the same agent that powers the Warp app. It renders conversations as a scrolling transcript in your terminal, with streaming responses, code diffs, tool calls, and permission requests you approve inline. | ||
|
|
||
| The CLI is also a native terminal multiplexer: it creates and maintains its own pseudoterminal (PTY). This lets you and the agent execute commands and interact with running processes through the same terminal, including prompts and full-screen terminal apps. Because it's a regular command-line program, it works in any terminal emulator, including over SSH. | ||
|
|
||
| To get a working setup in a few minutes, follow the [quickstart](/cli/quickstart/). | ||
|
|
||
| ## Key features | ||
|
|
||
| {/* TODO(cli-overview): bulleted key features list (bold term - dash - description). */} | ||
| * **[Agent conversations](/cli/agent-conversations/)** - Streaming responses with markdown rendering, file-edit diffs, tool calls, plans, and task lists. | ||
| * **[Shell commands](/cli/shell-commands/)** - Run shell commands from the same input as agent prompts, including long-running and interactive commands. | ||
| * **[Permissions you control](/cli/permissions-and-profiles/)** - Approve commands and file edits from inline request cards, or configure execution profiles and auto-approve. | ||
| * **[Persistent conversations](/cli/agent-conversations/#managing-conversations)** - Saved to your Warp account, so you can exit and resume later or switch between them. | ||
| * **[Cloud handoff and orchestration](/cli/cloud-and-orchestration/)** - Hand a conversation off to a cloud agent, continue cloud runs in the CLI, and coordinate multiple agents. | ||
| * **[Project context](/cli/configuration/#project-context-and-rules)** - The agent picks up your project's rules (like `AGENTS.md`), skills, and MCP servers automatically. | ||
| * **[Model choice](/cli/models-and-usage/)** - Pick a model per conversation, bring your own provider API keys, and track credit usage. | ||
| * **[Customization](/cli/configuration/)** - Configure themes, the statusline, and keybindings. Use your own ASCII art as the silhouette for the rotating start-screen object, and toggle the account, changelog, project, MCP, and animation sections. | ||
|
|
||
| ## How it relates to the Warp app and Oz | ||
|
|
||
| {/* TODO(cli-overview): CLI vs Warp app vs Oz platform; Warp Agent harness cross-link. */} | ||
| * **The Warp app** - The CLI runs the same [Warp Agent](/platform/harnesses/warp-agent/) harness as the Warp app, so your account, plan, model access, rules, and skills work the same in both. The CLI doesn't require the Warp app to be installed. | ||
| * **{VARS.WARP_AUTOMATION_PLATFORM}** - {VARS.WARP_AUTOMATION_PLATFORM} is Warp's programmable platform for running and coordinating agents at scale. The CLI connects to the same platform: conversations sync to your Warp account, and you can hand work off to [cloud agents](/cli/cloud-and-orchestration/) or continue a cloud run from your terminal. | ||
|
|
||
| ## Supported platforms | ||
|
|
||
| {/* TODO(cli-overview): confirm platform availability with eng before merge. */} | ||
| The CLI runs on: | ||
|
|
||
| * **macOS** - Apple Silicon and Intel. | ||
| * **Linux** - x64 and Arm64. | ||
| * **Windows** - x64 and Arm64. | ||
|
|
||
| ## Logging in and out | ||
|
|
||
| The first time you run `warp`, the CLI signs you in with a device authorization flow: it shows a verification link and code, opens your browser, and unlocks automatically once you approve the login. For non-interactive environments such as CI, authenticate with a Warp API key instead, using the `WARP_API_KEY` environment variable or the `--api-key` flag. See [logging in](/cli/quickstart/#log-in) in the quickstart for the full flow. | ||
|
|
||
| To sign out, run `/logout`. The CLI returns to its login screen and opens Warp's web sign-out page so your browser session is signed out too. | ||
|
|
||
| ## Automatic updates | ||
|
|
||
| The CLI keeps itself up to date. While it runs, it periodically checks for a newer version, downloads it in the background, and stages it without interrupting your session. The staged version takes effect the next time you launch `warp`; when an update is ready, the start screen shows an "update installed, restart to apply" notice next to the version. To turn background updates off, set `general.autoupdate_enabled` to `false` in the [settings file](/cli/configuration/). | ||
|
|
||
| ## Open source | ||
| ## Coming from the Warp app | ||
|
|
||
| {/* TODO(cli-overview): planned open-sourcing messaging; no dates or license commitments. */} | ||
| If you already use the Warp app, most of your setup carries over. Rules and skills are discovered from the same shared paths, and your saved Warp Drive prompts are available after you log in (other Warp Drive object types aren't available in the CLI). To copy compatible settings and global MCP server configurations, run the bundled `/tui-migrate-setup` skill and follow the agent's instructions. Credentials are never copied, so MCP servers that require authentication must be reauthenticated in the CLI. | ||
|
|
||
| ## Next steps | ||
|
|
||
| {/* TODO(cli-overview): links to quickstart and feature pages. */} | ||
| * [Quickstart](/cli/quickstart/) - Install the CLI, log in, and run your first prompt. | ||
| * [Agent conversations](/cli/agent-conversations/) - Learn how the transcript, diffs, and approvals work. | ||
| * [Shell commands](/cli/shell-commands/) - Run shell commands alongside agent prompts. | ||
| * [Configuration](/cli/configuration/) - Customize the CLI with the settings file. | ||
| * [Reference](/cli/reference/) - Flags, slash commands, and keyboard shortcuts. | ||
|
hongyi-chen marked this conversation as resolved.
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.