Get started

The format is made for AI assistants to write, and a check tells them what to correct. Here are three ways to have yours build an app, each with exactly what to do, and then how to write, check and run one yourself.

Have your assistant build it

In any chat, with nothing to install

  1. Give your assistant llms-full.txt from this site, as a file or pasted in. It holds the authoring guide and the specification in one text of 784 KB, written so that a model that reads it can write an app.
  2. Describe the app you want in your own words, and ask for one Open App Definition document in JSON.
  3. Open the playground’s start for your own document and paste the document in, or choose or drop the file. It is checked as it arrives. When it passes, the app runs beside it.
  4. When the check finds problems, they are listed by line. “Copy the findings” copies them as text, each with its line and its code: paste them back to your assistant and ask for the corrected document.

The document stays in your browser tab and is sent nowhere. In the playground an app runs on no sample data and keeps nothing once its page closes; to keep what you enter, run it on your computer.

In a chat app with a connector

For a chat app on your computer that starts tool servers itself. oad author is the connector: it gives the model the guide and the tools to create, change, look at and open an app.

It runs from a checkout of the repository; see what it needs.

  1. At the root of the checkout, print the entry for the chat app’s configuration:
    node packages/cli/bin/oad.js author --print-config
    It also says, on standard error, where the chat app keeps that file on this computer. Add --drafts <dir> to keep the apps somewhere else than oad-drafts in your home folder.
  2. Add the oad-author entry to the mcpServers of that file, and restart the chat app.
  3. Ask for an app in your own words. The model reads the guide and writes the app, and the chat shows the app itself under the call that made it, captioned “This is the app itself. What it saves is kept on this computer.” In a chat that does not pass on the page’s calls, it shows a preview that keeps nothing instead.
  4. When the app asks to reach something outside itself, it asks you on a sheet in the chat, or tells you to answer in your browser. Only you can allow it: no tool of the model answers a permission.
  5. To use the app in your browser too, press “Open in browser”. It is the same running app, and it works until you close the chat app.

With a coding agent in a terminal

For an agent that can run commands. oad is node packages/cli/bin/oad.js at the root of a checkout, or that file linked onto your PATH under the name oad.

See what it needs.

  1. oad guide lists the guide’s topics and its example apps; oad guide <topic> prints one, as Markdown. Ask the agent to read start first.
  2. Describe the app. The agent writes it into a file, such as app.oad.json.
  3. oad validate app.oad.json lists each problem with its code and the JSON Pointer of its place, and exits with a failing status while there is an error.
  4. oad look app.oad.json opens the app without a browser and prints what a person would see, with a line for each problem on a screen. --press <name> and --section <name> act in it before it prints.
  5. When both are clean, oad run app.oad.json --open starts the app and opens it in your browser. Its data is kept in a .oad folder where the command runs.

A prompt that works as a start: “Read oad guide start, then write an app that … into app.oad.json. Check it with oad validate and oad look until both report nothing, then start it with oad run app.oad.json --open.”

A drawing by a model, or an app run by a host

A chat assistant that can draw interactive pages can draw an Open App Definition document if you paste it in and ask. It needs no setup, and it is a good way to see a document come alive. On 24 November 2026 we pasted a definition into Claude and into Gemini and asked each to draw it; both drew a working-looking app.

A drawing is not the app, though. The difference:

Drawn by a modelRun by a host
Nothing you type is kept.The host stores the app’s data: close it, open it again, and it is there.
The drawing can differ each time you ask.The app is what the document says, every time it opens.
The app’s rules and permissions are not enforced.The app’s rules run, and nothing outside the app happens without a permission you gave.
Files, notifications and schedules are not real.Capabilities go through the host’s providers, and only within what you allowed.
There are no tools for an agent.The app’s actions are tools an agent can call, under the same permissions.

To see the real thing: open the playground, which runs every sample in the reference host in your browser; run an app on your own computer with oad run; or use the connector, which shows the app itself, running, in the chat.

Write one yourself

The guide is written for a reader who has never seen the format: a person, or a model. With its first topic alone, a reader should be able to write a small app that passes its checks at the first or second try; with two or three more, an app with records, a form, a flow and a permission; with the chapter on languages, its texts in several languages. To try what you write, paste it into the playground, or check and run it with the commands below.

What it needs

Node 24.3 or later. The packages run their TypeScript sources directly, with no build step, and they are not published to a package registry yet: the commands on this page run from a checkout of the repository, at its root.

git clone https://github.com/DataficationSDK/OpenAppDefinition.git
cd OpenAppDefinition
npm ci

Run an example

Run an example in a browser, with an agent endpoint on the same running app:

node packages/cli/bin/oad.js run examples/trip-savings/trip-savings.oad.json --agent --open

The command prints the address to open and a client configuration for the agent. The page first asks which of the app’s permissions to allow. Without live services behind them, the examples answer from the sample-data.json beside each definition. What an agent does shows up in the page as it happens, and an action marked as needing confirmation is put to the person in the page, never to the agent. The app’s data is kept in a .oad folder in the folder the command is run from.

Check a definition

node packages/cli/bin/oad.js validate examples/trip-savings/trip-savings.oad.json
node packages/cli/bin/oad.js explain examples/trip-savings/trip-savings.oad.json

validate checks each definition, catalog, design system, history or signature and prints its diagnostics, sorted, with severity, code, JSON Pointer and message. explain says in plain language what an app does. What each check means is in the Validation chapter.

Everything the command does

As node packages/cli/bin/oad.js help lists it; help <command> says more about each.

oad validate <file>...
Check definitions, catalogs, design systems, histories and signatures.
oad explain <file>
Say in plain language what an app does.
oad diff <before> <after>
Say what changed between two versions of an app.
oad manifest <file>
Print the agent discovery manifest.
oad digest <file>
Print or verify a document's digest.
oad patch <file>
Apply a JSON Patch, with checks and a consent guard.
oad undo <file>
Revert the last change recorded in the history.
oad upgrade <file>
Rewrite an OAD 0.1 document as 0.2 and list what needs a decision.
oad catalog <file> [<contract>]
Summarize a catalog, or one contract in full.
oad asset <action> <file>
Add, remove, list, unpack, pack or clean the pictures an app carries in its file.
oad pack <file>
Write the one file that holds the app and copies of the apps and design systems it includes.
oad unpack <file>
Write the app and each copy its file carries as files of their own, in a folder.
oad run <file>
Start the app and print the address to open.
oad serve-mcp <file>
Serve the app's agent surface over standard input and output.
oad approve <file>
Review the app's permission requests in the terminal.
oad author
Serve the tools a model uses to write and run apps, over standard input and output.
oad guide [<topic>]
Print the guide for writing an app.
oad look <file>
Print an app's screens as text, without a browser.
oad help [<command>]
Show help for a command.

The reference implementation

14 TypeScript packages, from the expression language and the schema checks to the runtime, the grants, a code sandbox, an agent server over the Model Context Protocol, the browser painter and the host for Node. Their tests run with npm test.

Each package has a README in packages/ of the repository.