How to run Claude Code, Codex and Antigravity from your phone: a complete guide (November 2026)

2026-11-27来源 dev.toEnglish
How to run Claude Code, Codex and Antigravity from your phone: a complete guide (November 2026)

Disclosure: I build TaroBird, the open-source app in part four of this guide. For many people the official options are enough, so they come first. Every command and menu path below was checked against each vendor's documentation in November 2026. These tools change fast, so trust your installed version over any guide.

Why manage coding agents from a phone at all

If you run Codex, Claude Code or Antigravity on long tasks, you know these moments:

  • You ask it to refactor a module and run the tests, go make a coffee, and come back to find it stopped ten minutes ago, waiting for you to approve one command.
  • You hand it a job before leaving the house and want to check progress or add one more instruction on the way.
  • You think of something in bed and do not want to open the laptop.

None of this is "coding on a phone". What you want is for the agent to keep working on your computer while the phone lets you follow along, answer questions, approve the next step and receive the results. Every option below works that way: the agent runs on your machine, and the phone is a window into it.

Three kinds of "remote"

"Control your AI coding agent from your phone" can mean three different things:

Type What you see on the phone Good for Downsides
Remote session (the "Remote Control" kind) A chat view of the agent: each step, questions, approvals Following agents day to day Each vendor covers only its own agent
Remote desktop (Chrome Remote Desktop, RustDesk and similar) Your whole screen Anything at all Tiny text, heavy on data, approving a step is fiddly
SSH + tmux (Termius, Blink and similar) A terminal Developers taking a quick look You need a route to the computer; typing on a phone is slow

This guide is mostly about the first kind. The end of the guide covers when the other two make more sense.

Part 1: the official options

The three official options

Claude Code: Remote Control

Claude Code has Remote Control built in. You start a session on your computer and continue it in the Claude app or at claude.ai/code.

Three ways to turn it on:

  1. Server mode. In your project directory, run:
 claude remote-control 

(claude rc is the short form.) The first time, it asks you to confirm; answer y. The terminal shows a link, and pressing space shows a QR code to scan with your phone.

  1. Interactive mode. Start a normal session that you can also type into locally:
 claude --remote-control "My project" 
  1. From a session that is already running. Type /remote-control or /rc. Your conversation history comes along.

On the phone: scan the QR code, or open the Claude app, tap Code, and pick the session from the list. Online Remote Control sessions show a computer icon with a green dot.

Worth knowing:

  • Plans: the docs list Pro, Max, Ultra, Team and Enterprise. API keys are not supported. On Team and Enterprise, an Owner must turn on Remote Control in the admin settings first.
  • Gateways and proxies: if you point ANTHROPIC_BASE_URL at anything other than api.anthropic.com, or use Bedrock, Google Cloud or Microsoft Foundry, Remote Control is not available.
  • Keep the computer on: the session runs on your machine, so the computer has to stay on and the claude process has to keep running. If the laptop sleeps or the network drops, Claude Code reconnects when the machine is back.
  • Photos and files: photos you attach on the phone go straight to Claude; other files are downloaded to your machine and passed in as file references.
  • Push notifications: the docs describe mobile push for permission prompts and questions.

If Claude Code is the only agent you use, start here. It needs nothing else.

Codex: the ChatGPT mobile app

OpenAI put remote Codex into the ChatGPT app, paired through the ChatGPT desktop app.

Setup, following OpenAI's guide:

  1. Open the ChatGPT desktop app on your Mac or Windows PC. Go to Settings → Connections → Control this Mac or PC and choose Set up or Add. Approve remote access and complete any verification.
  2. Scan the QR code with your phone, sign in to the same ChatGPT account and workspace, and approve the connection.
  3. In the ChatGPT mobile app, open Codex, choose your computer, and start or continue a task.

Worth knowing:

  • OpenAI asks you to keep the computer awake and online.
  • Only connect devices you own and trust.
  • The setup steps name the iOS app; if you are on Android, check what your app offers.

If Codex is your main agent, use this.

Antigravity: Remote Control in the browser

Google added Remote Control to Antigravity 2.0 and the Antigravity CLI. On the phone it is a web app; there is no separate mobile app.

In the desktop app:

  1. Open Settings (Cmd + , on macOS, Ctrl + , on Windows and Linux).
  2. Under Application, turn on Enable Remote Control. Optionally give the machine a device name.

