opencode

opencode

macOSWindowsLinux
Free Expert
Download opencode ↗

opencode is an open-source, terminal-based AI coding agent in the spirit of Claude Code and Codex, but with no vendor lock-in. It connects to 75+ providers or to fully local models via Ollama and LM Studio, with built-in tools for editing files, running shell commands, searching code, and tracking tasks. Point it at a local Qwen3 Coder or Gemma 4 model and it codes entirely on your machine.

Best for: Developers who want an agentic coding CLI like Claude Code or Codex, powered by their own local models