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.
| Category | Coding assistant |
| Type | Terminal agent |
| License | MIT |
| Runs locally | Partial |
| Built with | TypeScript/Go |
| Skill level | Intermediate |
| Best for | a provider-agnostic Claude Code alternative |
Other open-source coding assistant tools worth comparing:
ContinueOpen-source autocomplete and chat in your IDE
AiderAI pair programming in your terminal
ClineAutonomous coding agent in VS Code
Roo CodeCustomizable agentic coder (Cline fork)
TabbySelf-hosted Copilot alternative
GooseOn-machine AI agent for engineering tasks
VoidOpen-source Cursor alternative on VS Code
ZedBlazing-fast editor with native AI and collab
PlandexPlan-first agent for large codebases
Sourcegraph CodyCodebase-aware AI assistant
GPT EngineerGenerate a whole codebase from a prompt
SweepTurn issues into pull requestsOpenCode is free and open-source (MIT license), so you can use, self-host and modify it at no cost.
OpenCode can be used locally or in the cloud depending on your setup.
Popular open-source alternatives include Continue, Aider, Cline. See the comparisons above to choose.
Browse the full directory of open-source AI tools, models and projects — updated daily.
Browse all tools →