Control Gemini CLI from your phone
CodeAgent Mobile is a mobile companion app that lets you control Google's Gemini CLI from your phone. Install codeam-cli, pair your terminal with the app, then drive Gemini's prompts, streamed responses, and tool calls directly from iOS or Android while it runs locally with your own Google credentials — over the ACP protocol Gemini CLI speaks natively.
How it works
Pair your phone with Gemini CLI once. After that, every prompt and response flows between the two automatically.
- 1
Run `npm install -g codeam-cli` in your terminal (requires Node.js 18 or newer, plus the Gemini CLI installed and authenticated with your Google account or Gemini API key).
- 2
Run `codeam pair` and pick Gemini in the agent picker (or run `codeam pair --agent gemini`) to generate a 6-character code and a QR.
- 3
Open CodeAgent Mobile on your phone, tap "Pair Device", and scan the QR or enter the code.
- 4
Run `codeam` — Gemini runs locally over ACP and streams its responses, diffs, and tool calls back to your phone.
Why developers use it
A real remote control for your AI coding agent — not a chat fallback.
Real-time streaming
Token-by-token output streams from your laptop straight to your phone — diffs, file lists, and the agent's reasoning all render live.
Secure end-to-end relay
The CodeAgent backend is a thin relay. Your code never leaves your machine, and the AI agent runs with your existing API key or subscription.
Works with your existing setup
No changes to your IDE settings, Anthropic key, GitHub Copilot subscription, or Cursor account. Pair once and start sending prompts.
Approve interactive prompts
When the agent stops to ask y/n or pick an option, the prompt appears on your phone. Tap to approve, reject, or pick — without going back to the keyboard.
Frequently asked questions
Specific to Gemini CLI users.
Get started in under a minute
Install the Gemini CLI client, pair your phone, and start sending prompts from anywhere.