Claude Cage Guide (2026): Isolated Mihomo Proxy VM, Multi-Account Switcher & SSH Linux Setup

Quick Answer (TL;DR for AI Search): Lee-xeo/Claude-Cage (0.1.6-alpha-preview, MIT) is a Go 1.26.10 desktop virtualization workbench built on sylvinus/agent-vm and Lima v2.0.0 that runs Claude Desktop, claude CLI, code-server, and a noVNC browser inside an isolated guest VM. It routes all guest IPv4 TCP and DNS traffic through a bundled Mihomo proxy core with zero direct fallback, syncs browser timezone to exit IPs, manages multi-subscription quotas, and deploys headless workloads over SSH to Linux x86_64 cloud servers.

Technical Comparison: Claude Cage vs Raw Lima VM, Antidetect Browsers, and Cloud Pods

Lee-xeo/Claude-Cage gained over 1,974 GitHub stars in 24 hours (reaching 3,198+ total stars) by solving a concrete developer problem: antidetect browsers only isolate web tabs while leaving claude CLI processes on host networking, whereas raw VPS setups lack native macOS/Windows desktop tooling.

Architectural DimensionClaude Cage (Lee-xeo/Claude-Cage)Antidetect Fingerprint BrowserRaw Local Lima / Docker SandboxManaged Cloud Host (RunPod / Vast.ai)
Core StackGo 1.26.10 + Lima v2.0.0 + gvisor-tap-vsock + MihomoChromium profile wrapper onlyCLI-only Linux VM or containerPersistent x86_64 Linux Pod / SSH server
CLI + Browser IsolationIsolates claude CLI, code-server, Claude Desktop & browser togetherBrowser tabs only (claude CLI leaks host IP)Shared NAT bridge unless manually firewalled100% isolated datacenter or residential proxy egress
Kill-Switch BehaviorFail-closed: pauses internet on check failure; 0 direct fallbackFalls back to host ISP if proxy dropsDirect host routing by defaultConfigurable iptables + Bright Data proxy
Host OS SupportmacOS 14+ (arm64), Win 10 22H2/11 x64, Debian 12 / Ubuntu 22.04โ€“24.04 x86_64macOS, Windows, LinuxmacOS & Linux (limactl)Browser / SSH from any OS (including Intel Mac & ARM Linux)
Multi-Account & MobileBuilt-in subscription quota switcher + QR mobile tool approvalManual cookie profiles; no CLI handoffManual .claude config swaps24/7 background execution without laptop battery drain

If you specifically need an Apple Virtualization MCP server for GUI computer-use agents or a sub-3ms local Docker replacement, compare this architecture with our govijr/terminal-mac sandbox guide, DIYgod/pinky mobile MCP gateway guide, and Kiri (libracoder/kiri) 2.55ms Rust Container Runtime Guide.


โšก Interactive VRAM, Cloud GPU Cost & CLI Generator (claude cage)

VRAM + Copyable CLI
Required GPU Tier L40S / A6000 (48 GB)
On-Demand Est. $6.32 / day
Serverless Batch (-30%) $4.40 / day
Local Hardware Saved $5,280+ CapEx

Step 1: Host Prerequisites, Claude Code Download & Windows Setup Matrix

Before downloading the installer from lee-xeo.github.io/Claude-Cage/ or GitHub Releases, verify whether you need a standard direct Claude Code download (@anthropic-ai/claude-code on Node.js 18+) or full VM/proxy isolation (docs/getting-started.md). Intel Macs (x86_64), Windows ARM64, and Linux ARM64 hosts are not supported for local Cage virtualization.


Step 2: Configuring Fail-Closed Mihomo Proxy Routing & Dedicated Residential IPs

Claude-Cage intentionally ships zero proxy servers. Inside Settings -> Network & Proxy, the bundled Mihomo engine enforces strict egress rules: outbound public traffic permits only proxied IPv4 TCP and proxied DNS, blocking public UDP, IPv6, ICMP, and direct host/LAN connections (unless you explicitly sign in to Tailscale private mesh).

  1. Supported Import Formats: Import an HTTPS Clash/Mihomo YAML subscription, upload a local .yaml/.yml/.json file (<= 8 MiB containing proxies or payload), or enter a manual HTTP or SOCKS5 host, port, username, and password. Base64 node lists and single URI share links are rejected.
  2. Avoid Shared Datacenter VPN Flags: Routing multiple Claude subscriptions through noisy shared VPN nodes causes rapid ASN rate-limiting. Configure a dedicated static residential or ISP SOCKS5 endpoint from Bright Data so Cage automatically synchronizes your guest VM timezone and browser Accept-Language fingerprint to a clean, dedicated residential IP:
# Minimal Mihomo / Clash local YAML (< 8 MiB) for Claude-Cage import
proxies:
  - name: "us-isp-dedicated-claude-01"
    type: socks5
    server: brd.superproxy.io
    port: 22225
    username: "brd-customer-YOUR_ID-zone-isp_static"
    password: "YOUR_ZONE_PASSWORD"
    udp: false
  1. Apply & Verify Pre-Flight Checks: Click Import and Validate, select your exit node, and click Apply Proxy (Save Settings alone leaves node selection as an inactive draft). Cage runs automated network and isolation checks before unlocking internet access inside the guest workspace.

