OpenCode brings Claude back inside its terminal, through Claude Code itself

OpenCode 2.2.3, released October 30, adds a built-in Claude Agent provider that lets users run Claude models through an existing Claude Code login, including a subscription, while OpenCode keeps control of its own tools, permissions and sessions.

OpenCode has always pitched itself as the coding agent that talks to whatever model you connect, and its October 30 release quietly restores one of the most requested connections of all. Version 2.2.3 adds a built-in Claude Agent provider: install Claude Code, run claude auth login once, then select Claude Agent from OpenCode's connect menu, and you can use your Claude Code login and models inside OpenCode. The provider accepts a Claude subscription, an API key or a cloud account, and OpenCode says the local Claude process remains the authentication and model-request path, while OpenCode itself keeps control of tools, permissions, compaction and sessions.

That design matters, because it is not the same as the OAuth setup OpenCode removed earlier in the year. OpenCode does not read or replay a saved Claude login, and it does not sit between Claude Code and Anthropic to rewrite requests; it runs the user's installed Claude program through Anthropic's Claude Agent SDK, with OpenCode's own tools and session controls wrapped around it. For a developer who already pays for Claude, the practical effect is simple: no separate API key to configure, and no need to leave the terminal agent they prefer in order to use the model they prefer. A later guided setup, added in the same release cycle, walks new users through copying the login command, installing Claude Code and verifying the connection before they pick a model.

There is still an open question that OpenCode's changelog does not settle, and any honest account of this release should name it. Anthropic has previously tightened safeguards against third-party harnesses using Claude subscriptions, and its Agent SDK documentation has said third-party developers should not offer claude.ai login unless previously approved, while OpenCode's own materials have said it has permission. Anthropic has not, in the changelog itself, issued a separate announcement about this provider, so users who rely on a subscription should treat the route as convenient but not yet unambiguously settled. What is settled is the feature itself: in OpenCode 2.2.3, Claude is back as a first-class provider, reached through the tool its users already sign into.

Read the original · opencode.ai

Share