An open standard, version 0.2, a working draft

Four differences, and what shows them

Open App Definition describes a whole working app in one JSON file. An AI assistant writes it, and it runs wherever there is a host: in your browser, inside a chat, or as tools for another agent.

Unlike a page an assistant draws in a chat

What shows them

Nothing in this section is drawn by hand. The build of this site made it from the project’s repository: pictures of the reference host running an example app, and what the oad command really prints.

It leaves the chat

Trip savings is one of the example apps: one file, trip-savings.oad.json. The reference host draws it for a wide window and for a phone, from the same document.

oad look opens the same file without a browser and prints what a person would see, as text. That is how a model looks at an app it is writing. Inside a chat, the connector shows the app itself; for an agent, oad run --agent and oad serve-mcp serve its actions as tools.

In the specification: Surfaces.

Trip savings in a wide window: four figures, a goal card with a progress bar, and a table of deposits.Trip savings in a wide window: four figures, a goal card with a progress bar, and a table of deposits.
In a wide window
Trip savings on a phone: the same view in one column.Trip savings on a phone: the same view in one column.
On a phone
oad look examples/trip-savings/trip-savings.oad.json --now 2026-12-01T15:00:00Z
app com.example.trip-savings 1.0.0 "Trip savings"
checks: passed, no warnings
looking as: local-user "You", the owner, who holds every role
30 lines left out
screen 1: opened
  view home "Your savings"
  design org.openappdefinition.design.default 0.2.0
  - generic (stack)
    - generic (grid) 4 columns
      - group (stat) "Saved so far" value 0 (currency USD)
      - group (stat) "Still to save" value 5000 (currency USD)
      - group (stat) "Put aside each week" value 173.27 (currency USD) trend "flat" "On track"
      - group (stat) "Days to go" value 202
    - paragraph (text) "Bank deposits checked now." caption
    - group (group) "Goal"
      - progressbar (progress) "Saved toward your trip" 0 of 5000 (0%) (currency USD)
      - paragraph (text) "$5,000.00 to go by June 21, 2027. Putting aside $173.27 a week gets you there."
      - generic (stack) horizontal [variant toolbar]
        - button (button) "Change goal" icon edit [on press]
        - button (button) "Add cash" icon add [on press]
    - group (group) "Deposits" "Money moved into your savings accounts shows up within a few hours. Cash is what you added yourself. Pick a deposit to see it."
      - grid (table) "Deposits" 0 row(s) empty "No deposits yet. Money moved into a savings account shows up here within a few hours." [on select]
        columns: "Date" (date) | "Amount" (currency USD) | "Description" | "From"
3 lines left out
What an agent reads of the same app. Shortened by whole lines; no line is changed.

It keeps what you enter

A host stores what an app holds, for the person it belongs to. Here cash was added to Trip savings in the reference host. Then the app was stopped, and oad run started it again on the same data folder: the cash, “Coins from the jar”, is still the first deposit.

On your computer, oad run keeps an app’s data in a .oad folder, and the connector keeps it in its drafts folder. The playground on this site keeps nothing: an app there lasts as long as its page.

In the specification: State.

The table of deposits of Trip savings after the app was stopped and started again: the first row is the cash added before, 40 dollars, Coins from the jar.The table of deposits of Trip savings after the app was stopped and started again: the first row is the cash added before, 40 dollars, Coins from the jar.
The deposits of Trip savings, after the app was stopped and started again.

It asks before it reaches anything

Nothing has an effect outside the app unless a grant covers it, and the person gives it, by a press of their own. Purchase approvals tells other people when a request waits for them, and runs while nobody has it open, so before it opens, the host asks: for what, why in the app’s own words, and within which limits. An app that stays within itself opens without a question.

No tool of the connector answers a permission or approves one in advance, so a model cannot say yes for you. Every use of a grant is checked and recorded.

In the specification: Grants.

The permission sheet Purchase approvals opens on: this computer asks, not the app, whether the app may send notifications to other people on your behalf and run while nobody has it open, and offers Allow and open, or Not now.The permission sheet Purchase approvals opens on: this computer asks, not the app, whether the app may send notifications to other people on your behalf and run while nobody has it open, and offers Allow and open, or Not now.
The permission sheet of Purchase approvals, as the reference host shows it when nothing was allowed yet.

It can be checked before it runs

A definition is data, so a person, a host or another agent can read it before anything runs. oad validate reports each problem with a code and the JSON Pointer of its place; oad explain says in plain words what the app does and what it will ask for.

This small app has one deliberate mistake: its progress bar reads state.page, and the app’s state is named pages.

In the specification: Validation.

Lines 33 to 40

{
  "control": "core:progress",
  "props": {
    "label": "Pages this week",
    "value": "=state.page",
    "max": "=state.goal"
  }
},
oad validate reading-log.oad.json
  error reference.unknownState at /surfaces/visual/views/home/body/children/0/props/value: state.page is not a state entry
reading-log.oad.json: definition fails (1 error, 0 warnings)
Lines of reading-log.oad.json, with the line the finding points at marked, and what oad validate says of the file.

A chat assistant that draws pages can also draw a definition pasted into it. What a drawing gives you, and what only a host does.