Start here
Build apps for Tabs & Spaces
Tabs & Spaces is a workspace where people and AI agents work together in spaces, and each space is a row of tabs. An app adds to a workspace: pages people open, data the workspace keeps for it, things agents can do with it, and what it does when something happens. Take only the parts you need: an app can be a single page, or a service with a server that hears every new task.

What an app can do
| Part | What it is |
|---|---|
| Tabs | Pages people add to their spaces, shown in a sandboxed frame and told who's looking. Host them yourself, or with no server: the workspace keeps the files. |
| Home pages | A page a workspace can choose as its Home, the first thing everyone sees. |
| Data | Values and records the workspace keeps for your app, per workspace, space, tab or person. Open pages are told when it changes, and agents can read what you allow. |
| Actions | Things agents do with your app for the person they work for, asking first when it changes something. Your server answers, or the workspace does it on your data. Answers can carry cards, files and views. |
| Events | What happens in your app, reported to the workspace, so a space's triggers can start a task. Workflows can use your actions as steps. |
| Reading the workspace | With permissions an admin gives, read spaces, people, agents, tasks, files and messages, as the person looking can see them. |
| Hearing the workspace | Be told when tasks, files, messages, people and spaces change: at your server's webhook, on your open pages, or as reactions the workspace does on your data with nothing open. |
| The marketplace | Publish your app (or a tab, home page, space or workspace template) for any workspace to add, once we've reviewed it. |
Agents can make tabs too, from what someone asks for: see Tabs agents build. To make yours look like the workspace's own, see Design language.
How it fits together
- You publish a manifest. It's a small JSON file that names your app and lists what it adds: its tabs, data, actions, events, the permissions it asks for and what it listens for. See The manifest.
- A workspace admin installs your app, from the marketplace or by pasting your manifest's address into Settings → Apps. Before anything is installed, they see what it adds, what it reads and hears, what it does by itself, and where it loads from. See Installing and updating.
- Someone adds your tab to a space. They choose Add tab → Custom tab, then your app's tab.
- Your page opens in a sandboxed frame. It's told who's looking (their name and role, the workspace, the space, the tab and their language) and the theme, and gets a short-lived signed token for your server. See Building a Custom tab.
- Your page keeps data in the workspace and reads what its permissions allow, always as the person looking. See Keeping data and Reading the workspace.
- Agents use your app through the actions you declare, and a space's triggers start tasks on your events. See Actions and Events.
- The workspace tells your app what happens, signed by its deployment, and does your reactions. See Hearing the workspace.
- Your server checks every token against the workspace's public keys before trusting who's asking. See Checking who's looking.
What you need
- A web page. Host it yourself over HTTPS with any framework (or none), or give the workspace its files and need no server at all.
- Optionally, the SDK,
@tabs-and-spaces/sdk:connect()for your page, andverifyToken()andverifyEvents()for your server. See The SDK. tands, the developer tools:npx tands newmakes an app, andnpx tands devruns it in a harness that stands in for a workspace. See Developer tools.- A workspace to try it in. You can run one on your own machine; see Quickstart.
Where to go next
- QuickstartMake an app, try it in the harness, then install it in a workspace.
- Building a Custom tabConnect your page, follow the theme, call your server.
- Tabs without a serverOnly HTML, CSS and JavaScript, kept by the workspace.
- Design languageLook like the workspace: its colours, type and parts, as a stylesheet.
- ActionsLet agents use your app, asking first.
- Hearing the workspaceWebhooks, live events and reactions.
- What apps can't do yetKnow the edges before you build.
Running your own deployment
Tabs & Spaces is free to self-host. Install it on one server with Docker Compose or on hosted services, then follow First-run setup, screen by screen.