WHY WE PICKED IT
OpenCode is the best 'bring-your-own-model' coding agent for developers who want full control. Because it is open source and runs in the terminal, it fits naturally into existing CI/CD and shell-centric workflows without locking you into a specific vendor.
GETTING STARTED
Install OpenCode via npm or the official installer and run `opencode` in your project directory. Configure your preferred model provider in the settings file, then describe a task in natural language. OpenCode will plan the changes, edit files, run tests, and report results. Because it is open source, you can self-host or customize the agent loop for your team's workflow.
QUICK TIPS
1
Start with small, well-defined tasks to learn how the agent plans changes
2
Use a local model for sensitive codebases and remote models for heavier reasoning
3
Commit or stash work before starting a session so you can roll back easily
4
Configure custom test commands so OpenCode validates every change
5
Review the generated diff carefully before accepting multi-file edits
❓
FREQUENTLY ASKED QUESTIONS
Q
Is OpenCode free?
A
Yes, OpenCode is completely free to use.
Q
Does OpenCode have an API?
A
No, OpenCode does not appear to offer a public API.
Q
What is OpenCode best for?
A
OpenCode is best for Best for Terminal Coding. OpenCode is an open-source terminal-based coding agent that connects to multiple language models and performs autonomous software engineering tasks from the command line. OpenCode is the best 'bring-your-own-model' coding agent for developers who want full control. Because it is open source and runs in the terminal, it fits naturally into existing CI/CD and shell-centric workflows without locking you into a specific vendor.
Q
What platforms does OpenCode support?
A
OpenCode supports mac, windows, linux, local.
Q
Is OpenCode open source?
A
Yes, OpenCode is open source. You can access the source code on GitHub at https://github.com/opencode-ai/opencode.
Q
How do I get started with OpenCode?
A
Install OpenCode via npm or the official installer and run `opencode` in your project directory. Configure your preferred model provider in the settings file, then describe a task in natural language. OpenCode will plan the changes, edit files, run tests, and report results. Because it is open sourc...
Q
How do I use OpenCode?
A
OpenCode is a large language model for text generation, analysis, and conversation. Use through available interfaces. Enter prompts or questions to get responses. It excels at open-source and model-agnostic by design.
Work on OpenCode? You're hand-reviewed in our directory. Add this badge to your site — it links back to this profile.