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

PlatformInstall scriptDocker imageNotes
Linux, x86-64yesyes (linux/amd64)static build: runs on any distribution (Debian, Ubuntu, RHEL, Alpine, Amazon Linux...)
Linux, ARM64yesyes (linux/arm64)AWS Graviton, Ampere, Raspberry Pi 4 and 5 with a 64-bit OS
macOS, Apple siliconyesthrough Docker Desktop or OrbStack
macOS, Intelyesthrough Docker Desktop or OrbStack
Windowsnothrough Docker Desktopor 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.

MinimumRecommendedFor production with agents
CPU1 core2 cores4 cores or more
Memory1 GB2 GB4 GB or more
Disk2 GB free20 GB SSD50 GB SSD or more, plus room for backups
Good fortrying it, a demo, a hobby appa small app with a few agentsa 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):

forkbasechronos
Memory at rest, just startedabout 21 MBabout 24 MB
Memory under 30 REST reads at once (1,000 rows each)about 86 MBabout 51 MB
Program sizeabout 22 MBabout 49 MB
A new project's data folder4 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-mb on forkbase 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

NeedWhenVersion
curl, tar, and sha256sum or shasumthe install scriptany. macOS has them all
cosignonly to check release signatures by hand, or with FORKBASE_VERIFY=12.x
Postgrespostgres mode only16 or later. Local, RDS, Cloud SQL, Neon, Supabase and others all work
The Chronos engine (chronos)chronos mode, and agents in postgres modethe version the release names. The installer and the Docker image bring it
NodeTypeScript and JavaScript jobs22.6 or later for .ts. The Docker image has Node 22
Python 3Python jobspython3 on PATH or jobs.python_bin. Not in the Docker image
pg_dumpthe dashboard's dump download, postgres modethe major version of your Postgres or newer
Dockeronly for the Docker installDocker Engine 20.10+ with Compose v2, Docker Desktop, or OrbStack
A TLS proxyanything reached from outside the machineCaddy, nginx, a cloud load balancer. Forkbase serves plain HTTP
A browserthe dashboarda 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

PortWhatDefault bindOpen it to
8000the API, the dashboard (/dashboard/), realtime WebSockets, /health, /metrics127.0.0.1your TLS proxy only
54329chronos mode: the database over the Postgres protocol, for psql and your app's drivers127.0.0.1the apps that need SQL. Never the internet
5432postgres mode: your PostgresyoursForkbase

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.

Requirements · Forkbase