Skip to content

The open source coding agent

Start with free models or bring any of 200+ providers. OpenCode works on your machine, and you can use it from your desktop, your phone, the terminal or your own code.

Products

Desktop

Sessions, tabs, diffs, built-in browser, and extensions on macOS, Windows and Linux.

Terminal

A fast terminal UI that works in any shell, editor or remote server.

SDK

Drive OpenCode from your own scripts, CI jobs and tools.

Read docs

What is OpenCode?

OpenCode is an open source coding agent. Use it in the desktop app, on your phone, in the terminal or from your own code with the SDK. Read the docs.

Get started

The easiest way to start is to download OpenCode and use the free models. No account needed. For more, bring your own subscription or use OpenCode Go.

  1. Download

    Desktop, mobile or terminal.

  2. Use free models

    OpenCode comes with a set of free models. No account needed.

  3. Add more models

    Bring your own subscription, or use OpenCode Go's curated models from $10/month.

Bring your own subscription

Use the subscriptions you already have. Log in with ChatGPT Plus or Pro, GitHub Copilot or Claude Code. Or use an OpenCode subscription.

Bring your own tools

Connect the services you already use with MCP servers, hook into OpenCode with plugins, and teach agents your workflows with skills.

  • GitHub
  • Linear
  • Figma
  • Sentry
  • Notion
  • Slack
  • Supabase
  • Stripe

Open source

With over 220,000 GitHub stars, 1,000+ contributors, and over 20,000 commits, OpenCode is used and trusted by over 22M developers every month.

GitHub stars
Contributors
Monthly devs

Privacy first

OpenCode does not store any of your code or context data, so that it can operate in privacy sensitive environments. Learn more about privacy.

FAQ

Console

Console

Everything you need for working with AI

High-quality inference for frontier and open-weight models, low-cost subscriptions with generous limits, and the tools your team needs to manage spend and collaborate effectively.