Skip to content

About

Open App Definition (OAD): an open format for small, real apps. An AI assistant writes the whole app as one JSON file, and any compliant host runs it for people on a screen and for agents as tools. Draft 0.2.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Open App Definition (OAD)

Open App Definition is an open format that describes a whole app as one JSON file. You ask an AI assistant for an app in plain words, the assistant writes the file, and a host runs it: in a browser, inside a chat, or as tools that an AI agent can call.

The example app Trip savings running in a browser: $175 saved so far, $4,825 still to save, $168.88 to put aside each week, a goal card with a progress bar and the buttons Change goal and Add cash, and a table of deposits.

The app in the picture is one file, trip-savings.oad.json. The file says what the app keeps, what it can do and what it shows, and the host draws it.

Why a file

  • You keep it. The app is a file of yours, not a chat that scrolls away. Open it tomorrow, hand it to a colleague, or run it somewhere else.
  • You can see what it does. A host can explain an app in plain language, and an app reaches nothing outside itself without your permission.
  • It is not tied to one product. The format is open, and any host that follows it can run the same file.

Try it in your browser

The playground runs the example apps in the page and lets you change them. There is nothing to install.

Run an app on your computer

You need git and Node 24.3 or later. node --version shows yours; check it first, because an older Node stops with an error that may not mention the version.

git clone https://github.com/DataficationSDK/OpenAppDefinition.git
cd OpenAppDefinition
npm ci
node packages/cli/bin/oad.js run examples/component-gallery/component-gallery.oad.json --open

The last command starts the component gallery, an example app that shows every built-in control, and opens it in your browser. If no browser opens, open the address the command prints. Press Ctrl+C in the terminal to stop the app. It keeps its data in a .oad folder in the folder you ran the command from.

There are more apps to run in examples/, each with a README that says what it shows.

Have an AI assistant write an app

node packages/cli/bin/oad.js author --print-config

This prints an entry to add to the settings of a chat product that starts tool servers itself, such as the Claude desktop app. After that, describe the app you want in your own words. The assistant writes the file, and the chat shows the app running or gives you its address to open. Get started on the site has the steps, and the other ways to have an app made.

Learn more

Everything deeper is on the project's site, openappdefinition.org:

Page Has
Get started The ways to make, check and run an app, step by step.
Examples The example apps, pictured, each with a link that opens it in the playground.
Guide How to write an app, in short topics.
Components The built-in controls, running in the page, and how to build your own.
Specification The format itself, for people who build hosts and tools.

In this repository

Path Holds
spec/ The specification and its JSON Schemas.
conformance/ Fixtures and test vectors for checking any implementation, in any language.
catalogs/ The core catalog of controls and capabilities.
examples/ Example apps.
packages/ The reference implementation in TypeScript: the checker, the runtime, the hosts and the oad command. Its README lists the packages.

Status

Version 0.2 is a working draft, and things may change before 1.0. The packages are not published to a package registry yet, so for now everything runs from a clone.

Contributing

CONTRIBUTING.md says how the code is laid out, how to run the tests and how to sign your work. SECURITY.md says how to report a vulnerability.

License

Apache-2.0. See LICENSE.

About

Open App Definition (OAD): an open format for small, real apps. An AI assistant writes the whole app as one JSON file, and any compliant host runs it for people on a screen and for agents as tools. Draft 0.2.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages