Skip to content

Clawdex Mobile

Control Codex from your phone

Install

$npm install -g clawdex-mobile@latest

Install command taken from the project's README or registry entry. Always review code before running it.

Clawdex Mobile

Run Codex or OpenCode from your phone. clawdex-mobile ships the bridge CLI plus bundled Rust bridge binaries for supported hosts, and the mobile app pairs to that bridge over Tailscale or local LAN.

This project is for trusted/private networking by default. Keep the bridge on a private network, leave bridge auth enabled, and do not expose it directly to the public internet.

What You Get

  • Mobile chat for Codex and OpenCode
  • Live run updates over WebSocket
  • Approval and clarification flows in-app
  • Voice-to-text, attachments, terminal, and Git actions
  • One mobile shell backed by a private host bridge

Quick Start

Before you start:

  • Node.js 20+
  • npm 10+
  • git
  • codex in PATH for the default Codex flow
  • opencode in PATH if you want the OpenCode flow
  • Cursor app-server is bundled with clawdex-mobile for the Cursor SDK flow

Install the mobile app:

Install the CLI and start the bridge:

npm install -g clawdex-mobile@latest
clawdex init

Then open the mobile app and connect using the printed bridge URL/token or pairing QR. clawdex init now writes config, starts the bridge in the background, and returns you to the shell. Bridge logs go to .bridge.log.

The npm package is bridge-only. It does not install Expo or the mobile source tree. On supported macOS, Linux, and Windows hosts it uses bundled bridge binaries, so normal startup does not compile Rust. The current interactive setup helpers are still macOS/Linux-oriented.

Typical operator flow:

npm install -g clawdex-mobile@latest
clawdex init
clawdex stop

Extra Harness Setup

OpenCode and Cursor can run beside Codex from the same bridge.

npm install -g opencode-ai
npm install -g clawdex-mobile@latest
clawdex init --engines codex,opencode,cursor

That writes BRIDGE_ENABLED_ENGINES=codex,opencode,cursor to .env.secure, so the mobile app can control the selected harnesses from one bridge. When Cursor is selected, clawdex init uses the bundled cursor-app-server, asks for a Cursor account API key from Cursor Dashboard > Integrations > User API Keys, and saves it in .env.secure. Cursor documents this under CLI authentication: https://docs.cursor.com/en/cli/reference/authentication

Notes:

  • clawdex init without flags now lets you multi-select harnesses in the wizard with Space, then Enter to continue.
  • Use clawdex init --engine codex, clawdex init --engine opencode, or clawdex init --engine cursor if you want a single-harness setup.
  • For non-interactive host automation, set CURSOR_API_KEY before running setup. This should be a Cursor account API key for the Cursor agent/SDK, not an OpenAI, Anthropic, or other provider key configured inside the Cursor editor. CURSOR_MODEL is optional; the app model picker sends the model for normal chats.

Monorepo Development

If you are working from source:

npm install
npm run setup:wizard
npm run mobile

For one-step restarts that switch the bridge network mode, reuse the existing token, start the bridge in the background, and then launch Expo:

npm run stack:lan
npm run stack:tailscale

stack:lan is the local network path, so it also covers the same-device LAN/VLAN case.

For an OpenCode-first repo checkout:

npm run setup:wizard -- --engine opencode

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

Orchestrate Claude, Codex and Grok in one app. Open-source (MIT), reuses the subscriptions you already pay for.

Superset is an agentic IDE to orchestrate 100+ coding agents in parallel. Run any agent with your own subscription.

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your…