In the CLI, two ways:

  • Run /remote-control in a session, or start with agy --remote-control. The terminal prints a link to open on another device. Closing that terminal ends the remote connection.
  • To keep the machine reachable all the time, run the background daemon:
 agy remote-control start # register and start the daemon agy remote-control status # show this machine's name and status agy remote-control stop # stop and unregister 

It registers as a system service (a systemd user service on Linux, a LaunchAgent on macOS, a Scheduled Task on Windows). Starting at boot on Windows needs an Administrator prompt.

On the phone: open the Antigravity Remote Control Dashboard in a browser, sign in with the same Google account, and pick the machine. Google suggests adding the web app to your home screen so you get push notifications when an agent finishes or needs input.

Worth knowing: when you are connected to a CLI session, settings cannot be changed from the web; change them in the CLI.

Part 2: the generic options

If you only need a quick look, or your agent has no official remote, two old tools still work:

  • Remote desktop (Chrome Remote Desktop, RustDesk and the like) shows your whole screen. On a phone the text is small, reading terminal output means constant zooming, finding the "Allow" button takes effort, and it uses a lot of data.
  • SSH + tmux: keep the agent running in tmux, then tmux attach from an SSH app such as Termius or Blink. Fine if you live in the terminal; you need a route to the computer, usually Tailscale or port forwarding when you are away from home.

Neither needs a new agent tool, but neither is as comfortable as a chat view built for this.

Part 3: when you run several agents

The official options share one limit: each vendor covers only its own agent. If you run Codex, Claude Code and Antigravity side by side, that is three phone apps, and the agents cannot hand work to each other.

That is where third-party, open-source apps come in. There are many now; here are a few that come up often, described from their own sites:

  • Happy: an open-source mobile and web client; its site says it controls Claude Code, Codex and others from your phone, end-to-end encrypted.
  • Paseo: its site says it runs Claude Code, Codex, Copilot and OpenCode from anywhere, with desktop and mobile apps connected through a relay.
  • TaroBird: the one I build, covered below.

When comparing them, look at three things: which agents are supported, whether the phone side is an app or a web page, and how you reach your computer from outside your home network.

Part 4: step by step with TaroBird

What TaroBird is

In one line: a chat app for AI agents. Each official CLI on your computer becomes a Bot, and your desktop and phone show the same conversations.

Supported engines

  • Official CLIs: Codex, Claude Code, Antigravity, Kimi Code, DeepSeek Harness and Pi, under your own sign-in and subscription. TaroBird does not reimplement agents and does not include model credits.
  • Your data stays home: Bots, chats and files live on your computer (the host).
  • Platforms: desktop apps for macOS and Windows; phone apps for iOS and Android; a Linux server can run the headless CLI host.
  • Open source: AGPL-3.0, on GitHub.

The desktop app

Step 0: install and sign in to your CLIs

TaroBird drives the CLIs already on your computer. Make sure each one you want, for example codex, claude or agy, opens in a terminal and works after you sign in.

Step 1: install the desktop app and make this computer the host

  1. Download the installer from the GitHub Releases page.
    • macOS: drag TaroBird.app into Applications. The app is notarized by Apple.
    • Windows: run the installer. It is not code-signed yet, so if SmartScreen appears, choose More info → Run anyway.
  2. On first launch, choose Use this computer as a host and name the computer.
  3. On macOS, the first launch may ask for keychain access; choose Always Allow.

Step 2: create a Bot

Create a Bot, pick an engine installed on this computer (Codex, for example) and a model. You can point the workspace at a project folder; if you leave it empty, TaroBird creates a separate folder.

For several agents, create one Bot each: one Codex, one Claude Code, one Antigravity.

Step 3: install the phone app

  • iOS: the App Store (availability varies by country or region), or the public TestFlight beta linked from the project page.
  • Android: the APK on GitHub Releases.

Step 4: pair your phone

Pairing in four steps

  1. On the computer, open Settings → Network & connections → Add device, choose a connection option (next step) and generate the QR code. The host restarts briefly the first time, so let running tasks finish first.
  2. On the phone, open TaroBird and tap Scan connection QR code, or use Import a QR image or Paste connection details.
  3. The phone shows an 8-digit pairing code, valid for 5 minutes.
  4. Enter it on the computer and click Approve pairing. The phone opens your chats.

