Requirements
Platforms, minimum and recommended CPU, memory and disk for each kind of use, ports, and the software each part needs.
What Forkbase needs to run: the machines it runs on, the memory, processor and disk it wants for each kind of use, the ports it opens, and the other software each part needs.
Platforms
| Platform | Install script | Docker image | Notes |
|---|---|---|---|
| Linux, x86-64 | yes | yes (linux/amd64) | static build: runs on any distribution (Debian, Ubuntu, RHEL, Alpine, Amazon Linux...) |
| Linux, ARM64 | yes | yes (linux/arm64) | AWS Graviton, Ampere, Raspberry Pi 4 and 5 with a 64-bit OS |
| macOS, Apple silicon | yes | through Docker Desktop or OrbStack | |
| macOS, Intel | yes | through Docker Desktop or OrbStack | |
| Windows | no | through Docker Desktop | or run the Linux build inside WSL 2 (not tested by us) |
There is no 32-bit build. A platform missing here: open an issue saying which you need.
Hardware
Forkbase is two programs: forkbase (the API, auth, storage, realtime, jobs and the dashboard) and chronos (the
engine: in chronos mode it is the database; in both modes it holds agents' worlds). Both are small. What grows is
your data, the number of agent runs open at once, and the jobs you run.
| Minimum | Recommended | For production with agents | |
|---|---|---|---|
| CPU | 1 core | 2 cores | 4 cores or more |
| Memory | 1 GB | 2 GB | 4 GB or more |
| Disk | 2 GB free | 20 GB SSD | 50 GB SSD or more, plus room for backups |
| Good for | trying it, a demo, a hobby app | a small app with a few agents | a team's app, many agents at once, jobs |
What we measured (Forkbase 0.3, Chronos 0.9.3, chronos mode, on an Apple silicon Mac):
forkbase | chronos | |
|---|---|---|
| Memory at rest, just started | about 21 MB | about 24 MB |
| Memory under 30 REST reads at once (1,000 rows each) | about 86 MB | about 51 MB |
| Program size | about 22 MB | about 49 MB |
| A new project's data folder | 4 MB |
So the minimum is set by your data and the operating system, not by Forkbase. Plan for more when:
- Agents run at once. Each open run has a world: a copy of the database that costs almost nothing until it writes, then holds the rows it changed until the run merges or is dropped. Many runs that each change many rows want more memory and disk.
- Jobs run. Each job is a Node or Python process of its own, with the memory you give it (
--memory-mbonforkbase deploy). Count your busiest minute: jobs at once times their memory. - History is kept. In chronos mode main keeps its recent history so you can restore it to a time. That history lives on disk.
- Files are stored locally. Storage on disk counts against the same disk. Move it to S3 to keep the server small (see Storage).
- postgres mode. Your Postgres needs its own memory and disk on top of these, sized as you would size it for any app. On the same machine, add at least 1 GB.
Use an SSD. The engine and Postgres both write often and small.
Building from source is the heavy part: compiling Forkbase wants 8 GB of memory and several GB of disk for the build. The release binaries and the Docker image need none of that.
Software
| Need | When | Version |
|---|---|---|
curl, tar, and sha256sum or shasum | the install script | any. macOS has them all |
cosign | only to check release signatures by hand, or with FORKBASE_VERIFY=1 | 2.x |
| Postgres | postgres mode only | 16 or later. Local, RDS, Cloud SQL, Neon, Supabase and others all work |
The Chronos engine (chronos) | chronos mode, and agents in postgres mode | the version the release names. The installer and the Docker image bring it |
| Node | TypeScript and JavaScript jobs | 22.6 or later for .ts. The Docker image has Node 22 |
| Python 3 | Python jobs | python3 on PATH or jobs.python_bin. Not in the Docker image |
pg_dump | the dashboard's dump download, postgres mode | the major version of your Postgres or newer |
| Docker | only for the Docker install | Docker Engine 20.10+ with Compose v2, Docker Desktop, or OrbStack |
| A TLS proxy | anything reached from outside the machine | Caddy, nginx, a cloud load balancer. Forkbase serves plain HTTP |
| A browser | the dashboard | a current Chrome, Edge, Firefox or Safari |
In postgres mode, Forkbase makes its own schemas in your database (auth, storage, agents and others) at start,
so its role must be allowed to create schemas and tables there. The database's owner is simplest.
Ports
| Port | What | Default bind | Open it to |
|---|---|---|---|
| 8000 | the API, the dashboard (/dashboard/), realtime WebSockets, /health, /metrics | 127.0.0.1 | your TLS proxy only |
| 54329 | chronos mode: the database over the Postgres protocol, for psql and your app's drivers | 127.0.0.1 | the apps that need SQL. Never the internet |
| 5432 | postgres mode: your Postgres | yours | Forkbase |
Change them with server.listen (FORKBASE_LISTEN) and chronos.pg_listen (FORKBASE_CHRONOS_PG_LISTEN). The
installer picks free ports when these are taken. In a container, listen on 0.0.0.0 and publish the port on the
host's 127.0.0.1.
Network
Forkbase itself calls out only to what you configure: your Postgres, SMTP for email, Google and GitHub for sign-in,
S3 for storage, Slack, model providers and webhooks. The install script downloads from github.com (and asks before
sending your email to the Forkbase team: it sends nothing unless you say yes). A server with no internet access
works: copy the release files over and install them by hand (Install).
Next
- Install: the install script, every option, and installing by hand.
- Docker: the image,
docker run, Compose for both modes. - Self-hosting: a TLS proxy, systemd, the production checklist, backups, upgrades.
Something wrong or missing? Edit this page on GitHub or open an issue.