Claude Code on Your Phone: Remote Control AI Agents From iOS, Android, or Browser
Run Claude Code on your Mac and answer agent questions from your phone. Live log streaming, push notifications, permission prompt detection, and multi-viewer support - works with iOS, Android, and any browser via ClawTab Remote. A practical alternative to Claude Code's built-in Remote Control.
The Problem: Agents Need Attention While You're Away
You kick off a Claude Code agent on a big refactoring task, grab coffee, and come back 20 minutes later to find it's been waiting for your input since minute three. Sound familiar?
AI coding agents are powerful, but they're not fully autonomous. They ask clarifying questions, hit permission prompts, encounter errors that need human judgment. If you're not at your desk watching the terminal, that work stalls.
ClawTab Remote solves this. It connects your phone directly to your running agents, so you can respond to questions, monitor progress, and manage jobs from anywhere.
If Codex is your main agent, read the focused Codex remote control guide. It compares OpenAI's native mobile Remote tab with ClawTab's tmux-level path for Codex CLI and mixed-provider workspaces.
How Remote Access Works
The architecture is simple: your ClawTab desktop app maintains a persistent WebSocket connection to a relay server. Your phone connects to the same relay. Messages flow between them in real time.
All communication is encrypted over TLS. The relay server never stores your agent output or code - it just passes messages through. Three separate token types (device, session, relay) ensure that even if one is compromised, an attacker can't impersonate your device.
The flow looks like this:
Phone connects to relay via WebSocket + TLS
Relay authenticates and routes messages
Desktop sends live job updates, log lines, and agent questions
Latency is typically under 100ms. Log lines stream as they're written, not in batches.
The Remote panel in ClawTab desktop showing connection status
That's it. Your devices pair automatically. The connection persists across app restarts and reconnects if your network drops.
The Mobile Experience
The mobile app gives you a full view of your running jobs. You see every job's status, type, and last activity at a glance. Tap into any job to see its live log output streaming in real time.
You can start new jobs, stop running ones, and see the full history of completed runs. The interface is built with React Native, so it feels native on both iOS and Android.
Agent messages on your phone
Agent questions and completion notices appear as cards on your phone. Reply from the card or open the session to read its terminal output.
When an agent needs a decision, choose an answer or type a reply. It goes back to the same agent so work can continue.
An agent completion message on iPhone, with its terminal output and reply controls.
Push Notifications
ClawTab Remote sends push notifications for the events that matter:
Job completed - your agent finished its task
Job failed - something went wrong and needs attention
Agent question - Claude is waiting for your input
Notifications are delivered through Apple Push Notification service (APNs) on iOS and web push on browsers. They work even when the app is in the background or your phone is locked.
Security
Remote access to your development environment demands serious security. Here's how ClawTab handles it:
TLS everywhere - all WebSocket connections use TLS. No plaintext.
Three token types - device tokens, session tokens, and relay tokens are separate. Compromising one doesn't give access to the others.
Stolen token detection - if a token is used from an unexpected context, the session is invalidated.
No storage on relay - the relay server passes messages through but never persists your code, logs, or agent output.
Open source - the relay server code is open source. You can audit every line.
Self-Hosting the Relay
If you want full control, you can run your own relay server. It's a standalone Rust binary built with Axum and requires minimal configuration:
A PostgreSQL database for device registration
A TLS certificate (or put it behind a reverse proxy)
A handful of environment variables
The relay binary is small, fast, and runs well on a $5/month VPS. Docker images and compose files are included in the repository under public/etc/.
Media
Answering agent questions remotely from your phone
Frequently Asked Questions
ClawTab Remote connects your phone to your desktop ClawTab app through a relay server using WebSocket connections over TLS. Your desktop sends live job updates, log output, and agent questions to the relay, which forwards them to your phone in real time. You can respond to agent questions, start/stop jobs, and monitor everything from the mobile interface.
Yes. All connections use TLS encryption. The system uses three separate token types (device, session, and relay) so compromising one doesn't expose the others. The relay server never stores your code or agent output - it only passes messages through. Stolen token detection automatically invalidates suspicious sessions. The relay server is also open source so you can audit the code.
Yes. ClawTab Remote lets you start, stop, and monitor Claude Code agent jobs directly from your phone. You can see live log streaming, respond to agent questions, and manage your full job queue. The mobile app works on iOS, Android, and in any mobile browser at remote.clawtab.cc.
ClawTab automatically detects when Claude Code asks a question in the terminal. The question appears as a push notification on your phone and as a tappable card in the mobile app. You can type a response or pick from suggestions, and your answer is sent directly back to the agent's input. The agent then continues working without delay.
Yes. The relay is a standalone Rust binary that you can run on your own server. It needs a PostgreSQL database and a TLS certificate (or a reverse proxy). Docker images and compose files are included in the repository. It runs efficiently on minimal hardware.
ClawTab Remote is included with ClawTab. The hosted relay at remote.clawtab.cc is available for registered users. You can also self-host the relay server at no cost since it's open source.