OpenCode
Open-source, provider-agnostic AI coding agent for terminal, desktop, and IDE.
MIT-licensed alternative to Claude Code. Switch between 75+ LLM providers, run Build/Plan agents, and keep code local — terminal, desktop, or IDE extension.
Void
Open-source Cursor alternative — VS Code fork with direct LLM access and no proprietary backend.
Apache-2.0 AI code editor with Agent/Gather modes, Tab autocomplete, and Ollama support. Your code goes straight to the provider — not through Void servers.
Kilo
Open-source agentic engineering platform — 500+ models in VS Code, JetBrains, and CLI.
MIT-licensed alternative to Cursor. Architect, Coder, and Debugger modes with MCP marketplace, browser automation, and optional API keys via Kilo Gateway.
Compare Claude Code alternatives
Claude Code is Anthropic's proprietary terminal-based coding agent — it reads a codebase, edits files, and runs commands autonomously, but it's closed-source and tied to Anthropic's own models and billing.
If you want the same terminal-agent workflow without being locked into one model provider, OpenCode is the closest match — it's open source and works with any LLM provider. Void and Kilo take a different form factor, living inside a VS Code-based editor rather than the terminal, which is worth considering if you'd rather have the agent embedded in your IDE.
FAQ
Is there a free, open-source alternative to Claude Code?
Yes. OpenCode is open source and lets you use any LLM provider instead of being locked to one vendor.
What's the best open-source alternative to Claude Code?
OpenCode is the closest match for a terminal-first, provider-agnostic coding agent. Void and Kilo are better picks if you prefer the agent built into a VS Code-style editor instead of the terminal.
What are the top open-source alternatives to Claude Code?
Browse all open-source alternatives to Claude Code above, or explore the full Developer Tools category for more options.