AI for the spatial apps
Your Companion Hub is the AI server for the spatial apps. Companion Spatial Capture asks a vision model what is in each photo. Companion Avatar asks a chat model what to say and, if you add one, a speech server how to say it. Companion Compass Maps uses no model. The Hub runs on Companion Core or on a computer you already have, and the chat and vision models run on your own hardware unless you choose a cloud service.
The Hub App Store still lists them under other names: Companion Scan for Spatial Capture, Companion Spatial for Compass Maps, and Spatial Companion for Companion Avatar. The apps’ own screens also still show old names, such as Companion Scan and Avatar Companion.
What your server does
The Hub installs the apps and answers their AI requests. It has an OpenAI-compatible API at /api/inference/v1, plus Ollama-compatible routes, and sends each request to an engine you run, such as Ollama, vLLM, oMLX, or Lemonade. With Hub Pool, a chat or embedding request can also go to a paired Hub. Companion Memory is optional.
The status labels are defined on Personas.
| Capability | Status | Conditions |
|---|---|---|
| Chat with your own models | Works today | An engine and a model |
| Images in chat | Works today | A model that reads images |
| Embeddings | Works today | Ollama or Lemonade. With vLLM or oMLX, the Hub uses Ollama for embeddings |
| Speech to text and text to speech | Works today | The Hub makes no speech itself: it forwards to a Lemonade or LocalAI that you run |
| Image generation | Works today | The Hub makes no images itself: it forwards to a LocalAI that you run |
| MCP server | Works today | Lets an agent manage the Hub and its apps. None of the spatial apps uses it |
| Cloud providers | Behind a setting | A provider key and the cloud fallback switch |
Speech and image requests are not sent to paired Hubs. The Hub looks for LocalAI on port 8080 of its host unless LOCALAI_URL is set, which needs control of the Hub’s environment. The Hub’s own Traefik dashboard uses 8080 by default, and the LocalAI app in the Hub App Store listens on another port, so the Hub doesn’t find it there. This comes from reading the code; a LocalAI setup has not been tested with these apps.
What each app needs
| App | Needs from your server | Who calls the model | Default model | Without it |
|---|---|---|---|---|
| Spatial Capture | A vision model on Ollama | The Spatial Capture Server in the app’s container | qwen3-vl:4b | No object labels |
| Companion Avatar | A chat model | The app’s proxy, which calls Ollama or an OpenAI-compatible server | gemma3:1b | Only the Scripted built-in replies |
| Avatar headset app (in development) | A chat model, a reply-check model, and a speech server | The headset, which calls Ollama and the speech server | llava:7b (or gemma3:4b), with granite3-guardian:2b | No replies without the reply-check model |
| Compass Maps | Nothing: it uses no AI model | — | — | — |
| Companion Scan Quest | Nothing | — | — | — |
Optional extras:
- Spatial Capture: Companion Memory, to push scans to. A Spatial Capture Server on your own GPU machine, for splats. A detection service for boxes instead of the vision model (
grounding-dino-baseby default), not in the store build. - Companion Avatar: Companion Memory, for recall. Released versions of the avatar read it and don’t save your conversations there (a fix is merged, not released). A speech server you run.
- Compass Maps: Companion Memory, which it only reads, for your places and events.
- Companion Scan Quest, a separate, older web app for the Meta Quest 3. It does not use your Hub’s AI. For object detections it can use a computer-vision server that you run on an NVIDIA GPU; without one, capture places pins from the headset’s room model only. The setup for the hosted app has not been tested. Check the app’s Server field before you export: see Where camera frames go.
Where each app itself runs is on its devices page: Spatial Capture, Companion Avatar, and Compass Maps.
flowchart LR
accTitle: The spatial apps' AI: Spatial Capture and the Avatar's web, desktop, and phone apps call their server on your Hub, which calls the Hub's model engines
P["Phones, computers, and headsets<br/>Spatial Capture apps ·<br/>Avatar web, desktop, and phone apps"]
S["Spatial Capture Server<br/>/infer"]
A["Avatar proxy<br/>/api/chat · /api/stt · /api/tts"]
E["Hub model engines<br/>Ollama · vLLM · Lemonade · oMLX"]
V["Speech server, optional<br/>Speaches or HeadTTS"]
M["Companion Memory<br/>optional"]
P -->|"HTTPS"| S
P -->|"HTTPS"| A
S -->|"vision model, Ollama only"| E
A -->|"chat model"| E
A -.-> V
A -.->|"recall"| M
S -.->|"memory push"| MChoose the machine
- Companion Core uses AMD Ryzen AI Max+ processors. It arrives ready to run Companion OS, which is in beta and sets up Docker, Ollama, and Companion Hub. The first start downloads
nomic-embed-textfor embeddings andgemma3:1b, a small chat model. On AMD Ryzen AI Max machines with at least 30 GB of memory, it also downloadsqwen3.6:27b, which can read images. Companion OS installs no speech engine. See which AI models you get. - Your own computer can run Companion Hub too. What it can run depends on its memory and graphics card. See system requirements and AI and inference.
| Machine | Chat, including images with a vision model | Speech through the Hub |
|---|---|---|
| Companion Core (AMD) | Ollama or Lemonade | Lemonade or LocalAI, installed by you |
| NVIDIA GPU | Ollama or vLLM | LocalAI |
| Apple Silicon | Ollama or oMLX | LocalAI |
| CPU only | Ollama, small models | LocalAI |
On any of them, Spatial Capture needs Ollama as the Hub’s engine.
The Hub sorts machines into tiers by memory and offers models that fit the tier and the tiers below it. See The catalog.
| Tier | With a ready GPU runtime | Unified memory, no GPU runtime | Otherwise |
|---|---|---|---|
| High | 16 GB of VRAM or more | 32 GB of RAM or more | |
| Medium | 8 GB of VRAM or more | 16 GB of RAM or more | |
| Low | 4 GB of VRAM or more | 8 GB of RAM or more | |
| CPU only | 16 GB of RAM or more |
On Apple Silicon the GPU uses all of RAM, so the first column applies to total RAM: a 16 GB Mac is High.
As a guide, qwen3-vl:4b for Spatial Capture is 3.3 GB on disk, and gemma3:1b for the avatar is about 0.8 GB. The headset avatar needs room for llava:7b and the 2.7 GB granite3-guardian:2b at the same time.
Spatial Capture: the vision model
Each capture sends one photo to the Spatial Capture Server, which asks a vision model for the objects in it. The store build gets a label, a box, a confidence, and a few words of description for each. The 0.2.2 test build (not released) also asks for facts, such as colours, materials, and an estimated size and mass, and its Fill with AI asks the same model to describe one object. See What’s new in 0.2.2.
Engines. The server’s INFERENCE_MODE picks one. The Hub listing sets ollama.
| Mode | What it does |
|---|---|
ollama (default) | Calls the Ollama at OLLAMA_HOST with the model in OLLAMA_MODEL, by default qwen3-vl:4b |
onnx | Runs LFM2.5-VL-1.6B on the server’s CPU. Its model files aren’t in the store image |
grounding-dino | Calls a detection service for boxes, with no descriptions. Not in the store build |
mock | A deterministic test engine |
If the named model isn’t pulled, the server tries another tag of the same model, then the first of qwen3-vl:4b, qwen3.5:4b, qwen3.5:2b, llava:7b, and moondream:latest that is pulled, and then any pulled model, even one that can’t read images. It checks Ollama only when it starts. The phone can also run a small model in the browser with WebGPU (switch AI Engine to On-device in the Review & Export panel), but that needs model files that the store image doesn’t include.
On a Hub. The Hub writes OLLAMA_MODEL from its vision model setting, and OLLAMA_HOST only while Ollama is its active engine. With vLLM, oMLX, or Lemonade active, the app finds no Ollama and tags nothing. The Hub hands over your Settings → AI vision pick, or else the one it recommends for your hardware, without checking that it is pulled or that it fits beside your other models.
Thinking models. qwen3-vl:4b and other Qwen3 builds can think before they answer. The store build doesn’t turn that off, so captures are slower and can run past its 55-second limit. The 0.2.2 test build turns thinking off for its requests and allows 2,048 tokens per answer (OLLAMA_NUM_PREDICT).
Speed. With the 0.2.2 test build on the team’s test PC, a capture takes about 3 seconds once the model is loaded and about 7 seconds cold; a description takes about 1 second. Those numbers come from a test image. How good the tags are on real rooms has not been measured yet.
Point Spatial Capture at your Hub
-
In Settings → AI, use Ollama as the engine.
-
Pick the vision model there yourself, and pull it into that Ollama:
ollama pull qwen3-vl:4b -
Install Companion Scan from the Hub App Store. It needs Companion Hub 0.2.41 or later.
-
Open it on your phone over HTTPS. Give the app a vision model shows how to check that the model loaded.


