Inspiration
Cursivis started as a Windows assistant: select text or a screen region, press one button, and an orb offers the AI actions that fit. In a headset, what you need help with is in front of you: a nutrition label, a notice in another language, code on a panel. Cursivis Spatial brings that loop to Meta Quest, hands only.
Selection is Context. Gesture is Intent. Cursivis is Action.
What it does
- Select. Tap Snip and pinch-drag a box around anything in your room, or pinch text and images on floating workspace documents.
- Ask. Pinch Ask Cursivis. The orb reads the selection and offers four actions chosen for it, such as Translate Notice, Find Bugs or Check Allergens, plus Talk, which is always there.
- Act. The answer appears on a card beside the selection, with evidence and uncertainty notes, follow-ups, read-aloud, redo, pin and grab.
- Talk. Ask about the selection, or pinch the orb with nothing selected for a general conversation.
On the back of an energy drink can, "Is this vegan?" gets "Not vegan: contains E120 (carmine)", and a follow-up gives the caffeine per can. Cursivis never invents ingredients and says when evidence is missing.
How I built it
Quest app. Unity 6 with OpenXR, Meta XR Core SDK, Interaction SDK and MR Utility Kit 209. The scene, rig and project settings are generated from code, so every build is reproducible from the command line.
Room snips. PassthroughCameraAccess runs only while you snip. Each corner of your box is transformed into the camera's coordinate frame using the pose of that exact frame, then projected with the camera intrinsics:
$$u = f_x \frac{x_c}{z_c} + c_x, \qquad v = f_y \frac{y_c}{z_c} + c_y$$
The region is cropped on the GPU and sent as a JPEG of at most 1024 px. Only the selection, and your voice while you hold Talk, is sent.
AI backend. Node 22 on Vercel, calling Gemini. One structured call returns the content type and four suggestions, where the desktop app used 4 to 6 calls. A rotating key pool, model fallback and hedged requests keep most answers at about 2 seconds. No API key ships in the APK.
Challenges
I don't own a headset, so everything was built and tested in the Meta XR Simulator on a laptop with integrated graphics. That meant switching to Vulkan, using the simulator's JPEG passthrough path, and removing locomotion that made the rig slowly fall through the floor. Free-tier latency was the other problem: measuring every model and reordering the fallback chain cut action time from 7.7 s to about 2 s.
What I learned
Spatial AI works when the gestures stay simple and the AI does the predicting: one pinch to select, one to ask, one to act. A label answer is only useful if it never invents an ingredient.
What's next
Testing and tuning on Quest 3 and 3S, streaming voice you can interrupt, cards anchored to real objects across sessions, and comparing two selections side by side.
The demo video is Meta XR Simulator footage of the real build with live AI answers.
Built With
- ajv
- android
- c#
- express.js
- gemini
- hand-tracking
- il2cpp
- interaction-sdk
- javascript
- json-schema
- meta-quest
- meta-xr-sdk
- meta-xr-simulator
- mruk
- node.js
- openxr
- passthrough-camera-api
- textmeshpro
- unity
- urp
- vercel
- vulkan