OpenCode

Open Claude-Code-style agent for your terminal
Coding assistantTerminal agentMITPartialTypeScript/GoIntermediate
OSAI Pulse ⓘ ★★★★★★★★★★ /100 signals tracked
🐳 Docker pulls 📦 PyPI downloads / month 📦 npm downloads / month 🚀 Latest release ·
Visit website →View on GitHub

What is OpenCode?

OpenCode is an open-source AI coding agent living in the terminal: a polished TUI, any provider (Anthropic, OpenAI, local), LSP awareness and a client/server design you can drive remotely.

Why people choose OpenCode

OpenCode at a glance

CategoryCoding assistant
TypeTerminal agent
LicenseMIT
Runs locallyPartial
Built withTypeScript/Go
Skill levelIntermediate
Best fora provider-agnostic Claude Code alternative

Open-source alternatives to OpenCode

Other open-source coding assistant tools worth comparing:

ContinueOpen-source autocomplete and chat in your IDEAiderAI pair programming in your terminalClineAutonomous coding agent in VS CodeRoo CodeCustomizable agentic coder (Cline fork)TabbySelf-hosted Copilot alternativeGooseOn-machine AI agent for engineering tasksVoidOpen-source Cursor alternative on VS CodeZedBlazing-fast editor with native AI and collabPlandexPlan-first agent for large codebasesSourcegraph CodyCodebase-aware AI assistantGPT EngineerGenerate a whole codebase from a promptSweepTurn issues into pull requests

OpenCode head-to-head

OpenCode vs ContinueOpenCode vs AiderOpenCode vs ClineOpenCode vs Roo CodeOpenCode vs TabbyOpenCode vs GooseOpenCode vs VoidOpenCode vs ZedOpenCode vs PlandexOpenCode vs Sourcegraph CodyOpenCode vs GPT EngineerOpenCode vs Sweep

FAQ

Is OpenCode free?

OpenCode is free and open-source (MIT license), so you can use, self-host and modify it at no cost.

Can I run OpenCode locally?

OpenCode can be used locally or in the cloud depending on your setup.

What is the best alternative to OpenCode?

Popular open-source alternatives include Continue, Aider, Cline. See the comparisons above to choose.

Explore more open-source AI

Browse the full directory of open-source AI tools, models and projects — updated daily.

Browse all tools →