Skip to content

// guides

Claude Code on the Web: What It Is, How to Use It

Claude Code on the web is Anthropic's hosted, asynchronous version of Claude Code. You open claude.ai/code, connect a GitHub repo, describe a task, and Claude Code runs it on an Anthropic-managed cloud machine and opens a pull request. You can start the same kind of session from your terminal with claude --cloud. It is a research preview, it needs a paid Claude plan, and on the phone it is a way to watch a task run — not a terminal you type into. If what you actually want is an interactive Claude Code shell on your phone, that is a different path, and we cover it below.

Two different jobs — pick the one you came for:

  • Delegate a task and get a PR — you have a well-scoped change, you want Anthropic to run it in the cloud while you do something else. How to use Claude Code on the web ↓
  • Type into a live shell from your phone — you want to run commands, see output, and course-correct in the moment, on Android too, or with Codex and Gemini alongside Claude Code. The interactive path ↓

We wrote this after using both sides ourselves — Claude Code on the web for fire-and-forget PRs, and a cloud container for the live-terminal work we do from a phone. Every fact below is checked against Anthropic's own docs, the Claude Code on the web documentation and the launch blog, both re-read on 2026-07-07. Where a number could drift, it carries that date.

What is Claude Code on the web?

It is the same Claude Code agent, running on Anthropic's infrastructure instead of your machine. Anthropic launched it on 2025-10-20 and it is still labelled a research preview as of 2026-07-07. The model is delegation: you point it at a GitHub repository, write a task, and it works autonomously and opens a pull request with a summary of what it changed. You are not driving a shell keystroke by keystroke; you hand off a job and check back on it.

The design goal is clear once you use it: this is a way to spawn a coding agent that lives in the cloud, does a bounded piece of work, and produces a reviewable diff. It is genuinely good at that.

How do you use Claude Code on the web?

Four steps: connect GitHub, submit a task, monitor it, then review and merge or teleport it to your terminal.

Step 1: Connect your GitHub account

Open claude.ai/code on a paid Claude plan and authorize GitHub — either through the Claude GitHub App (which also enables auto-fix on PRs) or a scoped token. Cloud sessions need repo access to clone code and push branches. Your real token never enters the container; git operations run through a dedicated proxy.

Step 2: Submit a task

Pick a repository and describe a well-scoped change — "add input validation to the signup handler and a test for the empty-email case," say. Claude Code clones the repo into a fresh VM and starts working. From the terminal, the same thing looks like this:

claude --cloud starting an async session (documented behavior)

$ claude --cloud "add retry logic to the upload client"

Created cloud session on claude.ai/code

Cloning repo into Anthropic-managed VM…

Session running. Monitor with /tasks

Step 3: Monitor the run

Watch progress in the web session or from the Claude mobile app. You can steer Claude, answer its questions, and leave inline comments on the diff it is building. This is the part people misread: monitoring is not a terminal. Anthropic's docs are direct about it — interactive commands that open a picker, like /model or /config, are not available in cloud sessions, because there is no interactive shell behind the web view. You supervise; you do not type ls.

Step 4: Review, open a PR, or teleport

When the session finishes, review the diff (it shows a +42 -18-style indicator), open a pull request from the web, or pull the whole thing onto your own machine to keep working locally:

claude --teleport pulling a cloud session local (documented behavior)

$ claude --teleport

Select a cloud session to continue locally:

1. add-retry-logic (+42 -18)

Resuming session on this machine…

Teleport is one-way from the CLI (web → local), and it needs the Claude Code CLI signed in to the same claude.ai account. If you leave a session idle, the VM is reclaimed and you will see it marked expired — more on that next.

What Claude Code on the web does not do

None of this is a knock — it is a different shape than a phone terminal, and naming the edges keeps you from picking the wrong tool. As of 2026-07-07:

claude — a reclaimed cloud environment (documented message)

$ claude --teleport add-retry-logic

Could not resume session: its environment has expired.

Creating a fresh session instead.

If you want an interactive Claude Code terminal on your phone

Here is the opinion we will plant a flag on, and one Anthropic's design would push back on: for mobile coding, async delegation is the wrong default. Most of the time on a phone — on the train, on the couch, in a waiting room — you do not want to fire a task and wait for a PR notification. You want to watch the agent think, catch it going the wrong way on line three, and say "no, use the existing helper" while it is still working. That is a live terminal, not a task queue. Claude Code on the web is excellent for the delegate-and-review job; it is not built for the type-and-watch job.

