fleet cli command, install the pi-tui workspace with pnpm.
Prerequisites
- Python 3.13
- uv package manager
- Daytona API key for Sandbox execution
- Postgres (
FLEET_DATABASE_URL) for durable deployments; local SQLite works for development - Node 22.19+ and pnpm if you want
fleet clito launch the pi-tui terminal client
1. Clone and sync
--all-extras --dev installs the runtime, benchmarks, and test extras.
Verify the CLI entrypoints:
2. Select a runtime profile
Non-secret policy lives inconfig/fleet.toml. Set [config] default_profile to one of the shipped profiles (daytona, daytona-recursive, daytona-managed, daytona-bench, daytona-bench-40) before starting the backend. The committed default is daytona-recursive.
Only the environment variables named by the selected profile are read. Unknown keys, missing profiles, invalid variable references, and absent TOML fail startup. See the configuration reference for the full env matrix.
3. Configure credentials
Copy the shipped template and fill only the variables named by the selected profile:.env for those named values.
4. Provision the Daytona base snapshot
Fleet child sandboxes bootstrap from a reusable base snapshot. Build or refresh it once:5. Bring the database to the Alembic head
Runtime startup never applies migrations. Initialize the configured database explicitly:fleet cli verifies the head before starting the backend and refuses to proceed otherwise. Recover from a mismatch by re-running scripts/db_init.py and retrying.
6. (Optional) Install pi-tui
fleet cli supervises the backend and runs the pi-tui terminal client in the foreground. Install its workspace once:
FLEET_API_URL to point pi-tui at a non-default host, for example http://127.0.0.1:9000.
7. Verify
Run the Daytona doctor to validate settings, database head, provider auth, Volume visibility, mount scoping, and interpreter execution:Common Makefile targets
Next steps
Quickstart
Stream your first Turn.
Configuration reference
config/fleet.toml profiles and the full env matrix.CLI reference
fleet cli, fleet doctor daytona, fleet-rlm serve-api.Deployment
Run the backend under process supervision.