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
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:
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
2
Start a sandbox
Response
Response
response
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
Response
response
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:
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.
Response
Response
response
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.