To send scans to Companion Memory, connect it from the Hub, then queue a memory push in the editor. Objects found by the scanner don’t become things in Memory yet.
Saved Places are lost when the app’s container is recreated. They are kept inside the container, not in its data folder. Updating, restarting, or stopping and starting the app from the Hub recreates it. That includes the restart after you connect Companion Memory, and later ones when the Hub renews that connection’s key. Scan and world files are kept, but the editor no longer lists the Place, so the scans captured into it no longer appear there. This comes from reading the code and the store listing, and it has not been tested.
What needs a GPU
Most of Spatial Capture runs on a CPU. The reconstruction tools are optional, and apart from ffmpeg the store image includes none of them.
| Job | Hardware | In the store build |
|---|---|---|
| Vision model, in your Ollama | CPU, faster on a GPU | Calls your Ollama |
| Scan optimization | CPU | Yes |
| Video and photo ingest (ffmpeg) | CPU | Yes |
| Floor plans from room planes | CPU | No, not released yet |
| Camera poses with COLMAP | CPU | No |
| Gaussian-splat training | GPU with Vulkan or Metal | No |
| Dense reconstruction with LingBot-Map | GPU | No |
| Person capture as an animated splat | CUDA GPU with 44 GiB or more | No |
| Grounding DINO detection service | GPU or CPU | No |
On NVIDIA hardware, the project has run splat training with Brush, and tested the detection service on one RTX 3070, at about 150 to 180 ms per frame. The project’s support table lists no verified run of the GPU tools on AMD hardware, including Companion Core, or on Apple Silicon.
For splats and dense reconstruction, run the Spatial Capture Server yourself on a machine with a GPU, and install the tools that its documentation lists. Use COLMAP 3.13 to compute camera poses. Keep that server on your own network, not on the public internet.
Companion Avatar: chat, speech, and memory
The avatar’s LLM provider, in Settings → Connection, decides where chat goes:
| Provider | Path | Default model |
|---|---|---|
| Proxy (recommended) | The browser calls the app’s own /api/chat, and the proxy calls the model | The proxy’s model, gemma3:1b |
| Ollama (direct) | The browser calls Ollama, which must allow the app’s origin | gemma3:1b |
| OpenAI-compatible | The browser sends only with a key built into the app. Settings has no key field, so neither the Hub app nor the website can use it | gpt-3.5-turbo |
| On-device (WebLLM) | A model runs in the browser with WebGPU | SmolLM2 360M or Gemma 2 2B, chosen by the memory the browser reports (Llama 3.2 3B only above 8 GB) |
| Scripted | Built-in replies, no model | — |
To use an OpenAI-compatible server, keep Proxy and run the proxy with APP_UPSTREAM set to openai, plus APP_OPENAI_URL and APP_OPENAI_API_KEY. Without APP_OPENAI_URL the proxy sends chat to OpenAI.
The proxy answers /api/chat with a stream, /api/stt and /api/tts for speech, /api/tts/timed for speech with mouth-shape timings, and /api/health for Check connection. Behind it:
- Chat goes to Ollama, to an OpenAI-compatible server, or through Companion Memory, which adds recall from your memories. On a Hub, the listing hands the proxy the Hub’s model address, key, and chat model. The store install doesn’t connect Memory.
- Speech to text uses your browser’s own speech recognition by default, which in Chrome and other Chromium-based browsers can send your audio to the browser vendor. In builds from main (not released), with
APP_STT_REMOTEon, speech goes to a Whisper-compatible server (/v1/audio/transcriptions), such as faster-whisper, whisper.cpp, or Speaches, instead. - Text to speech is your browser’s voices by default, or an OpenAI-style speech server, or HeadTTS for timings that drive the mouth.
In the store build, v0.2.0, don’t expect voice input to start: the build lacks its voice detector’s files. This comes from reading the code. Typed chat doesn’t need them. Builds from the main branch, which are not released, include the files; avatar.ci.computer runs one.
Check connection with the Proxy provider shows only that Ollama answers, that an OpenAI key is set, or that Memory’s health check answers. Send a message to confirm that a model replies.
Context size. An Ollama server set to a large context window loads each model that large, so a chat model and another model can push each other out of memory. Builds from main (not released) can ask for a smaller window: set APP_OLLAMA_NUM_CTX, for example to 4096, on the proxy. Nothing sets it by default.
The headset app in development calls Ollama directly for replies and checks each reply with granite3-guardian:2b, which must be pulled. The Hub’s catalog has neither llava:7b nor granite3-guardian:2b: install them with cihub models install <name>. It uses a speech server such as Speaches for listening and speaking.
Point the avatar at your Hub
- Install Spatial Companion from the Hub App Store. The listing is
amd64only, so anarm64Hub, such as an Apple Silicon Mac, refuses it with Wrong architecture. - Leave Ollama URL blank. The Hub then fills in the address of its AI service and a chat model, and it replaces an address you type there while it has one to give. A model that thinks before it answers is a poor pick: the proxy doesn’t turn thinking off, and it gives up on a reply after 60 seconds.
- Open the app and select Skip in the first-run dialog. Then go to Settings → Connection, select Check connection, and then select Save.
For spoken replies from a server you run (Behind a setting), set Text-to-speech mode to remote in the install form, and Voice to a voice your server has. Then add APP_TTS_URL (the server’s address without /v1) and APP_TTS_MODEL to the app’s proxy service with a Compose override. The server needs the OpenAI /v1/audio/speech route. This has not been tested on a Hub install.
The Hub listing installs no speech server. The Speaches app in the Hub App Store is an OpenAI-compatible speech server that runs on the CPU. For the avatar’s proxy to reach it, set Speaches to This Machine Only, switch on Open this app’s port on your network for it, and use http://<hub-address>:18898, or the port on its page, as the server’s address. The avatar’s proxy sends no API key to a speech server, so leave Speaches’ API Key blank. With the port open and no key, anyone on your network can use Speaches, and the Hub login isn’t in front of that port. Don’t set Speaches to Public Web. It has not been tested with the avatar.
Companion Avatar has every speech setting and how to connect Companion Memory.
Compass Maps: no model
Compass Maps shows places from public data services and, if you connect it, your Companion Memory, which it only reads. It uses no AI model. A planned camera-based position fix would run on your own Spatial Capture Server. A separate planned trial would send camera images to Google, only with your consent. See the Compass Maps roadmap.
There is no AI to set up. Open xr.ci.computer , or install Companion Spatial from the Hub App Store, which has an older build (v0.1.0). To see your own places and events, enter your Companion Memory address and a read-only API key with no scopes selected in Settings → Companion Memory. Your Memory server must also allow the app’s address. The connection has been tested against stand-in servers only. Companion Compass Maps gives the steps.
Reaching your Hub from a phone or headset
Camera, microphone, and motion features work only on a secure origin, and the headset apps refuse plain HTTP, so phones and headsets need an HTTPS address for each app:
- Over Tailscale. Turn on Tailscale on the device and use the app’s private VPN address, or, for the Hub’s AI API, the Hub’s own Tailscale name, which Tailscale Serve publishes over HTTPS. See Tailscale. The default private VPN app addresses don’t ask for the Hub login, so anyone on your tailnet can open the app; separate addresses for VPN apps put the login in front.
- From anywhere. Expose the app with the Hub login in front of it.
- Not on a plain LAN address. An
http://<hub-lan-address>:<port>address is plain HTTP: camera and microphone features won’t start from it, and the headset apps refuse it.
Use your Hub from your own XR app
Many open-source Quest and Unity samples send camera images or speech to OpenAI. Your Hub answers the same API at /api/inference/v1, so you can point such a sample at your own hardware. See Use your Hub from an editor or SDK for keys and addresses.
| You need | Use |
|---|---|
| Base URL from a headset | https://<hub-tailscale-name>/api/inference/v1 over Tailscale, or your Hub’s public name |
| Key | An Inference key, sent as Authorization: Bearer <key> |
| Vision requests | POST /chat/completions with an image_url part holding a base64 data: URI, and a vision model you have pulled |
| Model | An installed tag such as qwen3-vl:4b, not auto: auto doesn’t check that the model can see |
| Speech | POST /audio/transcriptions and /audio/speech answer only with a Lemonade or LocalAI behind the Hub, or a cloud provider through the fallback switch. Otherwise point the sample at a Speaches app |
curl https://<hub-tailscale-name>/api/inference/v1/chat/completions \
-H "Authorization: Bearer <inference-key>" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3-vl:4b", "max_tokens": 300,
"messages": [{"role": "user", "content": [
{"type": "text", "text": "What objects are in this picture?"},
{"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,<image>"}}]}]}'The Hub passes the request to its engine as it is, so whether image parts work depends on the engine and the model: test with your model first. GET /models lists the catalog’s models, including ones not pulled yet, and doesn’t say which can see. A JSON request may be up to 64 MB, and an audio file up to 25 MB. There is no Realtime or WebSocket API, so samples built on OpenAI’s Realtime API need rewriting.
What is not available yet
| Not available yet | Status | What you can do today |
|---|---|---|
| Object detection you add from the Hub | Planned | Spatial Capture labels objects with a vision model. Its repository has a detection service that you can run yourself |
| Splat training you add from the Hub | Planned | Run the Spatial Capture Server yourself on a machine with a GPU |
| Image to 3D in the Hub’s AI API | Not yet | Photo Time Machine is a separate app for 3D models from images or video. It isn’t connected to these apps |
| Visual positioning (where a camera is in a room) | Planned | Nothing |
| A speech engine set up for you and handed to apps | Planned | Install Speaches, or run Lemonade or LocalAI yourself |
| Spatial Capture’s tags on a vLLM, oMLX, or Lemonade Hub | Planned | Use Ollama as the Hub’s engine |
| Connecting the avatar or Compass Maps to Memory from the Hub | Planned | Use a Memory API key. Compass Maps also takes your Memory username and password. Spatial Capture already connects this way |
| Saving your conversations with the avatar to your Memory | Not yet | Nothing: the avatar only reads Memory |
What leaves your network
- Spatial Capture. Photos and scans go to your Spatial Capture Server, and photos go on to the Ollama it uses; with a paired Hub, a labelling request and its camera frame can run on that Hub. With location on, the store build also sends your position to OpenStreetMap’s Nominatim service to look up your street address, without asking first. Newer source, not released, asks first. Map tiles, fonts, a Companion Memory push, and CI Account sign-in send more. See What leaves your network.
- Companion Avatar. With the Proxy provider, chat goes to your proxy and your model server. With a paired Hub, a chat request, including any recalled memories in it, can run on that Hub. The browser’s own speech recognition, the default for voice input, can send audio to the browser vendor, and some browser voices are online services. The in-browser voice, on-device models, and custom avatar addresses download from the internet. See Companion Avatar.
- Compass Maps. Requests to public map, Wikipedia, weather, and flight services carry your position. See Companion Compass Maps.
- Crash reports. The Hub installs of the avatar and Compass Maps have Share crash reports on by default. While it is on, error reports can go to Companion Intelligence, and Compass Maps also sends performance traces and sampled screen replays, which can include your exact position. Turn it off in the app’s settings on your Hub. See Crash reporting.
- Companion Scan Quest. With its Server field empty on the hosted app, the export upload, and camera frames for models other than Local, go to the app’s own address. See Where camera frames go.
- Cloud models. The Hub sends a request to a cloud provider only when you add a key and the cloud fallback switch,
CI_HUB_ALLOW_CLOUD_FALLBACK, is on. In release images since v0.3.14, that variable is unset, so the Hub does not fall back to a cloud provider. With the switch on, the Hub also gives AI apps, such as the avatar, the keys of the providers you enabled. An app that you point at a cloud API yourself sends to it directly: an avatar proxy run withAPP_UPSTREAMset toopenaiand noAPP_OPENAI_URLsends chat to OpenAI. Ollama model tags that end in:cloudor-cloudrun on Ollama’s servers whatever the switch says. See Cloud providers and the fallback switch and How an AI request is routed.
For other requests that an app makes to outside services, see its page.
What’s planned
Nothing here has a date.
- One vision service for Spatial Capture that finds, outlines, and captions objects, packaged as a GPU image, and reconstruction on the CPU in the store image.
- The Avatar Gateway: one proxy for every Avatar app, with a sign-in, the reply check, and Speaches in the listing. The headset app moves onto it, so it can use a model behind a Hub login.
- Positioning on your own server: a camera-based fix against the maps of your places, for Spatial Capture and Compass Maps, off by default.
- Scene tools for agents: your Hub’s agents can ask what is in a scanned room, read-only.
See the roadmaps for Spatial Capture, Compass Maps, and Companion Avatar.
Status as of 29 November 2026, for Companion Hub v0.3.16, Companion Memory 2026.11.26, and the app builds in the Hub App Store. What is marked not released is in a test build or on a main branch only. Model defaults and engines change between releases; each app’s page names the build it describes.