Spaces
Download

Open source

Spaces is under the Apache License 2.0. The window, the brain and the app that run on your computer are in one public repository you can read, build and change.

Why it is open

Software is made for the middle of a bell curve. A product team decides what most people need, ships it, and everyone else lives with features they never touch while the one thing they need is missing.

Spaces turns that around. Building now costs a sentence, so the opinions in your software can be yours: the sidebar, the chat, the theme and every space are files the agent changes when you ask. Software that is yours to reshape should be yours to read, down to the part that keeps the window alive.

Your copy of the app

The app in your folder begins as the repository's seed. Each change you ask for is a commit on top of it, and each new version of Spaces is merged in, keeping yours.

What is in the repository

Three parts, each in the language that suits it, and the libraries they are built on.

spacesApache-2.0
  • src/The kernel. It opens the window, runs the scripts, starts the brain and finds the way back when a script breaks. The only part scripts cannot change.Rust
  • brain/The brain. It holds the conversations and the data of your spaces, runs the agent and its tools, the updaters and the commands, and pairs other devices.TypeScript
  • seed/The app. The window, the chat, the theme and every space, drawn as native elements with no web view. Copied into your folder at the first start; from then on that copy is yours.JavaScript
  • vendor/Patched copies of the libraries it is built on, each under its own licence, each with a note saying what was changed and why.
  • ios/The iPhone build, a window of your computer's Spaces.
  • site/This website.
  • LICENSE
  • NOTICE
  • TRADEMARKS.md
  • CONTRIBUTING.md
  • SECURITY.md
  • README.md

What the licence allows

Use it, change it, ship it, sell it. The Apache License 2.0 also gives you a patent licence from those who contribute, and asks that you keep the licence and the notices with what you share.

The libraries in vendor/ keep their own licences, and the notice file lists everything else in the repository that is someone else's. A built Spaces carries the licence of everything inside it, in THIRD-PARTY-LICENSES.txt.

What the licence leaves out

The name Spaces for this app, the address usespaces.app and the ring icon say that a build comes from this project, and are not part of the licence.

Say that your work is built on Spaces, or is a fork of it, as much as you like. A changed build you hand to other people gets another name, another icon, and an update check pointed at your own address with your own signing key. An unchanged build for yourself or the people you work with needs none of that.

Build it

Rust and Node 24 or later. The built app carries its own Node, so once installed it needs neither.

spaces
$ npm --prefix brain install# the brain's packages
$ cargo run# the app, from the repository, with a home of its own
$ scripts/install.sh# on a Mac: build Spaces.app into Applications
$ sh scripts/linux/package.sh# on Linux: the tarball (see scripts/linux/README.md)

Windows builds on GitHub Actions. The repository's AGENTS.md is the map of the code and its rules, and docs/notes holds, part by part, what was tried and why.

How to help

Issues and pull requests are welcome. Answers can take a while, and a change that makes the app bigger without making it more its owner's to shape may be declined.

For anything larger than a fix, open an issue first and say what you want to change and why. One change per pull request, with the fact behind it: what was wrong, how you saw it, how you checked the fix. What you contribute is under the Apache License 2.0, like the rest, with no separate agreement to sign.

Reporting a flaw

Spaces runs an agent with a shell on its owner's computer, keeps their keys, and lets their other devices connect to it. Report a flaw privately, on the repository's page under Security, Report a vulnerability, never in a public issue. Only the newest release gets fixes.

  • A web page, a file, a fetched text or a link making the app run, read or send something its owner did not ask for
  • A space's updater or web page reaching past its fence: other files, keys, the brain
  • A paired device, or anyone on the network, doing more than a paired device may, or reading a connection
  • A stored key leaving the computer, or reaching the model
  • An update accepted without a valid signature

Where it stands

Spaces is early software, built in public by one person, on two young runtimes: the one that draws its interface natively, and the durable agent engine its brain runs on.

The Mac build is signed and notarized by Apple and updates itself. The Windows build is early. The Linux build was tried on Fedora and does not update itself yet. The iPhone app is in TestFlight.

Start with an
empty window

Download Spaces, sign in to the AI you already use, and ask for the first thing you would otherwise open another app for.

Mac with Apple siliconWindows 10 and 11Linux, x86_64

iPhone: join the beta in TestFlight, as a window of your computer. Free and open source.