DEV Community

flisk
flisk

Posted on

Fleet: What Happens When Your Agent Asks for a Computer

Agents that run code need an isolated machine. Each sandbox vendor has its own API and its own price. Fleet puts one API in front of them. It is free and MIT, and in beta.

Set up

Give your agent one line:

set up https://fleet.flisk.si/SKILL.md
Enter fullscreen mode Exit fullscreen mode

Or do it by hand. Sign in with GitHub, make a fleet key in the console, and connect at least one provider. To try it with no provider account, send X-Demo-Key: demo and you get a simulated pod.

Start a pod

curl -X POST https://fleet.flisk.si/v1/pods \
  -H "Authorization: Bearer $FLEET_KEY" \
  -H "X-Daytona-Key: $DAYTONA_KEY" \
  -d '{"cpu":2,"ram":4}'
Enter fullscreen mode Exit fullscreen mode

The docs show this answer shape:

{"id":"pod_daytona_...","provider":"daytona","cpu":2,"ram":4,"pricePerHour":0.166,"failed":[{"provider":"boat","error":"HTTP 401: unauthorized"}]}
Enter fullscreen mode Exit fullscreen mode

cpu is 1 to 16 and defaults to 2. ram is in GB, 1 to 64, and defaults to 4.

What happens inside

Fleet sorts the providers you sent a key for by list price for the size you ask for. It tries them in that order. An error or no capacity moves the pod to the next provider, and the failed list tells you which ones were skipped and why. Send provider to use only one, or order to set your own sequence.

You pay the provider directly on your own account. The page states that fleet adds nothing to the price.

Run, write, read, stop

Call Purpose
POST /v1/pods/:id/run One shell command. Returns stdout, stderr, exitCode.
PUT /v1/pods/:id/files Write a file, at most 256 KB a call.
GET /v1/pods/:id/files?path= Read a file.
GET /v1/pods List your pods.
DELETE /v1/pods/:id Stop.
GET /v1/prices Price table, no key needed.

A command waits up to 10 minutes. With timeout set and exceeded, the answer has timedOut and exit code 124. A pod the provider already stopped answers 410.

Over MCP

Fleet exposes six tools: pod_create, pod_run, pod_write_file, pod_read_file, pod_list, pod_stop.

{ "mcpServers": { "fleet": {
    "type": "http",
    "url": "https://fleet.flisk.si/mcp",
    "headers": { "Authorization": "Bearer fleet_...", "X-E2B-Key": "..." }
} } }
Enter fullscreen mode Exit fullscreen mode

Be honest about the status

The page counts providers as working, untested or blocked, and says untested ones are built from public docs and tested against fake replies. Check the route table before you rely on a provider. The page also says the Fleet pod option, which runs on your own host, is not a sandbox and is for trusted code only.

That closes the series: an agent that can run your stack, a way to keep sessions apart, a free model for Flisk config, and a computer on demand.

Top comments (0)