skip to the page

Getting started

Loom lets somebody ask a page to change in plain words, and decides whether to let the change through. This section is the shortest way to watch that happen on your own machine.

You need Node and a terminal. You do not need an AI model, an API key or a database for anything in this section: the examples on these pages are driven by a fixed set of asks rather than by a model, so the propose box beside each one works in your browser as you read.

The pages in this section

7 pages, in reading order.

  • Introduction

    What Loom is, and the bargain it asks you to take: a bounded vocabulary in exchange for a change you can review.

  • Quickstart

    One file and one command: register a primitive of your own, draw a page nobody wrote as markup, and watch three asks get three different answers.

  • Installation

    Install the runtime and find your way around its ten entry points.

  • Scaffolding a project

    One command writes a primitive of your own, a registry that regenerates itself, and the test that catches the one failure nothing else reports.

  • Your first tree

    Build a page as data — elements, text and props — with the builders that cannot produce an invalid tree.

  • Rendering a tree

    Turn a tree into React through a registry, resolve a theme, and read the diagnostics a render leaves behind.

  • Your first change

    Ask for a change and watch what the runtime does with it: accept it, hold it for a person, or refuse it — the whole loop, live in your browser.

What you have at the end of them

You have a page that is data rather than markup: a small document listing elements, their text and their props, and one function that turns it into React.

Somebody can ask that page for a change in a sentence, and the rules you wrote decide what happens to it. The change is applied, or it is set aside for a person to answer, or it is refused with a reason you can read. In all three cases you can say exactly why.