# A terminal for OpenCode

cmux is a native macOS terminal built for AI coding agents, and OpenCode runs in it out of the box. cmux is just a terminal, so `opencode` works in any workspace, with cmux providing the multitasking, organization, and programmability around it.

## Organize many OpenCode sessions

Run OpenCode per task in its own workspace. The vertical sidebar shows each with its git branch, directory, ports, and latest output, so parallel runs stay organized.

## Notification rings

When OpenCode needs you, the pane rings and the sidebar marks it unread, so you can run several at once and come back to the one waiting on a decision.

## oh-my-opencode multi-model orchestration

cmux ships `cmux omo`, which runs OpenCode with the oh-my-openagent plugin so multiple models (Claude, GPT, Gemini, Grok) orchestrate as parallel agents, and each spawned agent becomes a native cmux split. See the [oh-my-opencode docs](https://cmux.com/docs/agent-integrations/oh-my-opencode).

## Check on OpenCode from your phone

cmux has an iOS companion app (beta): pair your iPhone with your Mac to check on your OpenCode runs, with optional notification forwarding, while you are away from the desk.

## Scriptable

Every action is available through the cmux CLI and a Unix socket, so you can create workspaces, launch OpenCode, send input, read the screen, and drive an in-app browser from a script.

## FAQ

Does OpenCode work in cmux?

Yes. cmux is a standard macOS terminal, so `opencode` runs in any workspace with no extra setup.

Can I run OpenCode next to other agents?

Yes. Open a workspace per task and run OpenCode, Claude Code, or Codex side by side. The sidebar keeps every session legible.

How do I know when OpenCode needs input?

The pane rings and the sidebar shows an unread badge when OpenCode finishes or asks for input, so you can let it run and come back when it needs you.

Is cmux free to use with OpenCode?

Yes. cmux is free and open source for macOS.

cmux is free and open source for macOS.

[Download for Mac](https://cmux.com/download/confirmation?dl=1)

[View on GitHub](https://github.com/manaflow-ai/cmux)

See also

-   [A terminal for coding agents](https://cmux.com/agents)
-   [A terminal for Claude Code](https://cmux.com/agents/claude-code)
-   [A terminal for Codex CLI](https://cmux.com/agents/codex)
-   [oh-my-opencode](https://cmux.com/docs/agent-integrations/oh-my-opencode)

Canonical: https://cmux.com/agents/opencode
