Skip to content
EleforkDocs
Internal preview. Elefork is not publicly available yet; APIs and hostnames may change.

Elefork

Branchable serverless Postgres for AI agents.

Elefork gives every agent, test run or RL episode its own real PostgreSQL database. You can create one, fork it, take a checkpoint and reset it to that checkpoint in well under a second. Each branch runs in its own microVM, so you can run untrusted SQL as superuser. Idle branches pause automatically and wake on the next connection.

Branch from anything

Create branches from a template, a checkpoint, or the current state of another branch. One API call can create up to 100 of them.

Checkpoint and reset

Snapshot a branch and reset it later. A reset gives the branch a fresh instance with the checkpoint’s data.

Plain Postgres

PostgreSQL 18 with any standard client: psql, libpq, JDBC, psycopg, asyncpg, node-postgres. Prepared statements, COPY and cancel all work.

Built for agents

A Python SDK, a CLI and an MCP server. Batch operations and TTLs fit RL and evaluation workloads.