Allsorts

Allsorts for developers

What a developer can use of Allsorts today: the one line that installs it, the allsorts command, and the code a workspace is written in. There's no public web API, OpenAPI description, SDK or MCP server of ours yet.

Install

One line installs Allsorts for you alone, with no administrator. It finds which system it's on, downloads that system's file from downloads.allsorts.work, checks its SHA-256 against what we published, and starts it. On macOS and Linux, in a terminal:

curl -fsSL https://allsorts.work/install | sh

On Windows, in PowerShell:

irm https://allsorts.work/install.ps1 | iex

Signed in on allsorts.work, Add an environment… gives you the same line with a key in it, which adds the computer to your account as it installs. During the beta, the line installs Allsorts once a version is offered to you: we let people in a few at a time.

curl -fsSL https://allsorts.work/install | ALLSORTS_KEY=<key> sh

Install with your AI agent

Or paste this to an AI agent on the computer you're adding. It installs Allsorts with the line above, then runs allsorts signin with your email, which shows a code that you confirm at allsorts.work/device, signed in there: no key passes through the agent, and the code joins the account of that email alone, whoever else sees it. Put your own email in place of you@example.com. On macOS and Linux:

Install Allsorts on this computer. Run `curl -fsSL https://allsorts.work/install | sh`, then `~/.local/bin/allsorts signin you@example.com`, which prints a code and waits for me to confirm it at https://allsorts.work/device. Show me the code as soon as it prints; if your terminal waits for commands to end, run that one in the background.

On Windows:

Install Allsorts on this computer. In PowerShell, run `irm https://allsorts.work/install.ps1 | iex`, then `& "$env:LOCALAPPDATA\Programs\allsorts\allsorts.exe" signin you@example.com`, which prints a code and waits for me to confirm it at https://allsorts.work/device. Show me the code as soon as it prints; if your terminal waits for commands to end, run that one in the background.

With mise, its http backend installs Allsorts straight from downloads.allsorts.work, with no other registry, and mise up updates it. Each version has its SHA256SUMS beside it, to pin one by:

mise use -g 'http:allsorts[url=https://downloads.allsorts.work/allsorts/{{ version }}/allsorts-{{ os() }}-{{ arch() }}.tar.gz,version_list_url=https://downloads.allsorts.work/allsorts/versions.json]@latest'
mise up

Systems

  • macOS on Apple's own chips (not on an Intel Mac)
  • Linux on x64 and arm64, with the GNU C library (not with musl, as Alpine has)
  • Windows on x64, with Intel and AMD chips

What it installs, and where

One file, the allsorts command: in ~/.local/bin on macOS and Linux, and in %LOCALAPPDATA%\Programs\allsorts on Windows, which your terminals then find. It keeps its things in ~/.local/share/allsorts, or %LOCALAPPDATA%\allsorts on Windows, starts with your computer and runs in the background. It serves no page of its own: you open your workspaces on allsorts.work.

Updates

Allsorts updates itself. It follows the stable channel, checks for a new version two minutes after it starts and every six hours after that, takes only a version signed by our key, and goes back to the version before by itself if a new one doesn't start well. allsorts channel <name> follows another channel, and allsorts version <name> stays on one version. Installed with mise, it leaves its updates to mise: it says when a new version is out, and mise up takes it.

The command

  • allsorts runs Allsorts here, in the terminal you start it from.
  • allsorts status says whether it runs, whether it starts with your computer, and where it keeps its things.
  • allsorts stop stops it, and allsorts open opens your workspaces on allsorts.work in your browser.
  • allsorts signin you@example.com, with your own email, adds this computer to that account: it prints a code to enter at allsorts.work/device on a device signed in to it, and waits up to ten minutes for it to be confirmed; it joins no other account, whoever sees the code. It opens no browser, so it works the same over SSH, on a server or in a virtual machine. ALLSORTS_KEY=<key> allsorts signin adds it with the key that Add an environment… gives, with nothing to confirm.
  • allsorts update checks for a new version now, and allsorts channel says what it follows and what it's offered.
  • allsorts check <folder> says what Allsorts' check says of a workspace's folder, as its agents ask it.
  • allsorts startup on and allsorts startup off set whether it starts with your computer, and allsorts version says which version it is.
  • allsorts uninstall takes it off your computer, once you say yes, and allsorts help lists these words.

How a workspace's code is written

A workspace's code is a small TypeScript project of its own, kept in versions. It imports one module, allsorts, and is made of four things:

  • state: what its people share, kept as facts, with a rule for who may add each one.
  • action: what a person does, which adds facts to a state.
  • on: what happens by itself, on the computer, once for each fact, such as an agent's turn or a reminder at a moment.
  • ui: each person's screens, drawn from what they may read.

Its tests sit beside what they test, and import allsorts/spec. Every change goes through Allsorts' check (its types, its lint and its tests), shows in a preview, and becomes a version only once it's published; any version can be restored.

The code lives in a folder on the computer that runs the workspace, which you can change with any editor or agent: a change found there is checked and offered as the next version. An agent at work in a workspace reads and does what the workspace's own page does, as the person it works for, with the allsorts command; allsorts help lists what it can do there.

Where the docs are

This page and llms.txt are the public documentation for now. Inside Allsorts, a workspace's README says what it is to everyone in it, each template's README says how its workspace works, and allsorts help describes the command.