Home > Software > Development > Tools > opencode

opencode logo

Details

Package ID
opencode
Version
1.19.5
Downloads
295694
Website
https://opencode.ai/

Summary

The open source AI coding agent

Description

OpenCode

The open source AI coding agent

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

OpenCode Demo

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
  • Share links: Share a link to any session for reference or to debug
  • 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 78,000 GitHub stars, 600 contributors, and almost 7,700 commits, OpenCode is used and trusted by over 650,000 developers every month.

Built for 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.

Usage

After installing via Chocolatey, you can start using opencode by running in your terminal of choice:

$ opencode

Configure

With OpenCode you can use any LLM provider by configuring their API keys.

If you are new to using LLM providers, we recommend using OpenCode Zen. It’s a curated list of models that have been tested and verified by the OpenCode team.

Run the /connect command in the TUI, select opencode, and head to opencode.ai/auth.

Sign in, add your billing details, and copy your API key.

Paste your API key.

β”Œ API Key
β”‚
β”‚
β”” enter

Alternatively, you can select one of the other providers. Learn more.

For more information, visit the official documentation.

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.

Learn about Zen

Comments

Loading comments...