Skip to content

Terminal > Migrate to Warp

Migrate to Warp from Claude Code

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Keep using Claude Code in Warp — with rich input, code review, and notifications — or switch from Claude Code to Warp's Agent Mode as your primary coding agent.

Claude Code is different from the other sources in this section: it’s not a terminal emulator, it’s a CLI agent that runs inside any terminal. Warp is an agentic development environment with a built-in code editor, Code Review, team collaboration, and MCP support — so you have two paths to choose from:

Warp provides first-class support for Claude Code through its third-party CLI agents integration. Open a new tab and run:

Terminal window
claude

Warp auto-detects Claude Code and unlocks IDE-level features on top of the TUI:

  • Rich input editor (Ctrl+G) - compose multi-line prompts with @ mentions, voice input, and slash commands.
  • Agent notifications - in-app and desktop alerts when Claude Code needs your input. Requires a one-time plugin install (Warp prompts you).
  • Inline code review - send review comments directly to the agent from Warp’s Code Review panel.
  • Vertical tabs with agent metadata - track multiple Claude Code sessions across tabs with status indicators.
  • Remote control - share or steer a Claude Code session from another device.
  • Tab Configs - save and reopen Claude Code session layouts.

For full setup steps (notification plugin, productivity tips, troubleshooting), see Claude Code in Warp and the How to set up Claude Code guide.

  • Run Claude Code in terminal mode, not Agent Mode. Press ⌘+I (macOS) or Ctrl+I (Linux/Windows) to toggle modes if you’re in Agent Mode by accident.
  • Shift+Enter for newlines. Use Shift+Enter to insert a newline in Claude Code’s prompt. If it submits the message instead, check that you’re in terminal mode (not Agent Mode) and that you’re on a recent Warp version.
  • Copy/paste handling. Warp enables bracketed paste by default, so multi-line pastes into Claude Code work without extra configuration.
  • Resuming after a Warp restart. Warp’s session restoration preserves tabs and panes, but not running CLI processes — closing Warp ends Claude Code’s session. Use Claude Code’s built-in resume options (e.g., claude --resume) to continue a conversation after reopening Warp.

Claude Code’s authentication (API key or Anthropic account) is handled by Claude Code itself, not Warp. Warp does not proxy or modify Claude Code’s network calls. Configure your ANTHROPIC_API_KEY environment variable via Warp Drive environment variables to share it across sessions without committing it to shell config files.

If you’re ready to replace Claude Code with Warp’s built-in agent, the core workflow is:

  1. Open a new tab in Warp.
  2. To switch to switch to Agent Mode from terminal mode, press ⌘+Enter (or Ctrl+Shift+Enter)
  3. Describe what you want in natural language.

Warp’s agent reads your codebase, runs commands, and edits files the same way Claude Code does.

A recurring question from Claude Code users: what files and context does Warp’s agent read automatically? Warp picks up project rules from an AGENTS.md (or WARP.md) at your repo root — the direct equivalent of Claude Code’s CLAUDE.md. Run /init in Agent Mode to generate one, or rename your existing rules file and you’re done — no rewriting needed.

Warp’s agent also pulls context from several other explicit sources:

  • Codebase Context - when you open a directory, Warp indexes your Git-tracked files so the agent can search and reference your code without you pasting snippets.
  • Rules - global and project-scoped rules. AGENTS.md and WARP.md are automatically picked up at the project root; additional rules live in Warp Drive.
  • Warp Drive - notebooks, workflows, and environment variables you’ve saved are available to the agent as context.
  • Agent Mode context - pin specific files or notebooks to a conversation so the agent always has them in scope.
  • MCP - any MCP servers you’ve configured give the agent access to external tools and data.
  • Bring over your CLAUDE.md. Rename it to AGENTS.md (or copy it into a Warp Rule if you want it scoped beyond the repo). Warp applies it automatically to new conversations.
  • Set up MCP servers you relied on in Claude Code.
  • Pick a model per conversation using the model selector. See model choice. Warp supports Claude, GPT, Gemini, and Auto.
  • Configure agent profiles and permissions for what the agent can auto-execute.
  • Tight terminal integration. Agent Mode runs inside Warp and sees the full state of your terminal session — open files, command history, environment variables — without needing you to paste context.
  • Parallel agents. Warp runs multiple agent conversations across tabs simultaneously, each with its own state, which you can track in the Agent Management Panel.
  • Code Review built in. Agent-generated diffs open in Warp’s Code Review panel, not the terminal.
  • Cloud orchestration. Long-running or scheduled agent work can be offloaded to Oz.

Claude Code concepts and their closest Warp analog:

From Claude CodeIn Warp
CLAUDE.mdAGENTS.md (or WARP.md) at the project root, picked up as a Rule
Claude Code slash commandsWarp’s own slash commands (/init, /plan, /model, etc.); save your own as Warp Drive prompts
Tool definitionsMCP
Resume conversationWarp persists agent conversations per tab; pair with tab configs to reopen the same project layout

For a deeper tour of Agent Mode, see Coding in Warp and the Warp Agents docs.