Skip to content

About

Run each Orca workspace on its own BoxCompute cloud VM

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

BoxCompute VMs for Orca

Run each Orca workspace on its own BoxCompute cloud VM. Your agents work on a Linux VM with its own disk, so long runs keep going when your laptop sleeps, and several workspaces never fight over one machine.

See it in the Orca plugin directory

Set up

  1. Install the plugin in Orca (Settings → Plugins), then turn on Cloud VM under Settings → Experimental.

  2. Sign in to BoxCompute once, in any terminal:

    npx @boxcompute/cli login
  3. Create a workspace and choose BoxCompute VM under Run on.

The first workspace takes about a minute and a half: the VM starts, Orca's server is installed and your repository is cloned from its Git remote. Claude Code and Codex install in the background and are ready a minute or two later. Sign them in from an Orca terminal in the workspace (claude, or codex login --device-auth); the sign-in stays on the VM.

What it costs

A VM bills your BoxCompute credit by the minute while it runs, at BoxCompute's usual rates. While Orca is open, its awake workspaces keep running. Put a workspace to sleep in Orca and its VM stops, keeping its files; waking it takes about a minute. After Orca quits, its VMs stop on their own within about half an hour. Deleting the workspace deletes the VM.

Recipe VM Notes
BoxCompute VM Large, 1.5 vCPU, 3 GiB
BoxCompute VM (XL) XL, 4 vCPU, 8 GiB Comes with BoxCompute Starter

Private repositories

The VM clones your repository's remote over HTTPS. For a private GitHub repository it uses GH_TOKEN, GITHUB_TOKEN or your gh auth token for the clone and later fetches, then deletes it from the VM. To push from the VM, run gh auth login in an Orca terminal there. Commits that are only on your laptop are not on the VM: push them first.

How it works

The recipe runs the BoxCompute CLI (bxc orca create|suspend|resume|destroy, pinned to one version) in your repository:

  • create starts a VM, installs Orca's own server build (checked against its release checksums), clones the repository to /workspace/projects/<name> and starts orca-ide serve, listening only on the VM's loopback. Orca reaches it through a private BoxCompute preview link and pairs with it, so no port is opened on the VM.
  • suspend stops the VM; resume starts it and pairs again; destroy deletes it.
  • The plugin's worker runs bxc orca keep-open every 20 minutes while Orca is open, so the link and the VM stay up during long agent runs. The status bar shows how many VMs it keeps.

The plugin never sees your BoxCompute credential; the CLI keeps it in its own config directory. Nothing is collected about you.

Options

Set these where Orca runs:

  • BOXCOMPUTE_ORCA_SIZE: small, large, xl or xxl, overriding the recipe's size.
  • BOXCOMPUTE_ORCA_WORKSPACE: the BoxCompute workspace for new VMs (default: your first).

Troubleshooting

  • The status bar says "BoxCompute: sign in". Run npx @boxcompute/cli login, then click it.
  • A workspace shows disconnected. Orca notices a VM that stopped and wakes it after a few minutes; Sleep then Wake the workspace to do it now.
  • The clone failed. The error names the remote. Make sure it is pushed and, if private, that gh auth status is signed in on this computer.

Questions: hello@boxcompute.ai. License: MIT.

About

Run each Orca workspace on its own BoxCompute cloud VM

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages