If your AI coding agent runs in a terminal on your computer, CLIAnywhere gives you remote access to that terminal session. That covers terminal-based agents such as Claude Code, Codex CLI, Gemini CLI, OpenCode, and Aider — CLIAnywhere does not integrate with any of them individually, and it does not need to: whatever runs in your terminal, you can watch it and type into it from an iPhone, Android device, or web browser. The session stays on your computer and survives disconnects, so long agent tasks keep going whether you are watching or not.
Terminal-based agents all share the same shape: a long-running process that prints output and waits for your input. CLIAnywhere turns that process into something you can reach from any device.
Claude Code, Codex, Gemini CLI, OpenCode, and Aider all run inside a shell on your computer. They read your prompts from stdin and print edits, diffs, and test results to the terminal.
Multi-file refactors, dependency upgrades, test-suite runs, and training jobs routinely take minutes to hours. Nobody wants to sit at the terminal for the whole run.
Agents stop to ask questions, hit failures, or finish a phase while you are away. Being able to look in and reply — without running back to the desk — is the whole game.
The terminal session stays on your computer; the app on your phone or browser is a live window onto it. Watch, scroll back, and type — from wherever you are.
Illustrative session: a terminal-based coding agent, viewed in the CLIAnywhere mobile app.
CLIAnywhere has no per-agent integrations, plugins, or vendor partnerships — and needs none. If your agent runs in a terminal on your computer, remote access to that terminal session is all it takes.
Claude Code — Anthropic's terminal-based coding agent, also covered in its own use-case page.
OpenAI's command-line coding agent. Run it in your shell and reach the session from your phone.
Google's Gemini CLI agent for terminal-based coding workflows.
Open-source terminal coding agent. Same rule: it runs in a shell, so it is reachable.
Open-source AI pair programming in the terminal. Long refactors are its normal workload.
A custom script, a model training run, a build pipeline — anything printing to a terminal works the same way.
Builds, training runs, and multi-hour agent tasks fail in one specific way: the connection between you and the terminal drops. Persistent sessions remove that failure mode.
A long refactor, an upgrade across every dependency, or a training job can run for hours. With CLIAnywhere you check in when it matters instead of babysitting the terminal.
The session runs on your computer, not on your phone. Lock the phone, close the app, switch from Wi-Fi to cellular — reconnect later and the scrollback, the shell state, and the agent are all still there.
The classic fix is tmux or screen behind an SSH tunnel. CLIAnywhere gives you the same continuity across desktop and mobile out of the box, with no server configuration or port forwarding.
One pass through the workflow: start a long task before you leave, steer it from your phone, collect the results later.
It is 6 p.m. and you want an agent to migrate a service from one API client to another before tomorrow — a task that touches dozens of files and needs the full test suite green at the end. You start it in a terminal on your office machine, confirm it has understood the task, and leave for the day.
Nothing about the agent was hosted or proxied by CLIAnywhere — the run lived in a terminal on your computer the whole time. You just never had to be in front of it.
Everything that crosses the wire — keystrokes, agent output, downloaded files — is encrypted end-to-end: keys are negotiated between your devices with SPAKE2, and payloads are sealed with AES-256-GCM, so the relay used as a fallback only ever sees ciphertext. Every computer you link is protected by a Security Code generated locally on that machine, never uploaded. See the security overview for details.
Platform and capability facts for this use case, all verified against the shipping product.
| Windows host | Yes |
|---|---|
| macOS host | Yes (signed and notarized, distributed via GitHub Releases) |
| Linux host | Yes (desktop UI or headless CLI build) |
| iOS client | Available on the App Store — see the download page |
| Android client | Google Play |
| Web client | webapp.clianywhere.com |
| Shells | bash, zsh, fish, sh, cmd, pwsh, powershell |
| Persistent sessions | Yes |
| Desktop↔mobile session switching | Yes |
| File browser + download | Yes |
| P2P direct (DTLS) | Yes |
| Encrypted relay fallback (WSS) | Yes |
| End-to-end encryption | SPAKE2 + AES-256-GCM |
| Port forwarding / public IP | Not required |
| Open-source daemon | github.com/CLIAnywhere/clianywhere_daemon |
Free download, one-minute setup, and your terminal session on every device.