Feature hasn't been suggested before.
If this feature is desired I can create a pull request. Its already implemented
Describe the enhancement you want to request
Summary:
Add support for using Claude Code CLI as a backend provider in OpenCode, allowing users to leverage their local Claude CLI installation directly within OpenCode's interface.
Motivation
- Users with Claude Code CLI installed can use it through OpenCode without needing separate API keys
- Enables access to Claude's full agentic capabilities (tool use, file editing, bash execution) via OpenCode's UI
- Provides a bridge for users who prefer OpenCode's interface but want to use their existing Claude CLI setup
Configuration
Provider should be configurable via OpenCode config with options for:
- CLI path (cliPath)
- Working directory (cwd)
- Permission mode
- Tool routing preferences (handleToolsInOpenCode)
Dependencies
- Requires Claude Code CLI installed locally (claude command available)
Requirements
This is how it looks:

Feature hasn't been suggested before.
If this feature is desired I can create a pull request. Its already implemented
Describe the enhancement you want to request
Summary:
Add support for using Claude Code CLI as a backend provider in OpenCode, allowing users to leverage their local Claude CLI installation directly within OpenCode's interface.
Motivation
Configuration
Provider should be configurable via OpenCode config with options for:
Dependencies
Requirements
This is how it looks: