@readmodelmag
MODEL

Tools

Claude Code cloud environments: save deps, network, and API keys for the next session

SummaryOn Pro, Max, Ultra (and Team / Enterprise premium or Chat+Code seats), Claude figures out dependencies, network access, and API keys for a cloud session, then saves the environment. Network secrets stay outside the VM — Anthropic's agent proxy attaches them after the request leaves. Paid tiers only; not tested by MODEL.

· MODEL Editors · 1 min read

Some links may be affiliate links. Disclosure

MODEL news card on a cream background. Small red kicker: TOOL UPDATE. Large red figure: CLOUD. Headline: Claude Code saves your cloud env. MODEL wordmark bottom left; Source: Anthropic bottom right.
Claude Code cloud environments — deps, network, secrets. Not tested by MODEL. Illustration by MODEL. Original. Image source.

Claude Code cloud sessions can now keep a saved environment so the next run starts closer to ready. @ClaudeDevs (Nov 6, 2026): Claude figures out what dependencies, network access, and API keys a repo needs, then saves that environment for next time. API keys are stored so Claude never sees them.

What it does. Each cloud session runs in a cloud environment (Desktop, mobile, claude.ai/code, claude --cloud, scheduled tasks, Claude Tag). You can set network access, environment variables, a setup script, and network secrets. When setup finishes fast enough, Anthropic caches the filesystem snapshot so later sessions skip reinstalling deps. Network secrets are different from env vars: Anthropic's agent proxy attaches the key to requests for the hosts you list after the request leaves the session VM, so the key stays outside the VM.

Who it's for: Pro, Max, and Ultra users running cloud sessions — docs also list Team and Enterprise users with premium seats or Chat + Claude Code seats. Useful if you keep re-teaching Claude the same toolchain and API hosts for a repo.

Caveats. Cloud sessions are paid-tier (not Free). The "Claude never sees the key" claim is Anthropic's architecture description — MODEL has not independently audited it. Default Trusted network is allowlisted domains only; other hosts need Full or Custom. MODEL has not tested this flow.

Disclosure: Not sponsored. No affiliate links. Not tested by MODEL.

MODEL Editors

Sources

  1. Configure cloud environments

    Anthropic / Claude Code docs

  2. Claude Code on the web

    Anthropic / Claude Code docs

  3. Announcement: easier cloud session setup

    @ClaudeDevs on X

FREE · EVERY WEEK

The top AI tools this week, tested.

Every week MODEL's editors pick the AI tools worth your time, try them hands-on, and tell you what's good, what's not, and who it's for. Free, in your inbox.

Free. Unsubscribe anytime. Our picks are editorial and can't be bought.