FastClaw
Integration · Runtime

Scale FastClaw with PostgreSQL

Swap FastClaw's default SQLite file for PostgreSQL to run multiple pods behind a load balancer, with automatic schema migrations.

01

One env var

Set FASTCLAW_STORAGE_TYPE=postgres and FASTCLAW_STORAGE_DSN — users, agents, sessions, API keys and configs move with it.

02

Auto-migrate

Schema migrations run on boot by default; turn them off with FASTCLAW_STORAGE_AUTO_MIGRATE=false.

03

Multi-pod ready

Combine Postgres with an S3-compatible object store and Redis to run several replicas on Kubernetes.

What you can do

Set it up

FASTCLAW_STORAGE_TYPE=postgres
FASTCLAW_STORAGE_DSN="$DATABASE_URL"   # a standard postgres:// connection string

For several replicas, also set FASTCLAW_REDIS_ADDR (channel leases and the shared message stream) and the FASTCLAW_OBJECT_STORE_* variables for skill and file hydration. The FastClaw repo includes Kubernetes manifests under deploy/k8s/ and a Compose file that pairs FastClaw with Postgres — see Docker.

Notes

There is no config file: bootstrap settings come from FASTCLAW_* env vars, and everything else lives in the database.

Frequently asked questions

Try it on your own agents

Start free in FastClaw Cloud, or self-host the single binary in a minute.