This is the phone after pairing: the conversation list on the left, a chat on the right.

The phone app

Step 5: connecting away from home

Connection routes

Route When to use it What you need
Local network Phone and computer on the same Wi-Fi Nothing extra
Tailscale Away from home, and both devices can run Tailscale Both on the same Tailscale network
VPS relay Away from home, without a VPN on the phone One small cloud server (several computers can share it)

Tailscale:

  1. Install Tailscale on the computer and the phone, and sign in to the same network.
  2. On the computer, open Settings → Network & connections → Add device, choose Remote access with Tailscale and click Generate Tailscale QR code. TaroBird finds the computer's Tailscale address itself.
  3. Scan and approve the pairing code. A phone that is already paired can open Me → Connection status & routes and tap Scan a code to update connection to add the route without pairing again.

Signing in to Tailscale does not pair TaroBird by itself; you still pair once.

VPS relay:

This is the fiddly one, so the project ships deployment instructions you can hand to Codex or Claude Code. Give your agent those instructions, plus your VPS's SSH alias and the path to the private key (never the key itself), and let it deploy and verify. You get an HTTPS address back:

  1. On the computer: Settings → Network & connections → Connection status & routes. Under VPS relays for this host, click Add VPS relay, enter the address and click Verify and save relays.
  2. On a phone that is already paired, if the route does not arrive by itself: Me → Connection status & routes → Edit routes → Add VPS relay address, enter the same address and tap Save routes.
  3. Turn off the phone's Wi-Fi and check that it connects over cellular data.

About security: the VPS only relays traffic; it does not run Bots. According to the project docs, the relay forwards encrypted bytes in memory, and messages and attachments are stored on your computer. A packet capture test on the relay found no plaintext of messages or attachments; the relay can still see IP addresses, ports and traffic timing.

Whichever route you use, the computer has to stay on and online, because that is where the work happens.

Step 6: everyday use

Send tasks, follow progress, approve steps. Message a Bot from the phone; it runs on the computer, you see each tool call, and you approve from the phone when it asks.

Receive files. Files and screenshots a Bot produces arrive in the chat and open on the phone.

See the computer's screen. From 1.6.0, phones can also view and control the computer's screen, so you do not need a separate remote desktop app. Viewing a Mac needs the Screen Recording permission; controlling it also needs Accessibility and Input Monitoring, plus a grant on the computer for that phone.

Remote screen

Let agents hand work to each other. This is the biggest difference from the official options. Ask Codex to work something out with Claude Code, or have a Bot on your Mac hand build and test work to Bots on another computer. The answer comes back to the original conversation, and you can read the whole exchange.

Bots working as a team

See what changed. A workspace rail beside each chat lists the files each turn changed, with added and removed lines; open a change to see the diff and leave comments for the Bot.

Changes this turn

FAQ

What if the computer sleeps? With every option, a sleeping computer stops the agent. Turn off automatic sleep during long tasks, or use an always-on machine as the host.

Do I need the command line? Installing, creating Bots and pairing all happen in the app. Only the VPS relay needs a server deployed, and you can hand that to your own agent.

Can Bots keep working with the computer off? You can run a full host on a VPS instead, but the CLI sign-ins, files and MCP servers then need to be set up on the VPS.

Vendor terms: TaroBird runs the official CLIs under your own sign-in. Vendors' rules for third-party tools change, so check each vendor's terms.

Part 5: which one to use

Which one to use

  • Only Claude Code: the official Remote Control.
  • Only Codex: the ChatGPT app, paired with the desktop app.
  • Only Antigravity: the official Remote Control web app; add it to your home screen for push.
  • Several agents in one app: look at TaroBird, Happy, Paseo and similar apps, and pick by the agents they support.
  • Agents handing work to each other: TaroBird puts the most into this.
  • Just a quick look now and then: SSH + tmux or remote desktop.

Wrapping up

The official options keep getting better; if you use one vendor, start with theirs. If you run several agents and want them in one place, and working together, give TaroBird a try. Issues on GitHub are welcome, and I read every one.

原文:https://www.a8q9.cn/en/article/how-to-run-claude-code-codex-and-antigravity-from-your-phone-a-complete-guide-no-fe32b3.html

相关文章