Forkbase 0.1.0
Install; Two database modes; Auth
The first release. Forkbase is a self-hosted backend for apps where AI agents write data: what Supabase gives you, plus a fork of your data per agent run, merge policies, review by a person, and undo.
- Install:
curl -fsSL https://github.com/2090-labs/forkbase/releases/latest/download/install.sh | FORKBASE_ENGINE=1 shputsforkbaseand the Chronos engine (v0.9.2) in~/.local/bin. Builds for macOS and Linux, x86-64 and ARM, checked againstSHA256SUMSand, with cosign, their Sigstore signature. - Two database modes: your own Postgres 16+, or the bundled Chronos engine. One binary serves every API on one port.
- Auth: email and password, magic links and codes, Google and GitHub, PKCE, sessions, admin API, signing-key rotation. Row-level security with
auth.uid(). - REST and realtime: PostgREST-style
/rest/v1(filters, embedding, upserts) and table changes and broadcast over WebSocket. supabase-js and supabase-py work as they are. - Storage: buckets and files on disk or S3, signed URLs, policies on
storage.objects. - Agents: every run works in its own world; a merge policy written as code merges it, holds it for a person, or reports a conflict. Approvals in the dashboard, by link, Slack or email; webhooks and events; undo of any merge.
- Jobs: TypeScript and Python functions with retries, durable steps and sleeps, schedules, table triggers, and agent functions that run inside a world.
- MCP:
/mcpwith OAuth 2.1, so Claude Code, Cursor and Codex work in the data as one agent. - Dashboard at
/dashboard: tables and SQL, a table builder, auth users and settings, storage, agents, runs, approvals, policies, jobs, logs, API docs, and "Connect with an AI agent". - SDKs:
@chronosdb/forkbaseon npm andforkbaseon PyPI. - For coding agents: the docs as installable skills (
/skills/install.sh),/llms.txtand/llms-full.txt, and a one-prompt guided setup.
Free to self-host under FSL-1.1-ALv2.