---
title: SpaceMIX developer docs
summary: The front door of SpaceMIX's developer docs - what SpaceMIX is, the two areas (Extensions and Widgets) with where each starts, the contract, changelog and agent pages, and where the docs website is and how the app links to it.
audience: both
since: protocol 1
---

# SpaceMIX developer docs

SpaceMIX is a workspace for a team with an AI assistant built into every part of it. You can add to it in two ways: extensions, which are apps in its sidebar, and widgets, which are small live views of the team's data. These docs describe both exactly as the code behaves today.

## Extensions

Sandboxed packages with a view the user works in and data the assistant can reach: Tasks, Notes, Files, Chat and Dashboards are all extensions. Build one, publish it to SpaceMIX Hub's registry, and any server with the Hub on can install it; a package file installs on any server, [with or without the Hub](reference/hub-optional.md).

Start at [Extensions](extensions/index.md): what an extension is, where to start as a person or an agent, and every guide, reference and host API page.

## Widgets

A team-wide HTML fragment fed by read-only tool calls (or public web URLs the server fetches), shown in a sandboxed frame on Dashboards and in Team Chat messages. Most are made by the assistant in the [Studio](guide/studio.md); you can write one by hand.

Start at [Widgets](widgets/index.md): what a widget can and cannot do, building one, its data, its look, and where it is shown. The exact surface is the [widget contract](reference/widgets.md#the-widget-contract).

## Start here

| Page | What it is |
|---|---|
| [Contract](contract.md) | What is stable, how it changes, and the stability labels. Read it if you depend on the contract: a host builder, a reviewer, a tool author. |
| [Changelog](changelog.md) | Every change to the contract, newest first. |
| [For agents](agents.md) | For AI agents building an extension: the loop, how a chat gets its tools and what the model sees of long results, the core's own tools, the rules that fail builds. Agents building a widget read [Building widgets as an agent](widgets/for-agents.md). |

Agents can read every page in one file: `llms-full.txt`, at `dist/docs/llms-full.txt` after `npm run docs` in a checkout.

## The docs website

These pages are published as a website, meant for `https://docs.spacemix.ai`, with one copy per SpaceMIX release at `v<x.y.z>/` and the main branch at `latest/`. Each page is HTML with its raw Markdown next to it (`reference/host/storage.html` and `reference/host/storage.md`), and each copy has its own `llms.txt` and `llms-full.txt`. The `spacemix-docs` repository builds the site from `docs/` in the SpaceMIX repository; the pages are written only there.

In the app, **Documentation** (at the bottom of the server menu at the top left, on a phone behind your avatar at the top right, and in the command palette, `Ctrl/⌘ K`) opens the copy for the server's own version, `https://docs.spacemix.ai/v<version>/`, in a new tab, so the docs match the SDK and contract that server runs (`apps/desktop/src/lib/docs.ts`). An old in-app link, `#/docs/<path>`, lands on a page with a button that opens the same page on the website.

The app's **Design System** page (**Design System**, next to **Documentation** in the server menu, or search for "Design System") is a live catalogue of the [UI kit](reference/ui.md).
