OpenCode | The open source AI coding agent

## [What Is OpenCode?](https://youtu.be/qbJhroATnj4?si=tP6YbBVFORfo3UHz)

New

Desktop app available in beta on macOS, Windows, and Linux.Download now Download the desktop beta now

The open source AI coding agent

Free models included or connect any model from any provider, including Claude, GPT, Gemini and more.

What is OpenCode?

OpenCode is an open source agent that helps you write code in your terminal, IDE, or desktop.

  • [*]
    LSP enabled Automatically loads the right LSPs for the LLM
  • [*]
    Multi-session Start multiple agents in parallel on the same project
  • [*]
  • [*]
    Claude Pro Log in with Anthropic to use your Claude Pro or Max account
  • [*]
    ChatGPT Plus/Pro Log in with OpenAI to use your ChatGPT Plus or Pro account
  • [*]
    Any model 75+ LLM providers through Models.dev, including local models
  • [*]
    Any editor Available as a terminal interface, desktop app, and IDE extension
    Read docs

The open source AI coding agent

[*]

With over 70,000 GitHub stars, 500 contributors, and over 7,000 commits, OpenCode is used and trusted by over 650,000 developers every month.

Fig 1.70K GitHub Stars

Fig 2.500 Contributors

Fig 3.650,000 Monthly Devs

Access reliable optimized models for coding agents

Zen gives you access to a handpicked set of AI models that OpenCode has tested and benchmarked specifically for coding agents. No need to worry about inconsistent performance and quality across providers, use validated models that work.