Coding assistant
OpenCode
OpenCode is a MIT-licensed AI coding assistant (terminal/CLI) for Linux · macOS · Windows. It connects to local runtimes including Ollama, llama.cpp, LM Studio.
- Category
- Coding assistant
- License
- MIT
- Operating systems
- Linux · macOS · Windows
- Install
- binary / npm / docker / source
- Interface
- Terminal / CLI
- Model classes
- llm
- Latest version
- v1.17.19
- GitHub stars
- 185,425
As of 2026-07-13 · source · GitHub · homepage
Hardware
Lightweight terminal-based AI coding agent; runs locally with 75+ model providers
Works with these local runtimes
Like most tools in this category, OpenCode commonly runs against cloud APIs — a local model served by one of these runtimes is the option we cover here.
Running OpenCode against a local model? Check what your machine can serve.
Check your machine →Facts come from each tool's own documentation and repository, stamped and dated — how we source data.