← Claude Docs

Use Claude Code on the web - Claude Code Docs

Claude Docs · April 8, 2026
Claude Code on the web runs tasks on Anthropic-managed cloud infrastructure at claude.ai/code. Sessions persist even if you close your browser, and you can monitor them from the Claude mobile app. This page covers: GitHub authentication options: two ways to

Detailed Analysis

Anthropic's Claude Code on the web represents a significant expansion of the company's agentic coding platform, moving beyond local terminal environments to offer fully managed cloud infrastructure accessible at claude.ai/code. Each session operates within a freshly provisioned, Anthropic-managed virtual machine that clones the user's repository at startup, providing approximately 4 vCPUs, 16 GB of RAM, and 30 GB of disk space. Sessions persist independently of browser state, meaning tasks continue running even after a user closes their tab, and progress can be monitored via the Claude mobile app. The platform ships with a broad set of pre-installed toolchains — including Python, Node.js (versions 20–22), Ruby, PHP, Java, Go, Rust, C/C++ compilers, Docker, PostgreSQL 16, and Redis 7.0 — reducing the friction of environment setup that typically precedes cloud-based development work.

A notable architectural decision in the web implementation is its configuration model, which ties session availability directly to what is committed to the repository. User-level configurations stored in local `~/.claude/` directories, MCP servers added via `claude mcp add`, and interactive authentication flows such as AWS SSO are explicitly unavailable. Instead, teams must commit their `CLAUDE.md` files, `.claude/settings.json` hooks, `.mcp.json` server declarations, and plugin definitions to the repository itself — enforcing a kind of infrastructure-as-code discipline for AI tooling. This design choice has meaningful implications for team workflows: it creates consistency across collaborators but also surfaces a current limitation — the absence of a dedicated secrets store — meaning any environment variables or credentials are stored with visibility to anyone who can edit the environment configuration.

GitHub integration is handled through two complementary methods. The GitHub App provides repository-scoped OAuth authorization suited for team and enterprise settings, while `/web-setup` allows individual developers to sync their existing `gh` CLI tokens to the Claude account. The distinction matters operationally: only the GitHub App supports Auto-fix, the feature that enables Claude to respond autonomously to CI failures and pull request review comments by receiving PR webhooks. This creates a tiered access model where individual developers can onboard quickly through the CLI path, but unlock automation capabilities only by adopting the App-based integration. Enterprise and Team admins retain the ability to disable the `/web-setup` path entirely, maintaining centralized control over how credentials flow into cloud sessions.

The broader significance of Claude Code on the web lies in what it signals about the trajectory of AI-assisted software development. By hosting sessions on managed infrastructure rather than requiring local installation, Anthropic lowers the barrier for teams to adopt agentic coding workflows without configuring local environments or managing compute. The persistent-session model — where Claude continues working on a task after the browser is closed — normalizes a new pattern: developers delegating long-running, multi-step coding tasks to an autonomous agent rather than supervising each step interactively. The inclusion of built-in GitHub tools that authenticate through a proxy, keeping tokens outside the container, also reflects a maturing security posture, suggesting Anthropic is designing for enterprise adoption where credential hygiene and auditability are non-negotiable.

This release connects to a wider industry movement toward agentic development environments, where AI systems are granted not just code suggestion capabilities but full execution environments — the ability to run tests, manage services, install dependencies, and push branches. Competitors including GitHub Copilot Workspace and Google's Project IDX have similarly moved toward cloud-hosted, agent-driven coding sessions. Claude Code's approach distinguishes itself through tight integration with repository-native configuration, cross-surface consistency (the same engine powers web, terminal, and IDE extensions), and an explicit design for task delegation over real-time collaboration. The current limitations — no secrets store, no interactive SSO, known proxy issues with Bun — indicate a platform still in active development, but the infrastructure choices made now, particularly around repository-committed configuration and scoped GitHub authorization, will shape how enterprise teams structure their AI-assisted development practices going forward.

Read original article →