Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Research 9 min read Announcement easyNovice

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

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.

Assumes: WebXR basicsLLM prompting

Related posts

  • How an Agent Built a 3D Paris Gallery by Chaining Two Hugging Face Spaces

    Hugging Face mediumAdept

    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. A coding agent chained an image-generation Space (ideogram4) with VAST-AI/TripoSplat to produce single-image 3D Gaussian splats of Paris monuments. It also handled the glue work: flipping Y-down outputs upright, auto-framing, compressing .ply to .ksplat (~3× smaller), building a Three.js viewer and deploying a static Space. Reusing the same pipeline for Japan and Egypt galleries took one prompt each, which the author offers as evidence for Mitchell Hashimoto's 'building block economy' applied to multimedia models.

  • Run Gemma 3 with Docker Model Runner: Fully Local GenAI Developer Experience

    Docker mediumAdept

    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. A sample Comment Processing System uses it to generate synthetic user feedback, categorize sentiment, cluster comments with mxbai-embed-large embeddings, extract feature ideas as JSON and draft support replies, all with no external API calls. Per-task temperature and token limits can be tuned freely because local inference carries no per-token cost or rate limit.

  • Design Decisions Behind app.build, a Prompt-to-App Generator

    Neon mediumAdept

    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. A finite state machine drives specialized actors (draft, handler, frontend, edit) that run concurrently and use tree search with early termination, and no candidate is accepted until it passes TypeScript compilation, unit tests, custom linters targeting LLM failure modes, and Playwright smoke tests. The agent is stateless, serializing state in payloads so it scales on ECS. A lightweight top-level agent (gemini-flash) gathers requirements, and context engineering keeps prompts encapsulated per step, with system-prompt rules mined from failed-generation logs.

  • Helix: The internal tool powering our Shopify app's native migration

    Shopify Engineering mediumAdept

    Helix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin. Instead of one-shot generation, it splits each screen into small ordered checkpoints, each gated by CLI-driven behavior tests, a Gemini-based visual comparison against screenshots of the reference app, two context-isolated adversarial code reviews against documented architecture guidelines, and engineer approval. Reviewer feedback is stored in memory so later checkpoints need less oversight, enabling autonomous and parallel runs that produce committed, evidence-backed checkpoints instead of one large diff. The core lesson is to optimize for reliable convergence rather than a perfect first attempt.

  • Making a web app generator with open ML models

    Hugging Face mediumAdept

    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. Prompt tuning does most of the work: terse imperative instructions, pre-seeding the output with `<html><body class=...>`, and requiring TailwindCSS so styles arrive inline without a stylesheet that stalls rendering. Image URLs come from a Stable Diffusion `/image` endpoint that the model is told to call. Alpine.js provides a minimal UI, and DaisyUI's shorthand classes cut token usage compared with verbose Tailwind utility classes.

The quest for software engineering knowledge.

Look:
Layout: