GitHubWaitlist

Changelog

Forkbase

All 7 releases, newest first, each with its full notes. Downloads · Docs · Chronos DB changelog · Chronos Gateway changelog

0.3.0

3 changes

  • Dry runs, evals and replay: a run has a mode (live, dry, eval, replay); a dry run, eval or replay runs the agent for real in its world but can't merge, send an effect or trigger anything, and says what its policy would have done. Every run keeps a snapshot. forkbase try, forkbase eval (TOML suites, repeat, JUnit output) and forkbase replay (a past run against today's code), the Try tab in the dashboard, and a worker pool of their own (jobs.trial_workers) so trials never crowd out live jobs (evals).
  • Connections and actions: sealed connections (Slack, SMTP, HTTP, model providers, MCP) that functions are bound to, so their secrets never reach the agent. slack.post, email.send and http.request effects are sent by Forkbase itself after the merge, never before, with retries and the result on the run; a policy's [forkbase.actions] lists where they may go, and anything else holds the run for a person. gateway.actions (auto, on, off) leaves effects to your own webhook consumer when it hears them. The Connections and Actions pages in the dashboard (gateway).
  • Model gateway: agents call Anthropic (/llm/v1/messages), OpenAI or an OpenAI-compatible server (/llm/v1/chat/completions) through Forkbase with their run's token; the provider's key stays in a connection. Streams pass through as sent. A policy's models, max_cost_usd, max_tokens and agent_daily_cost_usd are checked before each call (402 when spent), a token budget lowers the call's max_tokens, and a run over budget is held or rejected at propose (over_budget). Each call's tokens and cost land on the run, the overview, the ledger, OpenTelemetry (chat <model> spans) and /metrics; a price table with Anthropic's prices, editable on the new Models page; evals' max_cost_usd and max_tokens (gateway).

0.2.4

4 changes

  • Engine 0.9.3: queries no longer stall after a burst of writes (every query that needed a table's search index rebuilt it at once; list queries and agent runs' SELECTs took up to 5 s on a 30,000-row table), and tenant agents can't reach another tenant's rows through a foreign key. The installer and the image use it.
  • Security: act_as in chronos mode: a run acting as a person could merge changes that person's row-level security doesn't allow (the engine merges a world into main as itself; its pg_role only applies to postgres mode's write-back). Forkbase now replays an act_as run's merge on main as the person, in a transaction it rolls back, before merging it (propose and approve): a change the policies or grants refuse answers 403 and nothing merges, and the merge goes no further than the version checked. Postgres mode was already judged by Postgres.
  • Docs: act_as judges the writes a run merges, in both modes; reads and writes inside the run's world are not filtered (agents.md, "Acting as a person").
  • Fix: the SQL editor makes tables where the API serves them. create table items without a schema now lands in public (the schemas in rest.schemas), like the REST API reads it. In chronos mode it went into Forkbase's own forkbase schema, where REST never served it. Tables made that way stay there: move one with alter table forkbase.items set schema public.

0.2.3

2 changes

  • Installer: refuses a project folder it can't use (a stray \ or space, a name starting with . or -, your home folder itself) and asks again, instead of setting the project up there. --project with such a folder stops with the reason. Install from https://forkbase.tech/install.sh, which starts at once.
  • MCP with your team role: connect an MCP client (Claude Code, Cursor, Codex, claude.ai, ChatGPT) over OAuth "as me" and it works with your role: a viewer reads, an operator also decides agents' runs and jobs, an admin does everything, through every route of the HTTP API (api_request) and SQL (execute_sql, admins). Pick a lower role or read-only on the consent page. The role is checked on every call, so taking it down or turning a member off reaches the app at once; changes go in the audit log under your name. Connecting as an agent is now for admins.

0.2.2

2 changes

  • Runs in the background: forkbase start --background keeps the server running after the terminal closes (logs in <data>/forkbase.log); forkbase stop stops it. The installer now starts a new project this way and ends, instead of holding the terminal.
  • forkbase uninstall: stops the server started here and removes the forkbase and chronos binaries; --purge also deletes this project's data.

0.2.1

2 changes

  • Sign in with an email and a password: the dashboard asks for them once anyone has one, instead of a key. forkbase owner --email makes or changes one (an admin by default), admins set them under Settings, Team, and POST /platform/v1/login returns a session token (fbts_) used like a member key; POST /platform/v1/logout ends it. Passwords are kept as Argon2id hashes; ten wrong ones lock an address for 15 minutes.
  • Installer: shows each download's progress, retries and resumes, and in a terminal sets up a project: folder, database, a free port, your dashboard sign-in, start, open the dashboard. It asks before sharing your email with the Forkbase team, and never sends the password.

0.2.0

7 changes

  • Run ledger: every step of every agent run (its SQL, tool calls, proposal, the policy's decision, approvals, undo, its jobs' attempts) at GET /agents/v1/runs/{id}/ledger, as JSON or JSON lines, a page at a time. The dashboard's run sheet shows it as a timeline. Kept observe.retention_days (30).
  • OpenTelemetry: with FORKBASE_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_ENDPOINT, one trace per run (invoke_agent, execute_tool run_sql, GenAI semantic conventions) and metrics, over OTLP/HTTP JSON.
  • Metrics: /metrics adds ledger, run-outcome and tool-duration series.
  • Docker: images carry Node 22, so TypeScript and JavaScript jobs run in the container. deploy/Dockerfile.release builds the multi-arch image from the signed release tarballs.
  • Example: examples/claims, an insurance claims desk with two agents and two policies, on docker compose up.
  • Dashboard, daily use: the table editor takes several filters (kept in the URL), inline edits, CSV and JSON export and foreign-key links; approvals show the run's diff beside the policy's reasons; policies are editable as TOML (PUT/DELETE /agents/v1/policies/{name}, with a dry-run check); a logs explorer; overview charts.
  • Dashboard, operations: team members with viewer, operator and admin roles and an audit log; database objects (functions, triggers, indexes, extensions); connection details; backups, checkpoints and restore; a realtime inspector; live job logs.

0.1.0

11 changes

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 sh puts forkbase and the Chronos engine (v0.9.2) in ~/.local/bin. Builds for macOS and Linux, x86-64 and ARM, checked against SHA256SUMS and, 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: /mcp with 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/forkbase on npm and forkbase on PyPI.
  • For coding agents: the docs as installable skills (/skills/install.sh), /llms.txt and /llms-full.txt, and a one-prompt guided setup.

Free to self-host under FSL-1.1-ALv2.

Forkbase changelog · Chronos