OpenCode#

OpenCode is an open-source terminal-based AI coding assistant. It connects to multiple LLM providers (including local models via Ollama) and gives you an interactive coding session in your terminal.

Getting Started#

Install OpenCode and configure it to point at your preferred model provider. See the OpenCode documentation for setup instructions.

When to Use It#

OpenCode is a good fit if you want a free, open-source alternative to commercial AI coding tools, or if you want to pair it with a local model for fully offline, private development work. See Running Models Locally for guidance on local model setup.