Reference
Developer tools
tands is on npm: run it with npx tands, or install it (npm install --save-dev tands) and run tands. It needs Node 22 or later. Paths are relative to the folder you run it from. (In the Tabs & Spaces repository it's packages/cli, run as yarn tands.)
tands new
npx tands new <folder> [--name "Team notes"] [--id team-notes]Makes a small, working app in a new (or empty) folder: a Custom tab that keeps notes for its space, an action (add_note), an event (note_added), and a server that checks tokens. It has no dependencies and no build step: run it with npm start (Node 22 or later). The SDK is copied in, built: public/tands-sdk.js for the page, lib/tands-sdk-server.js for the server. Its tab uses the design language, copied in as public/tands-design/. With a build step of your own, use @tabs-and-spaces/sdk from npm instead.
Its id comes from the folder's name unless you give one. Keep it once your app is installed anywhere: it's how workspaces know your app.
npx tands new <folder> --tab [--starter tasks-by-status] [--name "Tasks by status"]With --tab, a tab with no server instead: its files only (tands.json, index.html, app.js, style.css and the SDK), for a workspace to keep, from one of the templates a workspace offers: tasks-by-status (the default), space-files, workspace-glance or blank. They look like the workspace: the design language is served beside them as tands-design/.
tands check
npx tands check [manifest | folder]Checks a manifest as a workspace would, from a file (default public/tands.json) or its address. Given an address, it also checks that your tabs, actions and icon are on its origin. Given a folder, it checks it as a tab with no server: its manifest, that its pages are HTML files in it, its files and their size. It lists every problem, and exits with 1 when there are any, so it fits in CI.
tands dev
npx tands dev [manifest address | folder] [--port 5470]Starts the harness for your app (default http://localhost:5480/tands.json; start your app's server first). It reads your manifest again each time you open your tab, so edits show without restarting.
Given a folder, a tab with no server, it serves the folder's files itself (on the harness's port plus ten: 5480 by default) with a workspace's rules: nothing fetched or loaded from elsewhere. Like a workspace, it serves the design language beside them as tands-design/.
tands push
TANDS_URL=https://your.workspace.example TANDS_PUSH_KEY=tas-pk-… npx tands push [folder]Uploads a folder's files (default: the folder you're in) as the new version of a tab with no server in a workspace. It checks them first, as tands check does. The key comes from Settings → Apps → your app → Push keys in that workspace; it's for that app alone. A version that reads more than the app was given is refused: upload that one in the workspace.
tands publish
TANDS_URL=https://your.workspace.example TANDS_PUBLISH_KEY=tas-pk-… npx tands publish [--changes "What changed"]Sends a new version of your app to the marketplace for review, once it's listed: its workspace checks it for updates, then sends it with its listing's words and images. TANDS_URL is the workspace's address (any page of it: only its origin is used); the key comes from the app's Publish page in that workspace. Keep the key in your CI's secrets, not in your repository. See Publishing.
tands ollama
npx tands ollama tol_… [--ollama http://127.0.0.1:11434] [--server https://your.deployment.example]Links Ollama on your computer to your workspace's own Gateway, so its agents can use the models you've pulled there, as ollama/<model> in their model picker. Make the code in Settings → Gateway → Models on your computer (owners): it's shown once, with the whole command. Run it on the computer with Ollama and leave it running; it says which models agents can use.
- It connects out to the workspace's deployment over HTTPS, so there's nothing to open on your network, and passes the Gateway's requests to Ollama on this computer. Only chats and the list of models pass: nothing pulls, deletes or changes a model.
- It finds Ollama where Ollama's own
OLLAMA_HOSTsays (or this computer's port 11434);--ollamasays otherwise.--serveris for a deployment other than tabsandspaces.app (the command in Settings includes it). - It connects again by itself if the connection drops. A new code, or Unlink in Settings, closes it for good.
- It's for a workspace with a Gateway of its own from its deployment, and works as soon as it's connected. While the computer is off or asleep, agents using its models say so instead of answering.
tands computer
npx tands computer tcm_… [--server https://your.deployment.example] [--no-desktop] [--verbose]Links your own computer to a workspace, so its agents can run commands, use a browser and, with your go-ahead, control its desktop there for you: to look at your files, run your tools, check something on it, use a website from your own network, or work in an app only its window reaches. Once its owners allow people's own computers (Settings → Gateway → Computers), make your code in Preferences → Connections → Your computer: it's shown once, with the whole command. Run it on your computer and leave it running.
- Agents use your computer only in your own runs: in your My Space and your direct messages with them, never where others would read what it printed. Each command is shown to you as a card first, as it would be typed, and runs only once you approve it; what it printed shows on the card, and the agent carries on with it.
- It runs OpenClaw's node host on your computer, at your workspace's Gateway's version (fetched once into
~/.tands/openclaw), offering only commands and finding programs. Its pairing is kept in~/.tands/computer. It needs Node.js 24 (24.16 or later) or 26. - It connects out to the workspace's deployment over HTTPS, so there's nothing to open on your network, and the Gateway reaches your computer only through the deployment, which lets through only the commands you approved: anything else is refused.
- Commands run in your login shell (zsh on a Mac, sh on Linux, cmd on Windows), in your home folder unless the agent says another, for up to five minutes.
- Its browser is a separate one of its own on your computer (OpenClaw's, kept in
~/.tands/computer), never your own Chrome: it isn't signed in to your accounts unless you sign in to it. It runs hidden, so it works with your screen asleep. Agents open and read pages freely (each page they open is a step on their answer); to click, type or choose on a site they ask first, on a card, and may act on that site for 20 minutes once you say yes. - Its desktop: agents ask first, on a card saying what they'll do; once you allow it they may see your whole screen and use its mouse and keyboard for 30 minutes.
tandssays so while they may (with when it ends), and you stop them by typingstopthere, or with Stop in Preferences → Connections. Their screenshots go to the model only: they aren't kept in the conversation. On a Mac,tandsfetches the CuaDriver desktop driver once (into~/.tands/cua-driver, checked against its makers' published checksum) and starts it while it runs; allow "CuaDriver" in System Settings → Privacy & Security → Accessibility and Screen Recording. On Windows and Linux, OpenClaw drives the desktop itself: runtandsin your desktop session (X11 on Linux, not Wayland).--no-desktopnever offers it. - It connects again by itself if the connection drops. A new code, Unlink, or the owners turning people's computers off closes it for good.
--verboseshows OpenClaw's own output.
The harness
The harness is a stand-in for a workspace, on your machine, at http://localhost:5470.

- Who's looking: a name, a space and its kind, a language, and which of your tabs. Your tab is told exactly what a workspace would tell it, and a different space or person sees different data.
- Tokens: real EdDSA tokens, meant for your app's origin, with the harness's keys at
/api/apps/keys. Point your server at it (WORKSPACE_URL=http://localhost:5470) andverifyToken()works as it will with a workspace. The keys change each time the harness starts;fetchKeys()again when a token's key is unknown, as the scaffold's server does. - Data: your app's values and records, in memory, kept per place as a workspace keeps them and checked against your manifest the same way. Clear data empties it; a restart does too.
- Events: each event your app reports, from its tab or its server, checked against your manifest.
- Actions: a form per action, with its inputs. Run calls your server as a workspace would, with a token for that action and a data key your server can use with
dataClient(). The harness doesn't ask first, even for actions that change something: in a workspace, the person approves them. - Views: running an action that has its own view opens it under your tab, as under an agent's answer. It's told what a workspace tells it (theme, colours, language, time zone, the action, what it was asked and answered), its calls to your reading actions run as whoever is looking (one that changes something is refused, as a workspace refuses it), and what it opens or asks the agent is listed under it. Like a workspace, it only lets your view ask the agent once you've clicked in it.
- Hears: the events your manifest listens for. Send makes one up, around whoever is looking, and tells your tab (
onEvent), as a workspace does; if your manifest has alisten.webhook, it's also posted to your server, signed with the harness's keys as a workspace signs it (verifyEvents()withissuer: "http://localhost:5470"), and its answer shows.events.sincereads back what was sent; Clear data empties it. Your manifest's reactions run on the harness's data, as your app, and each says what it did (or why not). - Theme: Dark and Light tell your tab and your view, as a workspace does when the reader switches. Accent gives the workspace a teal accent (and takes it away), so you see your tab follow a workspace's own colour (
tands.styles, orconnect({ applyTheme: true })).
What it doesn't do: agents, approvals, triggers and workflows (try those in a workspace), limits on how much you keep or how often you call, and anything about other people in the space.