Introduction
Documentation
Build business software as one workspace
Norbital runs the apps a business uses every day: jobs, orders, bookings, approvals. You describe one workspace in TypeScript and Svelte files. Bolt turns it into a working app with a database, permissions, approvals, background jobs, pages and an AI agent.
Bolt is the open-source framework: the declarations you import, the bolt command and the engine that runs a workspace. Colony is Norbital's hosted platform. It runs your workspace and gives you Workspace Studio to change it in the browser, by hand or with the agent.
The stack, quality and hosting
Bolt builds a workspace in four layers, in this order: Model (the record and its rules), Access (who may do what), Automation (what runs on its own) and Interface (where people and systems meet it). Quality runs across all four: checks, tests, releases and the Command center. Hosting is separate: any host runs a release, and Colony adds Workspace Studio.
The concepts
Each concept lives in one kind of file and does one job. The table and the sidebar follow the same order.
| Concept | What it is | Where |
|---|---|---|
| Workspace | The project: time zone, language, apps, and the folders that hold everything else. | src/+workspace.ts |
| Model | One kind of record, such as a job or an order, and its rules: its fields and links, the checks on every write, the effects after it, its history, its syncs and what each reader sees. | src/data/model/<name>/+model.ts |
| Integration and sync | A connection to an outside system. A model's sync exchanges rows with it, or with files. | src/integration/<name>/ |
| Team and policy | What a team may do: which rows it reads, which changes it makes, which apps it opens. | src/access_control/policy/; teams in Settings |
| Approval | A change held until named teams approve it. A rejection puts the data back. | Inside a policy |
| Automation | A job that runs on a schedule or when someone starts it, with its own policies. | src/automation/ |
| App and page | Svelte pages built from shared tables, boards and forms. | src/app/<app>/ |
| Agent | Norbius, the assistant inside the app, and envoys that answer on channels such as WhatsApp. Both act under policies. | src/agent/ |
| Checks and tests | bolt check checks types, schema and declarations; bolt test proves your rules on a temporary database. | tests/ |
| Release | What bolt build writes: one immutable release, its migrations proved before anything is written. | .norbital/, migrations/ |
| Command center | What happens across a running workspace: audit, runs, AI calls and people. | In the app |
| Workspace Studio | On Colony, Norbital's host: edit, preview, merge and roll back a live workspace in the browser. | Colony |
How a change flows
Every change takes the same path, whether a person clicks Save, an automation runs, a sync imports rows or the agent acts:
- The writer's policy checks the change, and may send it for approval.
- The model checks the rows and fills in derived values.
- The change is saved in one database statement, together with its history.
- The model's effect runs afterwards: notices, follow-up jobs, messages.
- Every open page that shows those rows updates.
Where to start
- Quick start: build a small workspace in a few minutes.
- Template examples: read a complete public workspace.
- Workspace, then the other guides in the sidebar, in order.
- The API reference for exact names, options and signatures.