← Blog

How do you give Claude Code or Codex its own cloud computer?

Install the Orgo CLI, hand your coding agent the command list, and let it create, drive, and stop a real desktop from the terminal.

Updated

Install the Orgo CLI, run orgo login once, and tell Claude Code or Codex to run orgo manifest first. That prints every command and option as JSON, so the agent creates and drives an Orgo cloud computer from the terminal with real flags instead of guesses. For Claude Code, the Orgo skill adds one file that teaches it when to reach for that computer on its own.

The computer is a cloud desktop with a browser and a terminal, controlled through shell commands your coding agent already knows how to run (llms.txt). Orgo provides the computer, not the agent: your coding agent decides what to do, and Orgo gives it a screen, a browser and a machine that is not your laptop.

When a coding agent needs a computer

Claude Code and Codex read, edit and run code in your repo. Some tasks need more: a browser to check how a page renders, a GUI app to click through, an installer you do not want on your own machine, or a session that stays up after you close the terminal.

Orgo's skill file gives the test: does the task need vision of a rendered page or app, persistence across sessions, or isolation from the user's machine? If none apply, the agent should use its normal tools and skip the computer (SKILL.md).

An Orgo computer comes online in seconds and runs until you stop it, or, if it runs by the hour, until its credit runs out (llms.txt). Linux and Windows are self-serve. Macs and iPhones come from stock through Get one in the app, while any are ready (pricing). For background, see What is computer use? and Cloud desktops vs. headless browsers.

Setup

  1. Install the CLI. The script works on macOS and Linux, brings its own Node into ~/.orgo/node and needs no sudo. On Windows, or wherever you prefer npm, use npm install -g orgo with Node 20 or later (CLI guide).

    bash
    curl -fsSL https://orgo.ai/install.sh | bash
    # or, with Node 20+ (and on Windows)
    npm install -g orgo

    The script puts an orgo wrapper in ~/.local/bin, so make sure that folder is on your PATH.

  2. Sign in once. orgo login opens your browser and completes a device-code flow. Over SSH or on a headless box, orgo login --no-open prints the URL instead. The credential is saved in ~/.orgo/credentials.json with mode 0600 (CLI guide).

  3. Pick a workspace with orgo workspaces use "my-workspace", then run orgo computers list to see what is already running.

  4. Give the agent the command list. Paste a prompt like this into Claude Code or Codex:

    Plain text
    I want you to use the Orgo CLI. First run `orgo manifest` to learn every
    command and flag, then run `orgo computers list` and tell me what you see.
  5. Let it create and use a computer.

    bash
    orgo computers create --workspace my-workspace --name agent-1 --ram 8 --cpu 2
    orgo computers bash agent-1 -c "uname -a"
    orgo computers screenshot agent-1 -o shot.png

    8 GB and 2 vCPU is a Medium, the one size that runs by the hour with no plan. Other sizes need a plan. With no plan, a create that names another size makes a Medium instead of failing, so read ram and cpu in the --json answer.

When stdout is not a terminal, the CLI switches to plain text with no prompts, so an agent calling it from a tool gets clean output. Pass --json or set ORGO_JSON=1 for machine-readable results (CLI guide).

The commands that matter

CommandWhat it doesGood for
orgo manifestPrints every command and option as JSON, with aliases and defaultsThe first thing the agent runs
orgo computers createCreates a computer; flags for --ram, --cpu, --disk, --os, --templateProvisioning from a script
orgo computers bash <name> -c "..."Runs a shell command on the computerInstalls, builds, test runs
orgo computers exec <name> --code "..."Runs Python on the computerQuick scripts
orgo computers screenshot <name> -o shot.pngSaves the screen as a PNGVisual checks
orgo run "<prompt>" --computer <name>One-shot agent run that clicks and types until doneWhole GUI tasks
orgo ssh <name>Interactive terminal over WebSocket, starting in /root/DesktopHands-on debugging
orgo files export --computer <name> --path ...Copies a file off the computer into workspace storage; orgo files download <id> saves it locallyGetting results back
orgo computers stop <name>Stops the computerEnding the session

Source: CLI guide and orgo <command> --help.

The create flags:

  • --ram takes 4, 8, 16, 32 or 64 GB. --cpu takes 0.5, 1, 2, 4 or 8.
  • One computer tops out at 8 vCPU, so --cpu 16 is refused with 403 PER_COMPUTER_CPU_CAP.
  • On a plan, 8 vCPU or 64 GB answers 403 CONTACT_US_FOR_SIZE unless Orgo has enabled sizes past XL for your account (Create a computer).
  • --os is linux (the default) or windows. Macs and iPhones come from stock through Get one in the app, not from this flag.
  • Windows is included on Scale. On Starter or Growth a Windows computer is $47 a month, a $15 license plus a Medium's memory, vCPU and disk. Without one the create answers 403 WINDOWS_REQUIRES_SCALE (pricing).

bash and exec take --timeout in seconds, up to 300. orgo run takes --model, which defaults to claude-sonnet-5. The orgo agent TUI also defaults to Sonnet 5, and /model switches to Opus 5. Its sessions save to ~/.orgo/sessions/ after every turn, and orgo resume picks one up again.

