Chiosa
HCI & Social

A room-aware coding agent builds WebXR apps around real objects

Vibe Coding Reality: Rapid Prototyping of Spatially Aware Augmented Reality Applications · arXiv:2611.37505

3 min
Updated

In plain words

This paper introduces a WebXR coding agent that uses a model of the room to build augmented-reality apps. In a study with 10 experts, participants rated 35 of 40 projects as meeting their goals well or fully.

The agent can look up where objects and connected devices are while it writes an app. The app can check that information again when it runs, and the agent tests the project and fixes problems it finds. The room model can still leave out details the app needs.

The research

A virtual panel only feels attached to a room when an app knows where real objects are.

This system changes the expectation for prompt-built augmented-reality apps: they can use a shared room model to place content and connect to devices, though missing room details can still leave important choices to guesswork.

The system gives a WebXR coding agent a live model of room objects and connected devices, so it can generate apps that place content in context.

For the expert study, 10 participants used the same model to make one project in each of four scenarios, choosing their own prompts. They rated 35 of the 40 projects as meeting their goal well or fully; projects took a median of two prompts.

Those results show how the system performed for these participants and tasks. The ratings came from the participants themselves, rather than an independent assessment of application quality.

The participant ratings came from 10 experts using one model in four scenarios, and the room model can omit details such as free space under a table or cabinet-door orientation.

What the evidence shows

  • Give the agent room context

    Augmented-reality apps need to place virtual content in relation to real objects, and some also need to use connected devices. The paper says existing prompt-based coding agents lack a model of the room where an app will run.

    Its contribution is a WebXR coding agent that can use room information while generating an app and let the finished app query that information at runtime.

  • Keep room data available

    The agent queries a semantic scene graph, a structured record of room objects and their spatial and semantic relationships. The generated app can query the same live record while running, so it can retrieve object locations and device information instead of relying on fixed coordinates or addresses. This links the agent’s code generation to the environment the app is meant to use.

  • Check the running project

    The agent runs projects in a headless browser and checks both runtime errors and whether requested features appear in the running scene. If it finds a problem, it edits the code and checks again.

    A project can run without errors while still missing an object, interaction, spatial anchor, or device action the prompt requested.

  • Read the study results in scope

    In the expert study, participants rated 35 of 40 projects as a 4 or 5 on a five-point scale, where 1 meant failure and 5 meant full success. They also used a median of two prompts per project.

    The ratings and prompt counts suggest the system could help these experts create projects in the four study scenarios, but the ratings were participants’ judgments of whether their own goals were met.

  • Room detail bounds the result

    Participants generally saw the system as useful for rapid prototyping and ideation, while raising concerns about visual fidelity and control over the generated code. The room model itself can omit details such as free space under furniture or cabinet-door orientation.

    Those omissions can leave the agent guessing, so the study’s favorable ratings do not erase the limits of the environment information it can use.

Deep

Next paperA checked text format for process models