Vibe Coding Reality: Rapid Prototyping of Spatially Aware Augmented Reality Applications

Multimodal Intelligence Visual Grounding Agent Tool Learning Human Agent Interaction AI Systems and Hardware Text-to-Code
2026年11月27日
“氛围编程”(vibe coding)——即通过自然语言提示生成软件——已彻底改变了应用程序的原型开发方式。然而,增强现实(AR)应用却始终难以通过该方式实现:当前的编程智能体对AR应用实际运行所依赖的物理环境一无所知。我们通过将语义场景图(semantic scene graph)与氛围编程智能体相结合,填补了这一关键空白。在编写代码过程中,该智能体可实时查询该图结构,以获取环境中存在的物体及其空间关系与语义关系;而在运行时,由氛围编程生成的应用程序则持续检查实时构建的环境模型,从而确保自身行为与真实世界保持一致。为验证本方法的通用性,我们成功复现了16个已发表的AR应用,并对120个氛围编程示例进行了系统评估。此外,我们开展了一项专家用户研究:10名参与者借助接入物联网(IoT)的设备,共创建了40个具备空间配准能力(spatially registered)的AR应用。总体而言,87.5%的参与者所构建的应用被评定为成功,且平均仅需两轮提示(prompt)即可达成目标;系统可用性量表(SUS)平均得分达85分。上述结果充分证实,本系统是一种面向具身化增强现实(situated AR)的高效、快速原型开发工具。
Vibe coding, the creation of software through natural-language prompts, has transformed application prototyping. However, Augmented Reality (AR) has remained out of reach: Coding agents know nothing about the physical environment an AR application will run in. We close this gap by combining a semantic scene graph with a vibe coding agent. While writing code, the agent queries this structure for objects, spatial and semantic relationships. The vibe-coded application inspects the live environment model at runtime to stay consistent with reality. To demonstrate versatility, we recreate 16 published AR applications and evaluate 120 vibe coding examples. We report an expert study in which 10 participants created 40 spatially registered applications using devices connected to the Internet of Things. Overall, 87.5% of the participants' applications were rated successful at a median of two prompts, with a mean SUS score of 85, confirming the system as a rapid prototyping tool for situated AR.
许愿