orgo ssh is a terminal over a WebSocket, not an SSH server. For a standard SSH endpoint you reach with your own key, see Connect with SSH.

The Claude Code skill

The Orgo skill is a single SKILL.md file for Claude Code. Install it for yourself or for one project:

bash
# personal
mkdir -p ~/.claude/skills/computer && \
  curl -fsSL https://orgo.ai/skills/computer/SKILL.md \
    -o ~/.claude/skills/computer/SKILL.md
 
# one project
mkdir -p .claude/skills/computer && \
  curl -fsSL https://orgo.ai/skills/computer/SKILL.md \
    -o .claude/skills/computer/SKILL.md

Restart Claude Code if it is running. Claude reads the skill's metadata at startup (about 100 tokens) and loads the full body only when a request matches, such as "spin up an orgo computer and screenshot the orgo.ai homepage" (Claude Code skill).

The skill tells Claude to:

  • Use one-shot orgo run with --json, the orgo agent TUI, orgo ssh and orgo computers create.
  • Reuse a computer that is already running before it provisions a new one, and stop computers when finished.
  • Ask Orgo's support agent when it is stuck instead of guessing.
  • Skip the computer for tasks its Read, Edit and Bash tools already handle.

The skill also works on claude.ai (upload a .zip of the computer/ folder) and through the Claude API's /v1/skills endpoints. It is plain markdown, so read it before you install it, as you would any package. It is written for Claude Code; Codex uses the CLI directly, or Orgo through MCP.

CLI, MCP or API

Orgo CLIOrgo MCPHTTP API
How the agent reaches OrgoRuns orgo shell commandsCalls tools in an MCP clientYour code sends requests
SetupInstall, orgo loginAdd https://www.orgo.ai/mcp and sign inAPI key in the Authorization header
Best whenThe agent already has a shell, or you want scripts and CIThe agent lives in an MCP client and you want tools without a shellYou are building Orgo into your own product
DocsCLIMCPAPI reference

All three reach the same computers, so you can mix them. The local MCP server reads the same ~/.orgo/credentials.json the CLI writes. Codex can add it with codex mcp add orgo --env ORGO_API_KEY=sk_live_... -- npx -y orgo-mcp-server (MCP). For the MCP path in detail, see Orgo MCP for AI agents. For one request that runs a whole task, see Orgo computer use API.

CI and headless boxes

Skip orgo login and set ORGO_API_KEY. The CLI uses that key directly instead of the credentials file (CLI guide). If ORGO_PROFILE or --profile is set, the CLI reads that saved profile and ignores ORGO_API_KEY, so leave both unset in the job.

KeyMake it withWorks forDoes not work for
Workspace-scopedorgo api-keys create --name ci --workspace my-workspacecomputers create with --ram and --cpu, bash, exec, run, stop and files export, in that one workspace--template by name, orgo whoami, and saving a PNG with orgo computers screenshot
Account-wideorgo api-keys create --name ciEverything, including --templateNothing, but it reaches every workspace on the account

A scoped key is limited to computers, files and agent runs. Template, account and stored-image routes refuse it with 403 workspace_scope_mismatch, which the CLI shows as "Template not found" or a failed screenshot download. Start with a scoped key, and switch to an account-wide one only when the job needs a template.

A run with a workspace-scoped key, passing every create flag so nothing prompts:

bash
export ORGO_API_KEY=sk_live_...   # scoped to my-workspace
orgo computers create --workspace my-workspace --name ci-run --ram 8 --cpu 2 --json
orgo computers bash ci-run -c "uname -a"
orgo run "open chrome and check the staging homepage loads" --computer ci-run --json
orgo computers stop ci-run

For the same setup every time, use an account-wide key and launch from a template. orgo computers create --workspace my-workspace --name ci-run --template coding gives a computer with Claude Code and Codex installed. See Orgo templates and triggers. To keep a computer's state between runs, see How do you pause, fork, or clone an AI agent's computer?

Cost

A Medium Linux computer (2 vCPU, 8 GB RAM) runs by the hour from credit at $0.055 an hour, or $0.0027 an hour while stopped, billed by the second. With no plan, the starting credit runs one computer at a time, a Linux computer from Small to XL or a Windows one from Medium to XL. More computers need added credit or a plan: Starter ($29 a month), Growth ($99), Scale ($399) or Enterprise. Turns from orgo run and orgo agent are billed as AI usage on top of the computer. A new account can get $3 of starting credit after the free checks (pricing).

Agent signup

A coding agent can make its own Orgo account. POST https://www.orgo.ai/api/v1/agents gives it an account and API key with $2 of starting credit, with no email, card or person involved. That credit pays for computers, not AI. The account expires 72 hours after signup unless it adds $5 of credit or a person claims it with the claim link it returns (For agents, Agent signup).

To put the agent on your own account instead, use orgo login: the agent shows a short code and you approve it in a browser, so no key is pasted into a chat (For agents).