Antigravity CLI, Claude Code and Codex in one cloud Codespace
November 14, 2026 · Oyren AI Team (AI-written)
TL;DR: Five-hour session caps, weekly provider quotas, and local RAM limits stall pull requests when a developer relies on one terminal agent on a daily laptop. Keeping Claude Code (
claude), Codex CLI (codex), and Antigravity CLI (agy) signed in across separatetmuxwindows inside one Oyren Cloud Codespace lets an active branch move to the next CLI the moment a quota window fills, with public HTTPS previews reachable from desktop or phone on oyren.ai.
Choose or create a workspace, then select the agents and repositories for the workflow.
The mind map above traces one cloud Linux container hosting three independent CLI harnesses in dedicated tmux windows above the same repository and git worktree checkouts. When one provider hits a five-hour ceiling, the next CLI picks up the committed branch state and publishes changes to the same HTTPS preview route and pull request.
Hosting options for a three-CLI setup
Running three Node and Go agent binaries alongside TypeScript language servers, test runners, and a dev server takes steady memory and an uninterrupted network socket. A managed Oyren Cloud Codespace isolates that workload on a clean Linux VM with a 1-hour minimum and per-minute billing after the first hour, starting at $0.174/hr on Free, $0.1653/hr on Pro, and $0.1566/hr on Max for a Small machine (plans and metered rates).
| Dimension | Managed Oyren Cloud Codespace | Spare Mac or 64-bit Raspberry Pi (device beta) | Rented Remote Linux VPS | Primary Personal Laptop (24/7) |
|---|---|---|---|---|
| DimensionPersonal files and SSH keys on disk | Managed Oyren Cloud CodespaceNone (isolated project container) | Spare Mac or 64-bit Raspberry Pi (device beta)None when dedicated to the device beta | Rented Remote Linux VPSNone (separate remote VM) | Primary Personal Laptop (24/7)High (~/.ssh, ~/.aws, cookies, taxes, .env) |
| DimensionOyren compute billing | Managed Oyren Cloud Codespace1-hour minimum, then per-minute ($0.174/hr Free, $0.1653/hr Pro, $0.1566/hr Max on Small) | Spare Mac or 64-bit Raspberry Pi (device beta)Zero Oyren compute fee in the request-only device beta (Docker and private GitHub kit required) | Rented Remote Linux VPSExternal VPS bill over SSH and tmux; Linux device beta enrollment is planned | Primary Personal Laptop (24/7)Not advised for unattended 24/7 agents |
| DimensionOut-of-the-box HTTPS preview URLs | Managed Oyren Cloud CodespaceIncluded via oyren route add | Spare Mac or 64-bit Raspberry Pi (device beta)Unmanaged in the device beta (local network or custom tunnel) | Rented Remote Linux VPSUnmanaged (custom reverse proxy or tunnel) | Primary Personal Laptop (24/7)Unmanaged (local port drops on sleep) |
| DimensionLid-close and Wi-Fi survival | Managed Oyren Cloud CodespaceYes (data center tmux persists) | Spare Mac or 64-bit Raspberry Pi (device beta)Yes in the device beta on wall power | Rented Remote Linux VPSYes (remote tmux persists) | Primary Personal Laptop (24/7)No (process stalls on sleep or roam) |
| DimensionDesktop, tablet, and phone access on oyren.ai | Managed Oyren Cloud CodespaceBrowser VS Code, web terminal, tablet apps, and responsive phone web | Spare Mac or 64-bit Raspberry Pi (device beta)Supported for approved device beta hardware | Rented Remote Linux VPSStandard SSH client; workspace MCP connects over HTTPS | Primary Personal Laptop (24/7)Only while the laptop stays awake |
Autonomous CLI harnesses execute shell scripts, install packages, and read local environment variables. Running unattended 24/7 loops under the primary user account on a daily laptop places ~/.ssh keys, cloud credentials, browser session cookies, and personal documents inside the shell blast radius while draining the battery (remote machine vs personal device guide). Approved users in the request-only device beta can attach a dedicated spare Mac or 64-bit Raspberry Pi running Docker and the private GitHub kit, while general Linux-server and old-laptop enrollment is not open in production yet.
Sign-in paths and quota windows across the three CLIs
Every Oyren Cloud Codespace image preinstalls claude, codex, and agy alongside git, gh, tmux, Node, Python, and Chromium. Selecting one primary agent at launch wires its starter session, and the remaining CLIs start manually in new tmux windows with their own provider sign-in or API key. Benchmark scores and $20/$100 plan math live in the Claude Code vs Codex vs Gemini CLI comparison; the operational differences inside a container come down to authentication and session resume commands.
| CLI binary | Oyren surface | Sign-in path inside the Codespace | Quota cadence | Session resume and review flags |
|---|---|---|---|---|
CLI binaryclaude · Claude Code in the cloud | Oyren surfaceTerminal and Agent chat app | Sign-in path inside the CodespaceClaude Pro or Max login via built-in browser, or ANTHROPIC_API_KEY | Quota cadenceRolling 5-hour window plus weekly cap | Session resume and review flagsclaude --continue, claude --resume, claude -p |
CLI binarycodex · Codex CLI in the cloud | Oyren surfaceTerminal and Agent chat app | Sign-in path inside the CodespaceChatGPT Plus or Pro sign-in on the machine, or OPENAI_API_KEY | Quota cadence5-hour message pool plus weekly cap | Session resume and review flagscodex resume --last, codex review, codex exec |
CLI binaryagy · Antigravity in the cloud | Oyren surfaceTerminal only (experimental) | Sign-in path inside the CodespacePersonal Google account login in the terminal; no API-key option and no Oyren-credits path | Quota cadencePersonal weekly quota, or 5-hour refresh on Google AI Pro and Ultra | Session resume and review flagsagy --continue, agy --conversation, agy -p |
Antigravity CLI (agy, Google's Go-based successor to the individual Gemini CLI) authenticates strictly through an interactive Google account flow inside the Codespace terminal, with no API key variable. That Google credential stays inside the specific Codespace container, survives machine snapshots, and requires a fresh sign-in when creating a separate Codespace.
Separate tmux windows, Git worktrees, and branch handoffs
Two repository layouts cover both sequential quota handoffs and simultaneous multi-agent passes without index lock collisions (Git worktrees for parallel AI agents):
# Inside the Oyren Cloud Codespace terminal
git clone [email protected]:org/app.git /workspace/app
git -C /workspace/app worktree add /workspace/app-review -b review/check origin/main
# Dedicated tmux windows keep each CLI and the dev server isolated
tmux new-session -d -s build -n claude -c /workspace/app "claude"
tmux new-window -t build -n codex -c /workspace/app-review "codex"
tmux new-window -t build -n agy -c /workspace/app
tmux new-window -t build -n preview -c /workspace/app "pnpm dev --port 3000"
# Publish port 3000 on the Codespace HTTPS origin
oyren route add /preview 3000 "Branch preview"
For sequential handoffs when one CLI hits its five-hour limit mid-feature, keeping step commits and an updated pull request checklist on the branch gives the incoming CLI exact ground truth. Running git status -sb and git diff in the next tmux window lets agy or codex continue from the latest commit without replaying chat transcripts. For parallel passes where two CLIs work at once, separate git worktree directories prevent overlapping edits while codex review audits the implementation branch before CI runs.
Mobile check-ins, HTTPS previews, and clean shutdown
Closing the laptop lid mid-test leaves the tmux session, test suite, and dev server running in the cloud container. From a responsive phone browser or tablet app on oyren.ai, a developer opens the public HTTPS route registered via oyren route add to click through UI changes directly, avoiding broken localhost links and dropped SSH port forwards (running Claude Code from a phone).
When the pull request is pushed and verified on the preview URL, taking a Codespace snapshot preserves installed dependencies, worktrees, and signed-in CLI state on disk. Stopping the machine from desktop or phone halts per-minute compute charges immediately after the first-hour minimum until the next coding session starts.
Choose or create a workspace, then select the agents and repositories for the workflow.
Open Codespace setup