opencode

Open-source terminal AI coding agent supporting any model

Visit opencode →

opencode is an open-source AI coding agent that runs in the terminal with a native TUI (terminal user interface). It supports multiple sessions and is model-agnostic, allowing developers to connect Claude, OpenAI, Google, or local models. It is designed for developers who prefer terminal-based workflows and want flexibility in their AI model choice.

At a glance

Company
opencode
Pricing
free
API available
No
Self-hostable
Yes
Launched
2025-07
Last verified
2026-05-11

Capabilities

multi-sessionmodel-agnosticmulti-file-editlocal-model-supportterminal-ui

Categories

Alternatives

For AI agents: machine-readable markdown version of this page at /tools/opencode.md, or send Accept: text/markdown.