An open standard, version 0.2, a working draft
Docs
Everything written about the format, for a person or a model: how to write an app, what the format says exactly, and what each part of it can do.
The reference
-
The guide
How to write an app, for a reader who has never seen the format, person or model: 17 short topics and 12 small example apps, every example checked.
-
The specification
Version 0.2, in 5 chapters, as it stands in the repository: the core, catalogs and contracts, expressions, validation, and the changes from the previous draft.
-
The core catalog
Every control and capability of the core catalog, with its props, events, slots and operations, in the catalog’s own words.
-
The schemas
The JSON Schemas of each version, served at the addresses their
$idnames, so that an editor can check a document. -
Build your own components
How a vendor describes controls and capabilities in a catalog, what a host does with a control it cannot draw, and how a host adds a renderer.
-
The files for assistants
llms.txt lists this site’s pages for a model; llms-full.txt holds the guide and the specification in one text of 784 KB, written so that a model that reads it can write an app.
-
Four differences, and what shows them
How an app differs from a page an assistant draws in a chat, each difference shown by what the build of this site made from the repository.
-
Get started
Three ways to have an assistant build an app, every step of each, and then writing, checking and running one yourself.
What exists today
- The specification
Version 0.2, in 5 chapters: the core, catalogs and contracts, expressions, validation, and the changes from the previous draft.
- JSON Schemas
6 schemas, each served at the address its
$idnames. - The core catalog
30 controls and 10 capabilities that every host is expected to understand.
- Components
The built-in controls running in a page of this site, and how a vendor or a host adds controls of its own.
- The authoring guide
17 topics and 12 small example apps, for a reader who has nothing else at hand, person or model.
- A reference implementation
14 TypeScript packages that check, explain, edit and run definitions, with a host for Node and a painter for the browser.
- The
oadcommandValidate, explain, diff, patch with history and undo, run, and serve an app to an agent.
- An authoring connector
oad authorserves the tools a model in a chat app uses to write an app for a person and show it running. - Example apps
18 apps that put the specification under pressure, each with a sample document so that it runs without live services.
- Conformance fixtures
Fixtures and test vectors that any implementation can run.
- The playground
The example apps running in a page of this site, in your browser, with no server behind them. It also checks and runs a definition you paste in.
Where the project stands
A working draft of version 0.2. Everything may change before 1.0, and the packages are not published to a package registry yet.
The reference implementation checks, explains, edits and runs definitions, for people in a browser and for agents over the Model Context Protocol, from one running instance. There is no voice host yet, and the providers are reference ones meant for trying apps out, not for production use.
The code, the specification and the examples are in the repository, where CONTRIBUTING says how to take part.
License
The project is licensed under the Apache License (Apache-2.0). The two typefaces it bundles, Inter and Space Grotesk, are under the SIL Open Font License: see the Inter and Space Grotesk license texts.
The two typefaces this site is set in are also under the SIL Open Font License: see the license texts of the one for text and the one for code.