The type-and-watch job is what we build Cosyra for. It is a native iOS and Android app connected to a persistent Ubuntu 24.04 container on Azure AKS, and we ship Claude Code, Codex CLI, OpenCode, and Gemini CLI pre-installed. You open the app, you are in a real shell, you run claude and it is an interactive session — the same one you would get on a laptop, reachable from your phone.

Job to be done Claude Code on the web Cosyra
Shape Async task → PR Interactive terminal
Phone role Monitor / steer You live in the shell
Android app Monitor from Claude app Native terminal
Agents Claude Code only Claude Code + 3 others
Models Anthropic, on subscription BYOK, your choice
Workspace Ephemeral VM per task Persistent 30 GB
Git host GitHub-centric Any, or none

They are not really substitutes. We use Claude Code on the web to delegate a bounded fix and get a PR back; we use Cosyra when we want to sit in the shell and drive. The honest trade-off on our side: Cosyra is cloud-only too, so neither of us runs offline, and we do not offer a self-hosted option. If you need offline or on-prem, both of us are the wrong answer.

Want the interactive version on your phone? Cosyra ships Claude Code pre-installed in a real terminal, iOS and Android. 1 hour free on signup, no credit card. App Store / Google Play / Pricing

Which one should you reach for?

For the broader map of where each agent runs on a phone, the AI coding agents on mobile pillar lays out all four, and remote control or cloud walks through the relay-versus-container decision in depth. If you specifically want the interactive Claude Code setup, start with Claude Code on phone.

Frequently asked questions

What is Claude Code on the web?

It is Anthropic's hosted, asynchronous version of Claude Code. From claude.ai/code you connect a GitHub repo and describe a task; Claude Code runs it autonomously on an Anthropic-managed Ubuntu 24.04 cloud VM and opens a pull request. From the CLI, claude --cloud starts the same kind of session. It has been a research preview since 2025-10-20 and is a delegate-a-task tool, not an interactive shell.

Is Claude Code on the web free?

No. Anthropic's docs state it is in research preview for Pro, Max, and Team users, and for Enterprise users with premium seats or Chat + Claude Code seats. There is no free tier and no API-key or BYOK path. There is no separate compute charge for the cloud VM, but cloud sessions share your account's rate limits with all other Claude usage.

Can I use Claude Code on the web on my phone?

You can monitor and steer a cloud session from the Claude mobile app, but that is supervising an async task, not an interactive shell. Anthropic's docs note interactive commands like /model and /config are not available in cloud sessions. For a real terminal on the phone where you type commands and see output live, you want a cloud container reached from a native terminal app.

Does Claude Code on the web run Codex, Gemini, or OpenCode?

No. It runs Claude Code only, on Anthropic's models — no provider choice and no way to swap in Codex CLI, Gemini CLI, or OpenCode. If you want several agents in one environment, you install them yourself in a Linux box you control, or use a container that ships them pre-installed.

What is the difference between Claude Code on the web and Remote Control?

They run in opposite places. Claude Code on the web runs on Anthropic-managed cloud infrastructure; Remote Control (claude --remote-control) exposes a Claude Code session running on your own hardware so you can monitor it remotely. Anthropic's docs state --cloud and --remote-control are unrelated. One is Anthropic's cloud; the other is your laptop.

Is the Claude Code on the web cloud VM persistent?

No. The session conversation persists even if you close the browser, but the VM is ephemeral. Anthropic's docs say cloud sessions stop after a period of inactivity and the environment is reclaimed; from a local terminal this surfaces as its environment has expired. Creating a fresh session instead. A setup-script cache is kept about 7 days, but the running box is not a workspace you keep for weeks.

tl;dr

Claude Code on the web is Anthropic's hosted, async Claude Code: connect a GitHub repo at claude.ai/code (or run claude --cloud), it works on an ephemeral Anthropic-managed Ubuntu VM and opens a PR. It is a paid research preview (Pro/Max/Team/Enterprise), Claude-Code-only, and on the phone it is monitor-and-steer, not a terminal. If you want an interactive Claude Code shell you type into from an iPhone or Android — with Codex, Gemini, and OpenCode alongside it — run it in a cloud container instead.

App Store / Google Play. 1 hour free, no credit card.

Run Claude Code interactively from your phone. Install Cosyra and you are in a real terminal with Claude Code ready to go.

See pricing