Skip to content
OpenCode

MobileCLI for OpenCode

Stream OpenCode sessions to your phone. Monitor the open-source AI coding agent and approve actions remotely.

Set up in 30 seconds

Install the daemon, pair your phone, and start streaming OpenCode.

Step 1

Install

curl -fsSL ... | bash

Step 2

Pair

mobilecli setup

Step 3

Stream

mobilecli opencode
Features

Everything you get with OpenCode

MobileCLI auto-detects OpenCode sessions and streams them to your phone with full terminal fidelity.

Real-time terminal streaming of OpenCode sessions

Approve tool calls from your mobile device

Push notifications for approval requests

Monitor code changes in real time

Works with local network or Tailscale

Approvals

Approve OpenCode actions from your phone

When OpenCode needs approval, MobileCLI pushes a notification to your phone with numbered quick-response buttons that match the CLI prompts exactly.

Push notifications

Get notified instantly when OpenCode needs approval or asks a question.

Quick responses

Numbered buttons mirror CLI approval prompts. One tap to approve.

Interrupt anytime

Esc button to stop OpenCode execution from your phone instantly.

opencode
$ mobilecli opencode
Tool approval required
1. Yes
2. Yes, always
3. No

Phone quick response

1
2
3
Esc

Frequently asked questions

How does MobileCLI work with OpenCode?

MobileCLI auto-detects OpenCode sessions running on your machine and streams the terminal output to your phone in real time over WebSocket. When OpenCode needs approval, you get a push notification with quick-response buttons.

Do I need to configure OpenCode for MobileCLI?

No. MobileCLI auto-detects OpenCode without any configuration. Just run "mobilecli opencode" and your session is streamed to your phone.

Can I use MobileCLI with other CLIs besides OpenCode?

Yes. MobileCLI also supports Claude Code, Gemini CLI, Codex. Each CLI is auto-detected and streamed with the same features.

Also works with

MobileCLI supports all major AI coding CLIs.

Start streaming OpenCode to your phone

Install MobileCLI in one command. Run mobilecli opencode and you're live.

Terminal
$ curl -fsSL https://mobilecli.app/install.sh | bash