Foundational Compute

A computer for every agent, in under 500 ms.

Create it, run code, read the result, throw it away. Python, TypeScript, the CLI or plain HTTP.

Dashboard Quickstart

THE API

Simple to use.

Create a sandbox, run your code, read the result.

Python · TypeScript · CLI · HTTP · llms.txt

agent.py
from fdtn import Sandbox

code = "print('hello from the model')"        # code your agent wrote
sbx = Sandbox.create("base", timeout=600)       # lives 10 minutes
sbx.files.write("/app/main.py", code)
r = sbx.commands.run("python3 /app/main.py", timeout=60)
print(r.stdout)                                # hello from the model
url = "https://" + sbx.get_host(8000)     # an address for port 8000
sbx.pause()                                    # keep it; resume later

WHAT IT DOES

The parts you need, and nothing else.

commands.run()Run anything

Foreground or background, with streaming output, stdin and time limits.

files.write()Move files

Read, write, list and watch files. Copy whole folders with one command.

get_host(port)Open a port

Each port gets its own HTTPS address. Private by default, public if you ask.

pause()Keep it for later

Memory and files are kept 72 hours, free. Resume from the same point.

fdtn templateYour own image

Build a template from a Dockerfile once. Every machine starts with it.

--count 100Run many

Start a group, run a command in each machine and collect every result.

ISOLATION

Safe for code you did not write.

Each sandbox is a virtual machine with its own Linux kernel. It cannot reach other sandboxes, the computer it runs on, or private networks. By default it can run on a Host’s Mac. For API keys and private data, add --trusted: it runs only on machines we own.

Security and isolation

Start
<500 ms
Sizes
Any size up to 16 vCPU and 32 GiB, set per template
Disk
5–20 GiB, free
Lifetime
Up to 24 hours per run
At once
Start as many as you need; extra starts queue
CPU
64-bit Arm
Price
$0.018 per vCPU-hour + $0.006 per GiB-hour