Alternatives to OpenCode
Work with an AI coding assistant from your terminal. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
OpenCode
Work with an AI coding assistant from your terminal.
Replacements
Listings that take over the same core job as OpenCode.
Claude Code
Agentic coding tool that reads a codebase, edits files and runs commands.
Claude Code is a paid, closed-source agent from one vendor that runs in the terminal, IDEs, desktop and web, instead of a free MIT client for multiple providers.
Aider
AI pair programming in a terminal, working directly on your git repository and committing as it goes.
Aider is an Apache-2.0 terminal tool that commits every change to git and runs linters and tests, though it expects a git repository and its releases have slowed.
Crush
Terminal coding agent that works with whichever large language model you point it at.
Crush is an MIT terminal coding agent that works with any OpenAI- or Anthropic-compatible API, lets you switch models mid-session and pulls context from language servers.
Also worth comparing
These listings name OpenCode as their own alternative, so the relationship runs both ways.
Goose
Run an extensible AI assistant on your desktop or in a terminal.
OpenCode is an MIT licensed terminal assistant focused on coding, supporting multiple model providers with charges separate from the client.
Similar software
Related functionality, not a direct replacement.
Ollama
The simplest way to pull down an open language model and run it on your own machine, from one command or a desktop app.
LM Studio
A polished desktop app for downloading, running and chatting with local language models, with an OpenAI-compatible server built in.
llama.cpp
The C++ engine most local AI apps are built on, running language models on ordinary hardware.
Witsy
Use AI models and MCP tools through a desktop assistant.