Opencode Alternatives
8 alternatives to Opencode — comparable AI coding tools for building with AI agents.
Claude Code
Anthropic’s official agentic coding tool that runs in the terminal, IDE, and web.
Codex CLI
OpenAI's open-source terminal coding agent with sandboxed execution and two-layer approval controls.
Gemini CLI
Google's open-source terminal AI agent powered by Gemini models, with a 1M-token context window and built-in tools.
Llama Cpp
The C/C++ inference engine that made local LLMs possible — GGUF quantization, every GPU backend, and an OpenAI-compatible server, with no dependencies.
Ollama
An open-source tool to run open-weight LLMs locally with a single command, including a local OpenAI-compatible API.
pgroll
An open-source CLI for zero-downtime, reversible Postgres schema migrations using the expand-contract pattern behind versioned schema views.
Spec Kit
GitHub's open-source toolkit for spec-driven development — the specify CLI and /speckit slash commands that walk any coding agent from constitution to implementation.