Multi-interface coding agent
Use OpenCode as a terminal-based interface, desktop app, or IDE extension, allowing the same coding-agent concept to fit different development environments.
TOOL PROFILE TOOLAI
An open-source AI coding agent for terminal, desktop, and IDE workflows
View full image
THE BIG PICTURE
OpenCode helps developers understand, modify, and run code with an AI agent. It works from the terminal, desktop app, or IDE extension, and supports models from more than 75 providers through Models.dev, including local models and existing ChatGPT Plus/Pro or GitHub Copilot subscriptions.
OpenCode is open source under the MIT License. The core application is free to use and includes free models, while connected providers may charge separately. OpenCode does not store code or context data according to its privacy statement. OpenCode 1 and OpenCode 2 use the same opencode command and are not designed to be installed side by side under their default command.
A CLOSER LOOK
Explore product screens and published examples. Open any image for a closer look.
WHAT YOU CAN DO
Get to know the capabilities. Find your own way to use them.
Use OpenCode as a terminal-based interface, desktop app, or IDE extension, allowing the same coding-agent concept to fit different development environments.
Connect models from more than 75 providers through Models.dev, including local models and services such as OpenAI, Anthropic, xAI, Claude, GPT, and Gemini.
Log in with GitHub to use GitHub Copilot, or connect ChatGPT Plus or Pro through OpenAI instead of creating a separate model subscription.
Start multiple agents in parallel on the same project, making it possible to separate investigations, implementation tasks, or independent coding conversations.
Switch to Plan mode to disable changes while OpenCode suggests an implementation approach, then review or refine the plan before building.
Reference project files with the @ key for focused questions, and drag images into the terminal so OpenCode can scan them as prompt context.
Revert changes with /undo, repeat the operation with /redo, and use multiple undo commands when an implementation needs to be reconsidered.
Customize themes, keybindings, code formatters, custom commands, and the OpenCode configuration to align the agent with an existing development workflow.
MADE FOR YOUR WORKFLOW
Ask OpenCode to explain project structure, authentication flows, or a specific referenced file before making changes.
Describe a feature in detail, review a proposed plan in Plan mode, then switch to Build mode to apply the approved changes.
Request a refactor, inspect the result, and use /undo or /redo when the implementation needs adjustment or another attempt.
YOUR FIRST STEPS
Install using the documented script, package manager, package repository, Docker image, or release binary appropriate for your system.
Configure API keys for a provider, connect an existing supported subscription, use included free models, or connect local models.
Navigate to the project directory and run the opencode command from a supported terminal or application.
Run /init so OpenCode analyzes the project and creates an AGENTS.md file describing structure and coding patterns.
Ask a codebase question, reference relevant files with @, or use Plan mode before requesting implementation changes.
TAKE A LOOK AROUND
Explore the tool's demo or video to see its interface and workflow.
PLAN YOUR NEXT STEP
OpenCode is free to use and includes free models. Connecting other providers can add their own charges. OpenCode Zen uses pay-per-request billing with no model markup.
PLAN
The open-source coding agent with included free models. Other connected providers may charge separately.
$0
PLAN
A curated coding-model service. Adding a $20 balance incurs an additional $1.23 card processing fee; model usage is charged separately against the balance.
$20
Pay per request
Prices, usage limits and terms can change. Confirm the latest details on the tool's official website before subscribing.
Yes. OpenCode is released under the MIT License, and its source code is public for use, modification, and contribution.
Not necessarily. OpenCode includes free models, and it can also connect local models or supported existing subscriptions such as ChatGPT Plus/Pro and GitHub Copilot.
Yes. OpenCode is available as a desktop app and IDE extension in addition to its terminal interface.
OpenCode states that it does not store your code or context data. Data handling can differ when using connected model services.
Zen is a curated set of models tested and benchmarked for coding agents. It works with OpenCode and other agents and charges per request.
Yes. Use /undo to revert changes and /redo to apply them again. Multiple undo operations are supported.
FROM THE COMMUNITY
Sign in to share your experience and help others find the right tool.
FEATURED BADGE
YOUR NEXT DISCOVERY
Instant endpoints for webhooks, bots and APIs
Unleash the power of GPT from anywhere on the web. Use Sidekick AI to summon GPT right from your search bar, contact forms, or even your favorite IDE.
Codyng is a free tool that helps programmers prepare for the coding interview leveraging real-time AI feedbacks on their code.
Stable Diffusion & Dreambooth API An API so you can focus on building next-generation AI products and not maintaining GPUs.
MAKE YOUR NEXT MOVE
Visit the official website to explore the latest features and get started.