---
title: "Vibe Coding XR: Accelerating AI + XR prototyping with XR Blocks and Gemini"
description: "Vibe Coding XR pairs Gemini Canvas with the open-source XR Blocks framework (built on WebXR, three.js and LiteRT.js) to turn natural-language prompts into interactive, physics-aware WebXR apps for Android XR in under 60 seconds, testable in a desktop simulator or on a headset."
url: "https://swe.quest/articles/vibe-coding-xr-accelerating-ai-xr-prototyping-with-xr-blocks-and-gemini-1120868bca9f8451"
canonical: "https://research.google/blog/vibe-coding-xr-accelerating-ai-xr-prototyping-with-xr-blocks-and-gemini/"
source: "Google Research"
published: "2026-03-25"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 9
tags: ["ai-coding","llms","evals","frontend"]
---

# Vibe Coding XR: Accelerating AI + XR prototyping with XR Blocks and Gemini

A post on [Google Research](https://swe.quest/sources/google-research.md), published 2026-03-25, 9 min read, Announcement. Original: [https://research.google/blog/vibe-coding-xr-accelerating-ai-xr-prototyping-with-xr-blocks-and-gemini/](https://research.google/blog/vibe-coding-xr-accelerating-ai-xr-prototyping-with-xr-blocks-and-gemini/)

## Summary

Vibe Coding XR pairs Gemini Canvas with the open-source XR Blocks framework (built on WebXR, three.js and LiteRT.js) to turn natural-language prompts into interactive, physics-aware WebXR apps for Android XR in under 60 seconds, testable in a desktop simulator or on a headset. Grounding comes from a specialized system prompt containing a persona with room-scale XR guidelines, package-management rules, and curated XR Blocks source code and templates placed in context to cut hallucinated APIs. On VCXR60, a 60-prompt internal dataset, early one-shot success was about 70%, with failures mostly from framework bugs and nonexistent or deprecated APIs. After 11 releases the recommendation is to use Gemini Pro mode for the most reliable results on complex interactions.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- WebXR basics
- LLM prompting ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

XR Blocks, Gemini, Gemini Canvas, Android XR, WebXR, three.js, LiteRT.js, VCXR60

## Related posts

- [How an Agent Built a 3D Paris Gallery by Chaining Two Hugging Face Spaces](https://swe.quest/articles/how-an-agent-built-a-3d-paris-gallery-by-chaining-two-hugging-face-spaces-854f07cf2fac2554.md): Hugging Face · 2026-06-09 · Medium · 9 min read · AI agents, AI for coding, Computer vision, API design
  Every Gradio Space on Hugging Face now exposes a plain-text agents.md describing its API schema, call/poll endpoints, file upload and auth, so a coding agent can drive a Space with no client library.
- [Run Gemma 3 with Docker Model Runner: Fully Local GenAI Developer Experience](https://swe.quest/articles/run-gemma-3-with-docker-model-runner-fully-local-genai-developer-experience-c005339b3915484f.md): Docker · 2025-04-09 · Medium · 7 min read · LLMs, Inference & serving, Containers, JavaScript
  Docker Model Runner (in Docker Desktop for macOS 4.40.0+) exposes an OpenAI-compatible API on localhost, so Gemma 3 can be pulled with \`docker model pull ai/gemma3\` and called through the standard OpenAI SDK by pointing baseURL at http://localhost:12434/engines/v1.
- [Design Decisions Behind app.build, a Prompt-to-App Generator](https://swe.quest/articles/design-decisions-behind-app-build-a-prompt-to-app-generator-23d698ec51fdb1d1.md): Neon · 2025-06-26 · Medium · 12 min read · AI agents, AI for coding, LLMs, Testing, System design
  app.build is an open-source prompt-to-app generator that trades breadth for reliability by restricting output to CRUD web apps on a fixed TypeScript/Postgres stack.
- [Helix: The internal tool powering our Shopify app's native migration](https://swe.quest/articles/helix-the-internal-tool-powering-our-shopify-app-s-native-migration-db9fcd596ae9b1fc.md): Shopify Engineering · 2026-09-21 · Medium · 8 min read · AI for coding, AI agents, Mobile, Refactoring & migrations, React
  Helix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin.
- [Making a web app generator with open ML models](https://swe.quest/articles/making-a-web-app-generator-with-open-ml-models-3da427bd1ac5acd0.md): Hugging Face · 2023-07-03 · Medium · 9 min read · LLMs, AI for coding, JavaScript, Inference & serving
  A Node.js/Express server can generate web apps from a text prompt by streaming tokens from a code LLM (WizardCoder-15B on Hugging Face Inference Endpoints) straight into the browser as HTML.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
