Apps

An App is custom code that runs in your workspace: a screen you build, on your data, with the logic you decide.

You write it in Rollout or connect a git repository. Either way it becomes an App you can open, place on a Page or in navigation, and share.

What an App is for

Rollout ships Tasks, Objects, workflows and Pages. An App is for what those don't cover: a purpose-built screen for one job.

  • a focused console over one Object, with only the fields and actions that job needs
  • a calculator or planner whose logic is specific to your business
  • an interface for people who shouldn't see the rest of the workspace

Create an App

  1. Open Apps and choose New App.
  2. Choose Write code or Connect a repository.
  3. Enter a Name and, for a repository, its Repository address and GitHub connection. Choose Create app.
  4. Grant the Tools it needs and review them on the Tools tab.
  5. Choose Save source for code written in Rollout, or Deploy for a repository.
  6. Open it, place it, or share it.

Write code suits team interfaces over your data and Tools, such as tables, forms, charts and review queues. Connect a repository suits anything with real dependencies, a build step or its own language runtime. The repository needs a Dockerfile, and Rollout builds a container image from it. Repository builds need a Kubernetes runtime, so a Docker install refuses the deploy.

Members of the App's Team can author its source. Its admins configure Tools, account consent and access, and they run Deploy.

What an App can do

Read and write workspace data through Tools you grant it. An App starts with no Tools, and you review each Tool's settings and credential consent before it can run. The Calls tab shows its calls, and a call that needs approval waits in the Inbox. A signed-in member's read that changes nothing, such as a query, isn't recorded as a call when the App runs as whoever uses it. Set that Tool to ask for approval to record every read.

Keep its own small state. rollout.storage is a key-value store for every signed-in App, with get, put, delete, list and profiles. A value can be shared across the App (app), private to one viewer (user), or written by one viewer and readable by all (profile). Use it for saved filters, drafts and preferences. Use Records when data should be queryable, trigger workflows or be shared across Apps.

Run its own backend. An App built from a repository can serve HTTP, so the interface talks to your code, in your language, with your libraries.

Start a Workflow. A Tool you grant can start one published workflow for a signed-in viewer and read its result.

Place an App

Open it at its own address, pin it to Home or the sidebar, or embed it on a Page. Links inside an App keep you on Home, and an App needs no wrapper Page.

Use the star beside its name to add it to your personal Favorites. To place it for a shared audience, choose Place in the running App or Place in navigation in the management menu, then select Home tab, Sidebar or a sidebar section. You can change the entry's label and icon, or remove it, in the same dialog.

Placement uses the App's existing access: only people who can run it see the entry. Workspace placement needs a workspace admin. Team placement needs that Team's admin or a workspace admin.

Limits of the model

An App runs on demand. It has no cron, queues or long-running jobs. It answers requests and goes to sleep. Scheduled and long-running work belongs in a workflow.

A backend holds no state. A container can stop, restart or move at any moment. Keep state in rollout.storage, Records or workflow storage.

An App isn't a hosting platform. One container, one port, no volumes, no custom domain. Everything reaches it through Rollout, which also handles access control and rate limits. To host a service on the open internet, host it yourself and connect to it from a workflow.

A backend sleeps when unused. After a period of inactivity it stops, and the next request starts it again, which takes a few seconds.

Apps and workflows

Workflows Orchestration, scheduling and anything that runs on its own
Apps The interface people use, and on-demand logic behind that interface

An App can start a workflow through a Tool you grant it. No workflow step calls an App's backend. If an App should run on a schedule, build a workflow. If a workflow should render a screen, build an App.

Save, Undo and Deploy

Code written in Rollout goes live on Save source. The editor stages file edits, renames, deletes and assets until one Save source validates and builds them. Apps have no numbered releases, and a failed build keeps the live App running and your edits available. A stale save keeps your edits and asks you to reconcile against the current App.

Undo last save restores the previous accepted build through current validation and permissions. It never restores revoked account consent, and it replays no calls.

A repository App uses Deploy for source changes. Saving Tool settings applies them without rebuilding or restarting the container.

When an App changes, an older tab keeps its input and offers Reload. Failed calls are never replayed. Saving never lends the viewer the App's authority.

Write an App in Rollout

Upload images, fonts and media with Upload asset. Reference an asset by its path (<img src="assets/logo.png">) or import it: import logo from "./assets/logo.png".

Libraries

An App can import:

  • React, and the App SDK (@rollout/sdk) for Tools, storage and routing
  • shadcn/ui components, as @/components/ui/<name>: accordion, alert, alert-dialog, avatar, badge, breadcrumb, button, calendar, card, chart, checkbox, collapsible, command, dialog, dropdown-menu, form, hover-card, input, label, pagination, popover, progress, radio-group, scroll-area, select, separator, sheet, skeleton, slider, sonner (toasts), switch, table, tabs, textarea, toggle, toggle-group and tooltip
  • what those components are built on: recharts, @tanstack/react-table, react-hook-form with zod and @hookform/resolvers/zod, date-fns, react-day-picker, lucide-react, cmdk, sonner and the Radix primitives

The set is fixed, and each App includes only what it imports. For other packages or your own build step, connect a repository.

Screens inside an App

useRoute() from @rollout/sdk gives the current path and a navigate function. When the App is open at its own address, the path shows in the browser's address bar, back and forward work, and you can link to a screen inside it (/apps/<app>/-/orders/42).

Who an App acts as

Runs as on the App's Access tab decides whose access its calls use: Whoever uses it, an Agent, or an Agent limited to whoever uses it. What automations can reach says what each option reaches.

The App's owner answers for it and never supplies data access. An App in a Private area can't name an Agent: Runs as shows Its owner, and calls use the signed-in viewer's own access. Only an admin of the App's Team can change Runs as.

Share an App outside the workspace

External links on the Access tab serve the live App to someone without a Rollout account.

  1. Choose a Link type. Public has a stable address, which you can set under Public address. Unlisted carries a secret token, shown once.
  2. Choose when it Expires: never, or after 1, 7, 30 or 90 days.
  3. Choose Create link.

Creating a link makes the App Public, which needs public sharing on for the workspace. You can hold one link of each kind: a new public link revokes the current public one, and the same goes for unlisted. Revoke takes effect immediately and permanently. Narrowing the App from Public revokes its links too.

A visitor has no identity in your workspace. The link doesn't carry an Agent, and Runs as doesn't apply to it, so Tools that query or write workspace data or start a workflow refuse a visitor's calls. A visitor can use:

  • the App's interface
  • its own backend, which carries none of your workspace's authority and is rate limited per viewer
  • Tools that need no workspace identity, such as an HTTP request with a fixed credential
  • the App Storage Tool, for state in a public App. rollout.storage isn't available without a signed-in viewer

A published Page also runs its App blocks for visitors, under the same rules. A Page can't be exposed wider than the Apps it embeds, so the App has to be Public before you publish the Page.

Limits

  • Apps written in Rollout: up to 2,000 files. Text files up to 1 MiB each and 16 MiB in total. Assets up to 8 MiB each and 64 MiB in total, with at most 500 assets.
  • Builds: the live build and one previous accepted build are kept.
  • Storage: 64 KB per value, 1 MB per App.
  • Repository Apps: the image is built by Rollout and stored privately. Build time is metered against your workspace.
  • Backends: one HTTP port, declared with a health check path. No volumes.
  • Concurrency: a workspace has a ceiling on how many App backends it can hold warm at once.
  • Requests: Tool and backend calls are rate limited per viewer.

Full contracts for AI clients are in the app.lifecycle, app.components, app.tools and app.constraints guide topics.