# Apps

> An app is a real React application, versioned and hosted by App Engine, that gives people an operational surface. It declares where it can open, what input it expects and what output it returns.

Source: https://docs.sommatic.ai/en/apps/ (updated 2026-11-26)

Apps are the third kind of artifact Sommatic AI governs, next to [workflows](https://docs.sommatic.ai/en/workflows.md) and
[AI artifacts](https://docs.sommatic.ai/en/ai.md). Where a workflow runs without a screen, an app is the screen: a dashboard, a review desk, a
structured intake form, the panel where a person approves what a workflow prepared.

An app is not a component imported into a host page. It is a complete React project with its own source tree, build
and runtime, stored and served by **App Engine** (part of Link Loom Cloud). Each one is a versioned artifact with an
explicit contract.

Diagram: The same app opens fullscreen, embedded, in the Command Center and in a task, and its output is checked against its contract.

## What an app is made of

| Piece                                                         | What it is                                                     |
| ------------------------------------------------------------- | -------------------------------------------------------------- |
| App definition                                                | The app itself: name, slug, manifest, routes and contracts.    |
| App version                                                   | A built, versioned release of the app.                         |
| App files                                                     | The source tree: a React project with `src/main.jsx` as entry. |
| `manifest.json`                                               | Where the app can open and how it behaves in the launcher.     |
| `contracts/input.schema.json`, `contracts/output.schema.json` | What the app receives and what it returns, in JSON Schema.     |

```text
my-app/
├── manifest.json
├── contracts/
│   ├── input.schema.json
│   └── output.schema.json
└── src/
    ├── main.jsx
    └── views/
        └── home/
            └── Home.view.jsx
```

App Engine builds the app with Vite into one ES module. Shared libraries such as React, MUI and the Sommatic AI and Link
Loom SDKs are not bundled: the host page supplies them at runtime, so every app runs on the same versions.

![A hotel receptionist checks in a traveller with an app on a tablet](https://docs.sommatic.ai/images/docs/apps.webp)

## The manifest

| Field                                | What it controls                                                                              |
| ------------------------------------ | --------------------------------------------------------------------------------------------- |
| `kind`                               | `workspace`, `utility` or `hitl`.                                                             |
| `supported_launch_modes`             | Where the app can open. See [launch modes](https://docs.sommatic.ai/en/apps/launch-modes.md). |
| `entry_route`                        | The route the app opens on.                                                                   |
| `entry_behavior`, `requires_context` | Whether the app opens to its home or needs an input to work.                                  |
| `launcher_visible`, `pinnable`       | Whether it appears in the launcher and can be pinned.                                         |
| `permissions`, `capabilities`        | What the app is allowed to do.                                                                |
| `allowed_dependencies`               | The runtime libraries it needs.                                                               |
| `opens_apps`                         | The apps it may open with `sdk.apps.open`.                                                    |

A new app starts as a `workspace` app, visible in the launcher, with
`"supported_launch_modes": ["launcher", "fullscreen", "command-center"]` and a home route `/`.

## Start from a scaffold

| Scaffold        | For                                                               |
| --------------- | ----------------------------------------------------------------- |
| `blank-app`     | A minimal app: layout, home view and SDK wiring.                  |
| `workspace-app` | A multi-view workspace with navigation and data display.          |
| `task-app`      | A human-in-the-loop app that reviews data and submits a decision. |
| `form-app`      | A data capture form with validation.                              |
| `menu-app`      | A multi-page app with menu cards and deep links.                  |
| `dashboard-app` | A dashboard with charts.                                          |

## The runtime

At runtime, App Engine renders the app and passes it one prop, `sdk`: the session, the input, the context, the
signed-in identity, data and file storage, and the calls that end the session.

```jsx
// src/main.jsx
export default function AppEntry({ sdk }) {
  return <App sdk={sdk} />;
}
```

In the portal, people open the apps of their organization from **My apps**.

> **Note: Apps and workflows**
>
> An app connects to workflows through tasks and through the `sommatic.app.handoff` node. See
> [apps in workflows](https://docs.sommatic.ai/en/apps/workflow-bridge.md) for what works today.

## Next steps

- [Runtime SDK](https://docs.sommatic.ai/en/apps/runtime-sdk.md): Everything the sdk prop gives your app.
- [Launch modes](https://docs.sommatic.ai/en/apps/launch-modes.md): Launcher, fullscreen, embedded, Command Center, task…
- [Contracts](https://docs.sommatic.ai/en/apps/contracts.md): Input and output schemas.
- [Apps in workflows](https://docs.sommatic.ai/en/apps/workflow-bridge.md): Hand results to apps and collect outputs.
