Quickstart
xixo is an indexer for personal data. Try it on your own machine with ./dev, run its container
image on a server, point an MCP client at it, or build on its GraphQL API.
Try it locally
Section titled “Try it locally”./dev runs the whole stack in containers. It needs Docker with Compose, Ruby, and a masks
checkout beside xixo for sign-in.
-
Clone both repositories side by side:
Terminal window git clone https://github.com/xixo/xixo.gitgit clone https://github.com/masksrb/masks.git -
Start masks:
Terminal window masks/dev -
Start xixo in another terminal:
Terminal window xixo/dev
xixo answers at http://xixo.localhost:8180, and these docs at http://xixo.localhost:8181.
*.localhost already resolves, so there is no /etc/hosts to edit. The stack serves one catalog,
named xixo. See development for the other commands, the ports, and
./dev --multi.
Sign in
Section titled “Sign in”xixo has no accounts of its own. It signs people in through the masks dev stack at
http://masks.localhost:12345, whose setup token is masks-dev.
- Open
http://xixo.localhost:8180. - Click Get started….
- Sign in to masks with an account that may approve connections. On a fresh masks, enter the setup
token
masks-devand create the first account. - Approve xixo when masks asks. You are signed in.
On later visits the button reads Sign in.
Resources
Section titled “Resources”The first time the stack starts, db/seeds.rb attaches resources to the tenant. They include
Default storage, which keeps uploads in Postgres up to 64 MB each, a MinIO bucket,
Snapshots, and Local models, which is Ollama on the host.
To see them all, click your avatar in the header, then Resources. To add another, click
Add, and see attaching a resource. ./dev seed runs the seeds
again without deleting anything.
Models
Section titled “Models”The models run on the host, outside the containers. brew bundle installs Ollama.
-
Start Ollama with a context large enough for the agent. The default of 4,096 tokens makes the agent lose the start of its prompt.
Terminal window OLLAMA_CONTEXT_LENGTH=32768 ollama serve -
Pull the models the seeds name:
Terminal window ollama pull gemma3:4bollama pull llama3.1:8bollama pull qwen3:8bollama pull nomic-embed-text -
On the Resources page, click Check on Local models. The check names any model that is still missing.
Until the check passes, xixo analyzes files without summaries.
The first file
Section titled “The first file”Drop a file anywhere on the catalog. xixo stages it, analyzes it, and places it in a resource that accepts it. The file’s page shows the analysis as it runs. See adding things and analysis.
Run it with Docker
Section titled “Run it with Docker”xixo ships as a container image, ghcr.io/xixo/xixo, which runs both the web process and the
worker. It needs Postgres and OpenSearch, and serves its own masks at /id. See
self-hosting.
Connect an agent
Section titled “Connect an agent”Point an MCP client that supports OAuth at /mcp:
claude mcp add --transport http xixo http://xixo.localhost:8180/mcpThe client registers with masks and requests a token itself, so the masks tenant must allow dynamic client registration. The tools the client sees depend on the scopes it is granted. See connecting an agent and the MCP reference.
Build on the API
Section titled “Build on the API”Everything the browser app does goes through /graphql. On a page that xixo serves, the xixo
package sends the session cookie and has a typed document for every operation the app uses:
npm install xixo graphqlimport { createXixo, metaCSRFToken, SearchDocument } from "xixo";
const client = createXixo({ url: "/graphql", csrfToken: metaCSRFToken });
const { data } = await client.query(SearchDocument, { query: "lease" }).toPromise();Any other client sends a masks access token as Authorization: Bearer. The token’s audience is
xixo’s origin followed by /mcp, the same as an MCP client’s token:
curl https://xixo.example.com/graphql \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"query": "{ search(query: \"lease\") { nodes { id title } } }"}'See the GraphQL reference for every field and the scope it needs.