Tabs & Spaces Developers

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.

The Help desk app's tab in a space called Support: counts of open, urgent and waiting tickets, filters, and three open tickets with their customers and due dates.
An app's tab in a space. Help desk keeps its tickets in the workspace, and has no server of its own.

What an app can do

PartWhat it is
TabsPages 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 pagesA page a workspace can choose as its Home, the first thing everyone sees.
DataValues 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.
ActionsThings 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.
EventsWhat 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 workspaceWith permissions an admin gives, read spaces, people, agents, tasks, files and messages, as the person looking can see them.
Hearing the workspaceBe 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 marketplacePublish 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

  1. 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.
  2. 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.
  3. Someone adds your tab to a space. They choose Add tab → Custom tab, then your app's tab.
  4. 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.
  5. 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.
  6. Agents use your app through the actions you declare, and a space's triggers start tasks on your events. See Actions and Events.
  7. The workspace tells your app what happens, signed by its deployment, and does your reactions. See Hearing the workspace.
  8. 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, and verifyToken() and verifyEvents() for your server. See The SDK.
  • tands, the developer tools: npx tands new makes an app, and npx tands dev runs 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

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.

Search every page: actions, the manifest, the SDK, tokens…