OpenCode is a free, open-source AI coding agent that runs in your terminal, desktop app, or IDE, and it works with 75+ LLM providers instead of locking you to one model. It's trending again on GitHub near 204,000 stars. Setup takes about 10 minutes: install the CLI, connect a provider with /connect, then run /init in a project to get a working session.

Read the full story: OpenCode Setup: Install the Open-Source AI Coding Agent →

Transcript

This coding agent lives in your terminal and works with any AI model you want, not just one vendor. It is called OpenCode, free and open source, and it just crossed two hundred four thousand stars on GitHub. Let me set it up. Installing it takes one command. On Windows, Scoop or Chocolatey both work straight from PowerShell. Everywhere else, npm installs the exact same package. Now launch it and connect a provider. Run the connect command, pick Anthropic, OpenAI, or OpenCode's own curated model list, and paste your key. That is the whole setup. Inside a real project, run the init command and OpenCode reads your codebase and writes a memory file it reloads every session. Ask it a question, hit Tab to switch into Plan mode for a read only proposal, then Tab again to Build mode when you are ready for it to actually write the code. Free, open source, and yours to point at any model you choose.