Skip to main content
This page takes you from nothing to a working sandbox in four short steps. You will create an API key, start a sandbox, run a small Python program inside it, and then decide whether to keep it or delete it. It takes a few minutes. Every step shows the same thing four ways: with the CLI, the TypeScript SDK, the Python SDK and plain curl, so you can follow along in whichever you prefer.
1

Get an API key

Every request to Fibre needs an API key, so that Fibre knows which account it is for.Sign up at fibre.dev, open API keys in the dashboard, and create a key. It starts with fb_live_. Copy it straight away: it is shown only once. Then make it available to your shell, together with the address of the API:
Terminal
If you are using the CLI, install it; if you are using TypeScript or Python, add the SDK to your project. They all read the same two variables, so there is nothing else to configure:
2

Start a sandbox

response
The call waits until the sandbox is running, then answers. There is no “pending” state to check on. The answer includes the sandbox’s id (it looks like sbx-1a2b3c4d5e). Keep it: every other call refers to the sandbox by this ID.Here is what you get when you leave the other options out:
3

Run code in it

A sandbox is a full Linux machine, so you can put files in it and run programs, just as you would on your own computer. Here we write a small Python script into the sandbox, then run it and read its output:
response
This way of running a command (an exec) waits for the command to finish, and stops it if it takes longer than 30 seconds. That is perfect for quick commands. For longer work such as installs, test runs and servers, use background commands instead.
4

Let it sleep, or delete it

You do not need to stop a sandbox when you take a break. If nothing happens in it for 5 minutes, it goes to sleep on its own. While it sleeps, its memory, programs and files are all kept, and you pay nothing for compute. The next call you make to it wakes it up, exactly where it was.When you have finished with the sandbox for good, delete it:
response
If you forget to delete this one, it is deleted automatically when its lifetime ends, after 600 seconds. A sandbox without a lifetime is kept until you delete it.

Next

Concepts

The words these docs use, each explained in a few lines.

Run commands

Run long commands, watch their output live, and keep programs running.

Files

Move files and folders in and out of a sandbox.

Secrets

Store API keys once and give them to the commands that need them.

Give your agent sandboxes

Add Fibre’s MCP server to Claude Code, Codex, Cursor or OpenCode in one command.

From your coding agent

Let your agent read these docs and write the code.