Skip to content
AgentOpen-source agent

opencode

Open source coding agent for your terminal, desktop, phone and code

opencode is a freemium open-source agent for coding. It is available on Web, iOS, Android, macOS, Windows, Linux, CLI, API and Self-hosted.

Pricing
Freemium
Platforms
Web, iOS, Android
GitHub stars
230K
Last commit
Language
TypeScript
License
MIT

Similar agents

About opencode

Point it at a codebase and it reads, edits and runs work alongside you, with models from more than 200 providers, including local ones. A free set of models works without an account, and you can bring a subscription you already pay for, such as ChatGPT Plus or GitHub Copilot.

OpenCode runs in several places that share the same sessions. A terminal interface works in any shell or remote server, a desktop app is in beta for macOS, Windows and Linux, and a mobile app lets you check on and approve sessions away from your computer. An SDK lets scripts and CI jobs drive it directly.

Control sits with you: permissions decide which actions run automatically and which wait for approval, and a read-only plan agent is available for exploring unfamiliar code before any edits happen. Plugins, custom agents, skills and slash commands let teams shape the agent to their own workflows. The project is MIT licensed and aimed at developers who want a model-agnostic coding assistant.

What it does

Multi-provider model access
Connects to over 200 LLM providers through Models.dev, including local models.
Terminal, desktop and mobile
The same agent is available as a terminal UI, a desktop app and a phone app.
Parallel sessions
Runs several agents at once on the same project.
Permission controls
Chooses which actions run automatically and which need approval.
MCP and plugins
Connects local and remote MCP servers and supports event-hooking plugins.
Custom agents and skills
Defines agents with their own prompts, models and tools, plus reusable SKILL.md workflows.
Undo and redo
Rolls back recent file and conversation changes with /undo.

Good for

  • Working through an unfamiliar codebase with a read-only planning agent before making changes
  • Running multiple coding agents in parallel on the same repository
  • Approving or steering an agent session from a phone while away from the desk
  • Driving coding tasks from scripts or CI jobs through the SDK
  • Reusing team workflows as slash commands and skills

Pricing

Freemium, from $10 a month

Free models with no account; OpenCode Go from $10/month; bring your own subscription.

Prices change. Check opencode.ai before you buy.

opencode FAQ

Do I need an account to start?

No. OpenCode comes with a set of free models and needs no account to begin.

Can I use my own AI subscription?

Yes. You can log in with ChatGPT Plus or Pro or GitHub Copilot, or use an OpenCode subscription.

What is the license?

OpenCode is MIT licensed and its source is on GitHub.

Which platforms does opencode run on?

The terminal runs in any shell, the desktop app covers macOS, Windows and Linux, and there is a mobile app for iPhone and Android.

What are the best alternatives to opencode?

The closest alternatives to opencode are command-code, cline, openclaude, agenc-core and nanocoder.

Where this comes from

  • Description: written from the project's README and the project's website.