Listen to this article
Take the story with you. Choose a voice and a pace that suits you.
Or listen in another language / choose a voice
Getting your device voices ready…
The voice follows the displayed language and your browser’s regional preference when available. You can choose another narration voice.
Keywords: Immersive Web SDK agentic workflow; IWSDK 1.0, build WebXR VR with an AI coding assistant, AI agent tests VR on Quest headset
The Immersive Web SDK agentic workflow starts with a slightly absurd promise. You describe a VR game in plain words, and an AI coding assistant writes the code, loads the scene, grabs things, presses buttons, notices what broke, fixes it, and tries again. No headset on your head while it works. That is not a chat window spitting out a code snippet. It is a loop, and the loop is the whole point.
Meta’s Immersive Web SDK, or IWSDK, is an open-source framework for building VR on the web. It launched at Meta Connect last year and handles the parts nobody enjoys writing from scratch: physics, hand tracking, grab interactions, movement, and spatial UI. The agentic workflow sits on top of that base. Open a project in Claude Code, Cursor, GitHub Copilot, or Codex, and the assistant gets wired into the running scene instead of guessing from your description of it.
What the Immersive Web SDK agentic workflow actually does
Three things, and the order matters.
First, the code generation knows the framework. The agent can search the full IWSDK documentation and codebase, so it writes against real function names and patterns instead of inventing plausible ones. Anyone who has watched a coding assistant confidently call an API that does not exist will feel the difference.
Second, it can see and touch the scene. The agent takes screenshots, reads where every object sits and what it is called, then interacts: it moves around, picks objects up, presses buttons, and simulates hand gestures. Testing a grab mechanic stops being you putting the headset on for the fortieth time.
Third, it closes the loop. When something fails, the agent changes the code and retests on its own, cycling until it finds a fix. Feedback gets oddly casual at that point. Tell it “that feels too fast” or “move those closer together” and it maps your words to the right objects, adjusts the settings, and shows you the result.
Meta tested this on its own showcase. Project Flowerbed, a VR gardening app that originally took tens of thousands of lines of custom code, was rebuilt from the ground up in 15 hours using the agentic workflow and the app’s existing art assets. Fifteen hours is not fifteen minutes, and Meta is honest about that distinction in the post. This was a full interactive app, not a demo scene.
Under the hood, your coding tool talks to an MCP server inside the Vite dev server, which bridges to the browser. Meta counts over 40 specialised tools across scene inspection, XR emulation, ECS debugging, and semantic code search, backed by more than 3,000 indexed code chunks.
IWSDK 1.0 moves the test onto real hardware
Emulation has a ceiling. A scene that runs smoothly on your desktop can still stutter on a Quest, and until recently the agent only ever saw the emulator’s version of your app.
IWSDK 1.0 changes that. Your agent can now run the app on a Meta Quest plugged into your computer and test it with the same commands it used in the emulator. The browser, the rendering, and the frame rate all come from the device itself. Meta’s example is pointed: an agent plays every level of a game called Hyperform on a Quest 3, profiles the slowdowns, fixes them, and replays until the game holds 90 FPS. That is the AI agent tests VR on Quest headset idea made concrete. Performance work that used to mean a human, a headset, and a spreadsheet now happens while you watch.
Version 1.0 also adds the Agentic Scene Composer. Visual editors give you control but resist automation. Agents automate but produce scenes you cannot easily reopen and adjust by hand. The Composer puts you and the agent in the same editable scene: you drag real project assets around in the editor, the agent writes models, materials, and behaviours in code, places them in that same scene, and renders the result to check its own work. It can even build a single 3D model and inspect it from every angle before using it.
The release is also ready for Meta VR Glasses, announced at Connect 2026 and due in spring 2027. Gaze works as a pointer, a pinch selects, and anything built for controllers or hand rays carries over. You can test that model now on a Quest 3 or 3S, with head direction standing in for eye tracking.
How to build WebXR VR with an AI coding assistant, starting tonight
The setup is short. You need Node.js 20 or later, Chrome or Edge, and one of the supported coding tools. A Quest 3, 3S, or Pro is recommended for on-device testing, not required to start.
Run one command, `npm create @iwsdk@latest`, pick virtual reality, mixed reality, or desktop 3D, and choose your AI tool. The project arrives configured. Then describe the thing. Meta’s own example prompt is an RPG-style VR game with neon blocks and a laser sword. Yours can be smaller. Small is better for a first run, because you learn how the agent handles your corrections on a scene you can hold in your head.
When it works, share it the web way. A WebXR app ships as a link: host it anywhere that serves HTTPS, or package it as a Progressive Web App for the Store. Meta says an average of one million people a month use WebXR experiences on Quest alone, so that link is no toy channel.
Keep your expectations in the right place, though. The agent handles setup, boilerplate, and the test-fix cycle far faster than a person would. It does not replace your judgement about whether a scene is fun or worth shipping. Review the code. Play the thing yourself before anyone else does. The workflow removes the tedious middle of VR development. What you build with that freed-up time is still on you.


