OpenCode

The open-source AI coding agent for terminal, desktop, and IDE.

Screenshots & Images
Overview

OpenCode is an open-source, privacy-first AI coding agent that runs in your terminal, desktop app, or IDE extension. It helps developers understand codebases, create plans, implement changes, undo/redo edits, and integrate with over 75 LLM providers (or use curated models via OpenCode Zen). Built for developers who want an agent that works locally and integrates with existing workflows and subscriptions.

Description

OpenCode: The Open Source AI Coding Agent

OpenCode is a flexible, open source AI coding assistant designed to help you write code faster—whether you work in a terminal, a desktop app, or an IDE extension. It ships with ready-to-use models or lets you connect any model provider you prefer, including Claude, GPT, Gemini, and more.

Why OpenCode

  • Privacy-first by design: OpenCode does not store your code or context data, making it suitable for privacy-sensitive environments.
  • Consistent, validated AI models: Zen gives you a curated set of tested models optimized for coding tasks.
  • Multi-editor flexibility: Use it in the terminal, via a desktop app (beta), or as an IDE extension.
  • Flexible model access: Free models included, plus 75+ providers through Models.dev, including local models. Sign in to use Copilot orChatGPT Plus/Pro accounts if you have them.
  • Smooth workflow for teams: Share conversations with your team via links, helping with debugging and knowledge transfer.
  • Robust developer tooling: Automatic LSP loading, multi-session parallel agents, and a range of commands to streamline coding.

Key Features

  • Terminal, Desktop, and IDE integrations
  • LSP-enabled: Automatically loads the right language servers for your LLM
  • Multi-session: Run several agents in parallel on the same project
  • Shareable sessions: Generate links to conversations for collaboration
  • Copilot and ChatGPT integration: Log in with GitHub or OpenAI accounts to unlock familiar experiences
  • 75+ providers and local models: Access a wide ecosystem of models through Models.dev
  • Zen models: A curated, vetted model list optimized for coding tasks
  • Privacy-focused design: No automatic storage of your code or project context
  • Open source: Transparent, community-driven development with frequent updates

How OpenCode Works

  • Install and configure: Connect your preferred LLM providers by adding API keys.
  • Initialize a project: OpenCode creates an AGENTS.md file in your project root to describe coding patterns and agents.
  • Interact with AI: Use a conversational, plan-and-build workflow to describe features, ask questions, and implement changes.
  • Share and iterate: Share sessions for review, iterate using Undo/Redo, and customize workflows with plans, features, and commands.

Prerequisites

  • A modern terminal emulator (examples: WezTerm, Alacritty, Ghostty, Kitty)
  • API keys for the LLM providers you want to use

Install & Setup

  • Quick start: curl -fsSL https://opencode.ai/install | bash
  • Alternative install methods:
  • Node.js tools: npm, Bun, pnpm, or Yarn
  • Homebrew: brew install anomalyco/tap/opencode
  • Arch Linux: pacman -S opencode or paru -S opencode-bin
  • Windows: WSL recommended; Chocolatey or Scoop options; Docker available
  • Docker: docker run -it --rm ghcr.io/anomalyco/opencode
  • Binaries/releases: available from the project releases
  • Post-install setup:
  • Run /connect in the TUI to choose a provider and sign in at opencode.ai/auth
  • Paste your API key and select a provider
  • Navigate to a project and run /init to analyze the project and generate AGENTS.md (commit it to Git)

Getting Started: Quick Workflow

  • Start coding: cd /path/to/project and run OpenCode
  • Initialize project: /init to create AGENTS.md
  • Use OpenCode: Ask questions, request explanations, or add features
  • Plan vs Build:
  • Plan mode (via Tab): Propose how to implement a feature without making changes
  • Build mode: Apply requested changes to the codebase
  • Change management: /undo to revert, /redo to re-apply
Features
What you're building
The technical artifact this tool produces
Desktop app
Plugin
CLI tool
App type
The domain or industry the built app is intended for
Productivity
How you build
The interface and interaction model used to create the app
Prompt / chat
The builder runs as
How and where the builder tool itself is accessed
Desktop app
IDE extension
CLI
Min skill level
The minimum technical skill level required to use the builder effectively
Intermediate
Coding required
The degree to which writing code is necessary
Code optional
Includes
Built-in components and capabilities the tool provides out of the box
Backend logic
Auth / user management
API layer
Custom domain
Whether the tool allows publishing the app under a custom domain
Export formats
File formats or frameworks the tool can export the app as
HTML / CSS / JS
JSON / YAML
APK / IPA
You own / can export the code
Whether the user can export and fully own the underlying source code
Enterprise features
Advanced features typically required by teams and organizations
SSO / SAML
Role-based permissions
Audit logs
Pricing
Available pricing and access models
Open source
Free plan available
Pricing
Flat Rate
Free, Open-Source
$0
User Reviews
1,247 reviews
MK
Marcus K.
✔ Verified·SaaS Founder·Used 2 years
4.8
★★★★★
Overall
Ease of use
4.0
Features
5.0
Performance
4.5
Value
4.8
Support
4.5
Scalability
4.8
Plugins
5.0
Built my entire SaaS on Bubble — $40k MRR now

I was skeptical about no-code but Bubble proved me wrong. I built a B2B client portal with complex permissions, Stripe billing, and real-time notifications. The learning curve is real — give yourself 2–3 weeks — but once it clicks, you're unstoppable. Performance has been solid at our scale.

SaaSB2BStripe
SP
Sara P.
✔ Verified·Designer → Builder·Used 8 months
3.9
★★★★☆
Overall
Ease of use
2.5
Features
5.0
Performance
3.0
Value
4.0
Support
4.5
Scalability
3.5
Plugins
4.5
Incredibly powerful, but the learning curve is steep

Coming from Webflow, Bubble felt overwhelming at first. The editor UX isn't as polished, and performance on complex apps can feel sluggish. That said, nothing else lets you build a full database-driven app without code. The community forums are excellent — almost every problem has been solved by someone.

Webflow migrantDesign
JL
James L.
✔ Verified·Product Manager·Used 3 months
3.1
★★★☆☆
Overall
Ease of use
3.5
Features
4.5
Performance
3.0
Value
1.5
Support
3.0
Scalability
2.5
Plugins
4.0
Great for MVPs, but pricing scales poorly

Used Bubble to ship our MVP in 6 weeks, which was genuinely impressive. But once we needed real capacity, the jump from Growth to Team ($29 to $529/mo) was brutal for a bootstrapped startup. The server unit model is also confusing to reason about. Would love a mid-tier option.

MVPPricing concernBootstrapped
Community Showcases

Real apps built with Bubble by the community. Click any card to see full details.

NomadDesk
Remote workspace booking marketplace
🔥 142💡 89✨ 204
$14kMRR
GrantHive
Grant management SaaS for nonprofits
🔥 98💡 211✨ 76
StudyBuddy82%
StudyBuddy
AI-powered study planner mobile app
🔥 317💡 155✨ 430
RecruitFlowMK
RecruitFlow
Applicant tracking system for SMBs
🔥 67💡 188✨ 55
EventForge847attendees$42krevenue
EventForge
Event ticketing & management platform
🔥 231💡 142✨ 189
CourseForge
CourseForge
Online course platform with analytics
🔥 178💡 302✨ 144
Latest Updates
Mar 2025
Major
AI Autocomplete in Workflow Editor

Bubble now suggests the next workflow action based on your current logic using an embedded AI assistant — dramatically speeds up building complex multi-step flows.

Feb 2025
Improvement
Responsive Engine 2.0

Completely redesigned responsive layout system with per-breakpoint controls. Existing apps auto-migrate with one-click. Mobile apps now build 3× faster.

Jan 2025
Major
Native Git-style Version Branches

Team plan subscribers can now create development branches, make changes in isolation, and merge them back — similar to Git branching. Long requested by professional teams.

Dec 2024
Fix
Database Performance Improvements

Fixed significant performance degradation on apps with 1M+ rows caused by query planner regression. Apps now load 40–60% faster under heavy data loads.

Nov 2024
Improvement
Improved Plugin API v3

Rebuilt plugin API with TypeScript support, better error handling, and a new sandbox testing environment. Developer documentation fully rewritten.

Frequently Asked Questions
OpenCode is an open-source AI coding agent that helps you write, refactor, and navigate code from your terminal, desktop app, or IDE extension.
Install OpenCode (via the installer script, npm, Homebrew, package manager, or the desktop beta), configure an LLM provider with API keys or use OpenCode Zen, then run 'opencode' in a project and use the TUI or IDE extension to interact with agents (init with /init, request changes, /undo, /redo, /share, etc.).
No — OpenCode includes free models and also allows you to connect any model from any provider; however, if you want to use a provider's paid models (e.g., OpenAI, Claude, Gemini), you will need appropriate API access or subscriptions for those providers.
Yes — OpenCode supports connecting existing AI provider accounts (for example OpenAI or your Copilot account). You configure API keys or sign in (e.g., via /connect) to use your subscriptions.
No — OpenCode is available as a terminal interface (CLI/TUI), a desktop app (macOS, Windows, Linux beta), and as IDE extensions, so you can choose the interface that fits your workflow.
OpenCode itself is open source and free to use; some connected model providers or curated services (OpenCode Zen) may require paid accounts or billing depending on the provider you choose.
OpenCode is built privacy-first and does not store your code or project context; see the enterprise/privacy docs for details on how data and privacy are handled.
Yes — OpenCode is open source (GitHub repo: https://github.com/anomalyco/opencode) with many contributors and public releases.
Links
ToolStack Verdict
9.1
Exceptional

Bubble remains the gold standard for full-stack no-code development. The power ceiling is unmatched — if you're willing to climb the learning curve, you can build virtually anything. Best for ambitious founders and product teams.

Pros

  • Full-stack in one tool
  • Huge plugin ecosystem
  • Real-time features built-in
  • Thriving community

Cons

  • Steep learning curve
  • No code export
  • Performance at scale
  • Pricing jump is large
Quick Facts
Founded2012
HeadquartersNew York, USA
Funding$100M+ (Series A)
Users4M+ builders
Apps built2M+ total
Free planYes
Pricing from$29/mo
CategoryVisual App Builder
Mobile appsWeb only
Open sourceNo
Last reviewedMar 2025
Best For
SaaS MVPs & startups
Marketplaces & directories
Client portals & dashboards
Community platforms
Native mobile apps
Static marketing sites