Beta: 10 free hours every week, no card needed. See pricing →
  1. Home
  2. Setup guides
  3. OpenCode

Run OpenCode in a cloud sandbox

OpenCode is an open-source coding agent that works with many model providers. On Stillbox it gets a secure computer of its own in the cloud: it keeps working after you log off, sleeps with its memory when it goes quiet, and picks up on the same line.

OpenCode is made by its open-source authors. Stillbox runs it for you and isn't affiliated with them.

Set it up in four steps

  1. Install the command-line tool and sign in

    For macOS and Linux; Homebrew and Windows installers are in the command-line docs.

    curl -fsSL https://get.stillbox.app/install.sh | shstillbox login --region global
  2. Create a sandbox with OpenCode

    It prints the sandbox's ID once it runs. Prefer the browser? Choose OpenCode on the console's Home and press Create.

    stillbox create -n my-project -a opencode
  3. Sign in once

    Open a terminal in the sandbox and sign in with the model provider you choose. Or skip this: an owner can add a key for one of its model providersas a company model key, which never enters the sandbox.

    stillbox shell ws-7k2m9q4x8w3z5r6topencode auth login
  4. Give it a task

    Ask from your terminal or the console's Chat tab. It keeps going if you close your laptop.

    stillbox chat ws-7k2m9q4x8w3z5r6t "clone github.com/me/project and run its tests"
Questions

OpenCode on Stillbox

Do I need my own OpenCode account?

Sign in once with the model provider you choose in the sandbox's terminal, or have your organization's owner add a key for one of its model providers as a company model key. That key stays outside the sandbox, and the agent uses it from its next turn without anyone signing in.

What does running OpenCode on Stillbox cost?

10 awake hours a week are free. After that you pay for memory actually used ($0.003 per GB-hour) and CPU while busy ($0.01 per CPU-hour), and nothing while the sandbox sleeps. What the agent spends on its model goes on your own account or key.

Is Stillbox part of OpenCode?

No. Stillbox is an independent cloud for running AI agents and isn't affiliated with OpenCode's makers. It installs OpenCode the first time your sandbox starts, so you get a recent version, and keeps its settings and history on the sandbox's disk.

Run OpenCode where it never loses its place

Ten free hours every week, no card needed.