NVIDIA XR AI: How to Build AI Agents for AR Glasses

Technician wearing AR glasses at a factory control cabinet, with a holographic highlight and voice icon linked to a glowing server rack
AI-generated illustration

Smart glasses now have the cameras, microphones and comfort for real work. What developers lack is the plumbing: moving live video and audio to capable models, calling company systems, and answering the wearer in time. NVIDIA’s answer is XR AI, an open source framework for building multimodal AI agents for AR glasses and XR headsets, released in public beta on June 16, 2026. Here is how it works, how to start, and how it compares with the alternatives.

What NVIDIA XR AI is

In its technical blog, NVIDIA describes XR AI as “a reusable foundation for connecting extended reality (XR) devices to GPU-accelerated AI services” that can run in the cloud, a data center, a workstation or at the edge. The agents it produces can see what the wearer sees, understand spoken or typed intent, call enterprise tools and respond inside the same XR session.

The code lives in the NVIDIA/xr-ai repository on GitHub under the Apache 2.0 license. The README calls it “agentic AI for XR,” connecting web, Android, iOS/visionOS and native clients to a shared media hub, GPU-accelerated AI services, tool-using agents and optional NVIDIA CloudXR remote rendering. NVIDIA is clear that this is a public beta and that APIs may change.

According to the NVIDIA launch post, the platform does four things: it ingests video, audio, depth, pose and sensor data from devices; connects agents to tools such as NVIDIA Metropolis, the Metropolis blueprint for video search and summarization (VSS) and NeMo Retriever; supports models including Nemotron and Cosmos Reason; and plugs into the NeMo Agent Toolkit for orchestration, running on systems such as DGX Spark and DGX Station.

How an XR AI agent is put together

The architecture is deliberately modular. Camera frames, microphone audio and data messages flow from the device into an XR Media Hub. From there they are routed to models, tools and agents. NVIDIA Cosmos models handle visual grounding, Nemotron models handle language, reasoning and tool calling, and Model Context Protocol (MCP) servers expose enterprise data. NVIDIA says pixels can stay in shared memory while lightweight metadata moves, so agents fetch images only when a task needs them.

The repository’s model server stack, as listed by NVIDIA, includes:

  • nvidia/parakeet-tdt-0.6b-v3 for speech-to-text
  • nvidia/Cosmos-Reason1-7B for vision-language reasoning
  • Llama-3.1-Nemotron-Nano-8B-v1 for fast, latency-sensitive replies
  • NVIDIA-Nemotron-3-Nano-30B-A3B for deeper tool-calling workflows

Models are referenced through configuration, so teams can swap in cloud-hosted or OpenAI-compatible endpoints without rewriting agent logic. Participant identity acts as the routing boundary, which lets several wearers share one hub and several agents watch the same streams while each answer goes back to the right person.

Building a first agent, step by step

NVIDIA’s walkthrough moves from a simple agent to a full spatial one in six steps:

  1. Clone the repository with its samples, MCP servers and media infrastructure.
  2. Start the AI services from agent-samples/model-servers, which loads the speech, vision and language models in the background.
  3. Run the sensor-first sample, simple-vlm-example. It prints a web client URL; the client streams camera and microphone, speech becomes text, the latest frame goes to the Cosmos-powered vision model, and the reply returns as text and synthesized audio.
  4. Connect enterprise data through MCP. The repo ships servers for visual Q&A (vlm-mcp), video analysis (video-mcp), scene manipulation (render-mcp), OpenXR spatial information (oxr-mcp), vector utilities (vec-mcp) and transcripts (transcript-mcp). Teams can add their own.
  5. Add orchestration, for example a NeMo Agent Toolkit ReAct agent that discovers XR AI tools over a streamable HTTP MCP endpoint. NVIDIA stresses that the framework choice is open.
  6. Add CloudXR-rendered content with xr-render-demo, where an agent creates and edits 3D objects and CloudXR streams the result from GPU servers. A small model gives instant acknowledgments while a larger one reasons in the background.

For teams that want to index what agents see over time, NVIDIA points to VSS. An earlier NVIDIA tutorial from March 2025 showed the VSS blueprint driving a Meta Quest 3 agent, with NVIDIA Riva speech recognition turning questions into prompts and Riva text-to-speech speaking the answers.

Who is already using it

NVIDIA’s launch post names several early adopters. Siemens is exploring, in a research setting, how XR AI and DGX Spark can help factory engineers find maintenance information and troubleshoot programmable logic controller issues. Rana, an AutoBio company, is bringing its LabOS co-scientist to XR AI for stem cell and gene-editing work at the Cong Lab at Stanford University School of Medicine and the Wang Lab at Princeton University; NVIDIA says LabOS works with glasses from Meta, Rokid and VITURE. The Surreality Lab at University of Pittsburgh Medical Center also showed context-aware support for surgical teams running on DGX Station.

The other main routes to AI on glasses

XR AI is a back-end and agent framework that works across devices. Most other options are tied to one platform’s hardware and assistant:

  • Android XR with Gemini. Google’s Jetpack XR SDK lets a phone app project a dedicated activity to “audio glasses” and “display glasses,” with Jetpack Compose Glimmer for glanceable UI. Developers reach Gemini through Firebase AI Logic, and the Gemini Live API guide covers real-time voice and agentic function calling, while noting it needs a persistent connection and carries usage costs. At Android Developer Summit in November 2026, Google moved core Jetpack XR libraries and emulators to stable alongside the launch of XREAL AURA.
  • Meta Wearables Device Access Toolkit. Meta’s toolkit reached version 1.0 at Meta Connect in September 2026 after a year in preview. It extends iOS and Android apps to Meta’s AI glasses with camera capture, speech-to-command input and motion streaming, and one integration covers display and displayless glasses. Meta AI Connectors, in preview, turn a service’s API into tools Meta’s assistant can call.
  • Snap SPECS and Lens Studio. Snap unveiled SPECS at AWE in June 2026 with new developer tools, including agentic Lens development inside Claude Code, Codex and Cursor, a Native Development Kit for C and C++, and a spatial AI benchmark. Its Remote Service Gateway gives Lenses OpenAI, Gemini (including Gemini Live) and Snap3D APIs alongside camera, location and audio, behind user permission prompts.
  • Qualcomm Snapdragon. Qualcomm’s role is mostly silicon. Its Snapdragon AR1+ Gen 1 can run small language models entirely on the glasses using a third-generation Hexagon NPU. On the software side, the Snapdragon Spaces AR SDK for Unity and Unreal is still available, but the site now urges developers to start migrating to Android XR.

What it means

For enterprises, the split is becoming clear. Consumer platforms from Google, Meta and Snap are the fastest way to reach people who already own their glasses, but they route intelligence through each company’s assistant and cloud. NVIDIA XR AI targets the opposite need: organizations that want the agent, the models and the data on infrastructure they control, connected to internal systems through MCP, and usable across a mix of glasses, headsets, phones and browsers. Hospitals, labs and factories are the obvious fit. The trade-off is effort: XR AI is a beta toolkit that expects GPU capacity and engineering time, not a finished app store.

A practical approach for many teams will be hybrid: use a platform SDK such as Android XR or Meta’s toolkit for the on-device experience, and an XR AI style back end for perception, retrieval and tool use.

Conclusion

AI glasses are turning into a real computing surface, and the hard part has shifted from hardware to the agent behind the lens. NVIDIA XR AI gives developers an open, modular starting point for that agent, from a single camera-aware voice assistant to multi-user spatial workflows streamed with CloudXR. Teams evaluating it should start with the simple VLM sample, wire in one internal system through MCP, and judge latency on the glasses their workers will actually wear.

Sources