Skip to content

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.

ConceptWhat it isWhere
WorkspaceThe project: time zone, language, apps, and the folders that hold everything else.src/+workspace.ts
ModelOne 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 syncA connection to an outside system. A model's sync exchanges rows with it, or with files.src/integration/<name>/
Team and policyWhat a team may do: which rows it reads, which changes it makes, which apps it opens.src/access_control/policy/; teams in Settings
ApprovalA change held until named teams approve it. A rejection puts the data back.Inside a policy
AutomationA job that runs on a schedule or when someone starts it, with its own policies.src/automation/
App and pageSvelte pages built from shared tables, boards and forms.src/app/<app>/
AgentNorbius, the assistant inside the app, and envoys that answer on channels such as WhatsApp. Both act under policies.src/agent/
Checks and testsbolt check checks types, schema and declarations; bolt test proves your rules on a temporary database.tests/
ReleaseWhat bolt build writes: one immutable release, its migrations proved before anything is written..norbital/, migrations/
Command centerWhat happens across a running workspace: audit, runs, AI calls and people.In the app
Workspace StudioOn 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:

  1. The writer's policy checks the change, and may send it for approval.
  2. The model checks the rows and fills in derived values.
  3. The change is saved in one database statement, together with its history.
  4. The model's effect runs afterwards: notices, follow-up jobs, messages.
  5. Every open page that shows those rows updates.

Where to start