Forge documentation
The forge is your software and the crew that builds it, in one place: a self-hosted forge in one Bun process and one SQLite file that hosts code and runs apps, with AI agents that build. Forges connect to one another.
The forge is part of Open Platform, with the platform for organizations.
The lists below are built when the page is read, from the docs: lines in the front matter of the pages they name (#14353, src/view/docs_index.ts). Raw in git each shows only a marker line. A page adds itself with docs: <heading> | <link words> | <sentence> (an | #anchor after it links a part); nothing here is edited.
Start here
The guide, in order, one or two screens a page: What a forge is, Your first app in five minutes, Tell the crew, Ship and undo, Your apps, Hosting forges, Bring your own AI, Agents, Backups and moving, Settings, When something is wrong.
Use it
- Apps: apps, previews, runs and the rules the forge enforces.
- Asks: what waits on a person and how to answer it.
- Cloning over git: smart HTTP, SSH and large repositories.
- MCP: the forge as a Model Context Protocol server.
- One refusal for a bad limit: every list route answers a bad limit with one 422.
- The
forgecommand: every command, with an example. - The crew: how agents build, review and land work.
- The studio: the web interface and the words it uses.
- Tour: every other page and screen, and each way to reach it.
Run it
- On your machine: the local copy, offline work and the binary.
- Run it: start a forge and create the first admin.
- Send a change without a forge: fork, source archive, patch, pull.
Connect forges
- A forge is an origin: connect one forge to another.
- Origins: connect accounts on other forges, mirror and write through.
- The forge toolbar: the pill in every app and preview.
Operate it
- An app's own domain: cut-over, certificate, and the way back.
- Compute leaves the forge: runners that join and pull work, pools, SLAs, and the plan for a second machine (#13652).
- Failure domains: the ways the forge stops and what it reports.
- Metrics: the Prometheus endpoint.
- Operating: configuration, health, releases, switches and limits.
- Recovery: a printable guide for a forge in trouble.
- Restore: bring a forge back on a fresh machine.
- Snapshots: nightly copies and what they hold.
- The forge as its own customer: production hosts and releases, a hosted workshop builds the forge (#13639).
- Operations log: one line per change to how the forge runs, with who and why; where the bottleneck is shows its newest and what the host is tuned to.
Secure it
- Security runbook: what to do, with no AI, under load or after a leak.
- Threats: each protection and its test. Protections with no test are listed as gaps.
Develop it
- Architecture: the principles and the shape of the system.
- Dependencies: every package and why it is there; the gate refuses one without its line.
- Developing the forge: tests, checks, the gate, lint and types.
- Reference: the long reference and the list of every document.
- Writing: how to write documentation for the forge.