Skip to content

OpenCode

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

Set up OpenCode in Warp with notification support, rich input, code review, and more.

OpenCode is an open-source terminal-based coding agent. It connects to multiple LLM providers and supports tool use, file editing, and command execution from your terminal. For full documentation, see the OpenCode docs.

Warp auto-detects OpenCode when you run it, giving you access to rich input controls, code review, agent notifications, and other integrated features. For a product overview, see OpenCode in Warp.

For installation, authentication, project configuration, and productivity tips, see the How to set up OpenCode guide.

Warp supports agent notifications for OpenCode through a plugin. Once installed, Warp surfaces in-app and desktop alerts when OpenCode needs your input.

To set up the plugin, add "@warp-dot-dev/opencode-warp" to the plugin array in your opencode.json configuration file:

{
"plugin": ["@warp-dot-dev/opencode-warp"]
}

If the plugin isn’t installed, Warp displays an installation chip in the terminal when you run OpenCode, with setup steps you can follow directly.

For plugin source and updates, see the opencode-warp GitHub repository.

OpenCode supports the full set of Warp’s agent integration features:

  • Agent notifications - Receive in-app and desktop alerts when OpenCode needs your attention. The notification UI displays your current git branch alongside agent status.
  • Rich input editor - Press Ctrl-G to open an expanded input editor for composing longer prompts.
  • Code review - Send inline review comments directly to the agent from Warp’s code review panel.
  • Attach code as context - Select code and send it to the agent as context.
  • Vertical tabs with agent metadata - Monitor OpenCode sessions with status indicators in Warp’s tab bar.
  • Tab Configs - Save and restore OpenCode session configurations.
  • Remote Control - Share your OpenCode session with teammates via session sharing.