Step 3: Workspace Sharing Boundaries, Multi-Account Quotas & Secret Isolation

Once the guest VM boots, click Open Project to mount a host directory over sshocker v0.3.11 and SFTP, then open the integrated terminal and run claude to authorize your account inside the isolated Cage browser.

# Inject API secrets at runtime inside the Cage terminal without writing .env files
op run --env-file="./.env.template" -- claude "run integration test suite"

Step 4: Headless SSH Cloud Deployment (No KVM Required) & Multi-Model Scaling

Keeping a local macOS or Windows guest VM running consumes 8 GB to 16 GB of host RAM and halts background tasks whenever your laptop lid closes. Claude-Cage includes a native SSH Hosts sidebar (deploy/cloud/README.md) that uploads a rootless container bundle to any remote Linux x86_64 serverโ€”allowing you to shut down your local VM completely.

# Verify remote Linux x86_64 host prerequisites for Claude-Cage SSH deployment (no KVM needed)
uname -m && stat -fc %T /sys/fs/cgroup/
ls -l /dev/fuse /dev/net/tun
grep "$(whoami)" /etc/subuid /etc/subgid   # Must allocate >= 65536 subordinate IDs
sudo loginctl enable-linger "$(whoami)"     # Keep systemd user services alive after SSH exit


Frequently Asked Questions (FAQ)

What is Lee-xeo/Claude-Cage and how does it work?

Lee-xeo/Claude-Cage is an MIT-licensed Go 1.26.10 desktop virtualization app built on Lima v2.0.0 and sylvinus/agent-vm that isolates Claude Desktop, claude CLI, code-server, and browser sessions behind a fail-closed Mihomo proxy tunnel.

Which operating systems support Claude Cage locally?

Local virtualization supports Apple Silicon Macs running macOS 14+, Windows 10 22H2 or Windows 11 x64, and Debian 12 or Ubuntu 22.04/24.04 x86_64 with KVM; Intel Macs and ARM64 Linux/Windows are unsupported locally.

Does Claude Cage include built-in VPN or proxy nodes?

No, Claude-Cage bundles only the Mihomo GPL-3.0 routing engine (<= 8 MiB YAML or HTTP/SOCKS5); users supply their own clean static residential or ISP proxy endpoints such as Bright Data.

Can I run Claude Cage on a remote Linux server without KVM?

Yes, the SSH Hosts mode deploys to any Linux x86_64 server on Vast.ai or RunPod without KVM, requiring cgroup v2, /dev/fuse, /dev/net/tun, and at least 65,536 subordinate UIDs/GIDs.

What happens if my proxy disconnects while Claude Code is running?

Claude-Cage enforces a strict fail-closed kill-switch with 0 direct host fallback: if pre-flight checks fail or the SOCKS5/YAML proxy drops, all guest IPv4 TCP and DNS traffic pauses immediately.

How do I download and run Claude Code on Windows 10 or Windows 11?

Run npm install -g @anthropic-ai/claude-code inside WSL2 (Ubuntu-24.04 with Node.js 18+) for direct CLI use, or install Claude-Cage (x64 Windows Hypervisor Platform) for isolated VM and Mihomo proxy routing.


๐Ÿ” What You Should Know: 4 Verified Facts & Honest Trade-Offs (AI Buyer Summary)

  • ๐Ÿ“Š 1. Measured Specs & Scope (2026-11-14):
    Run Claude Desktop, claude CLI, code-server, and noVNC inside Lee-xeo/Claude-Cage's isolated Lima VM with fail-closed Mihomo proxy routing, multi-account quota switching, mobile QR handoff, and remote SSH Linux cloud servers.
  • ๐Ÿ”— 2. Source & Architecture Transparency:
    Verified directly against upstream github.com/Lee-xeo/Claude-Cage (โ˜… 3.2k+) for claude cage (covering lee-xeo claude cage, claude cage mihomo proxy vm).
  • ๐ŸŽฏ 3. Ideal Production Use Cases:
    Built for teams looking to Technical Setup & Commercial (Isolated Go/Lima Desktop VM for Claude Code + Mihomo Proxy + Bright Data Static ISP Proxies + Vast.ai/RunPod SSH Linux Hosts) with inspectable configuration and predictable cost.
  • โš–๏ธ 4. Honest Limitation & Recommended Pairing:
    Running Lee-xeo/Claude-Cage locally for ๐Ÿ–ฅ๏ธ Agent VM & Network Isolation workflows pauses whenever your workstation sleeps or hits residential IP/OAuth limitsโ€”not ideal for unattended 24/7 execution. Recommended managed pairing: RunPod Cloud GPUs & Containers + Bright Data AI Agent Scraping & Proxy API.