Coding and CLI agents · ranked 05
OpenCode
Open-source coding agent you run in the terminal.
Best for A local open-source terminal agent
OpenCode is an open-source coding agent for the terminal. You run it against a repo and connect a model. Use it when you want an alternative to Aider or Claude Code that stays local and open, and you are willing to check the docs for the current provider list.
Best use cases
- Agent edits without a hosted IDE
- Bringing your own model key
- A CLI you can swap in beside Aider
Pros
- + Open source
- + Terminal-first and repo-local
- + Not locked to one model vendor
Cons
- − Younger and less of a default than Claude Code or Aider
- − Provider support and prices for models: check site
Pricing
Open source and free. Model fees are the provider's. Rates: check site.
Alternatives
Coding and CLI agents
7.4
Aider
Open-source pair programming in the terminal. Git commits included.
Best for Git-native pair programming from the terminal
Coding and CLI agents
7.6
Cline
Open-source coding agent inside VS Code. Bring your own model.
Best for An agent inside stock VS Code
Coding and CLI agents
8.3
Claude Code
Anthropic's coding agent for the terminal and supported editors.
Best for Repo-sized edits from the terminal