OpenCode for Mac — open-source AI coding agent as a desktop app

OpenCode is an open-source AI coding agent. The desktop app runs agent sessions on your projects with tabs, diffs and a built-in browser, and works with free models, your existing subscriptions or many model providers.

No ratings yet
Version
2.4.2
License
Free
Requires
macOS 13+
Chip
Apple Silicon & Intel
Website
opencode.ai

Last checked: 2026-11-29

OpenCode is a coding agent that is not tied to one AI company. You choose the model, and the agent helps you write and run code in your project; the desktop app adds a window with sessions, tabs and diffs.

What it does well

  • Any model. Free models without an account, a ChatGPT or GitHub Copilot subscription, other providers through their API, or local models.
  • Parallel sessions. Start several agents on the same project and review their changes as diffs.
  • Permissions and undo. Decide which actions run automatically and which need approval; /undo rolls back recent changes to files and conversation.
  • Extensible. MCP servers, plugins, custom agents, skills and slash commands.

Who it is for

Developers who want an agent without committing to one model vendor, and those who prefer open-source tools they can inspect and extend.

Good to know

OpenCode is an agent rather than a code editor; to write code yourself with AI suggestions, Cursor or Zed fit better. Results depend on the model you connect, and providers bill separately. The developer states that your data is stored only when you use the free models, so read their terms first.

How to install

  1. On the download page, choose the build for your chip (Apple Silicon or Intel).
  2. Open the disk image and drag OpenCode to Applications.
  3. The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
  4. Start with a free model, or connect your own provider or subscription.
Free Download

FAQ

Is OpenCode free?

Yes. OpenCode is open source under the MIT License and free to use, and it comes with a set of free models that need no account. You pay only if you connect a paid provider or choose the optional OpenCode Go subscription.

Can I use my existing AI subscription with OpenCode?

Yes. You can log in with ChatGPT Plus or Pro or with GitHub Copilot, connect providers such as OpenAI, Anthropic and xAI, or use local models.

How does the desktop app differ from OpenCode in the terminal?

It is the same agent. The desktop app adds a graphical interface with sessions, tabs, diffs, a built-in browser and extensions; the terminal version runs in any shell.

Is it safe?

License: FreeScan on VirusTotalOfficial download link

Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.

Does it run on your Mac?

No reports yet. Tried it? Be the first to say how it went.

macOS 27 26 Tahoe 15 Sequoia 14 Sonoma 13 Ventura 12 Monterey ≤11
Apple Silicon
Intel
Tried it on your Mac?

Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).

Installation & Troubleshooting

How do I disable SIP and grant Terminal Full Disk Access?

System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.

Full guide

How do I open an app that Gatekeeper blocks?

Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.

Full guide

Why do I see security warnings when opening an app?

"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.

Full guide

What if the app is damaged or the disk image is corrupted?

"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.

Full guide

What is Rosetta 2 and how do I install it?

Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.

Full guide

Why can't I install this app on an Intel Mac?

Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.

Full guide

How to fix Adobe app installation errors?

Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.

Full guide

What to use instead of Launchpad on macOS 26?

macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.

Full guide

Leave a comment

Comments are reviewed before they appear. Your email address is not published.