CUIfy the XR: An Open-Source Package to Embed LLM-powered Conversational Agents in XR
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
Recent developments in computer graphics, machine learning, and sensor technologies enable numerous opportunities for extended reality (XR) setups for everyday life, from skills training to entertainment. With large corporations offering affordable consumer-grade head-mounted displays (HMDs), XR will likely become pervasive, and HMDs will develop as personal devices like smartphones and tablets. However, having intelligent spaces and naturalistic interactions in XR is as important as technological advances so that users grow their engagement in virtual and augmented spaces. To this end, large language model (LLM)--powered non-player characters (NPCs) with speech-to-text (STT) and text-to-speech (TTS) models bring significant advantages over conventional or pre-scripted NPCs for facilitating more natural conversational user interfaces (CUIs) in XR. This paper provides the community with an open-source, customizable, extendable, and privacy-aware Unity package, CUIfy, that facilitates speech-based NPC-user interaction with widely used LLMs, STT, and TTS models. Our package also supports multiple LLM-powered NPCs per environment and minimizes latency between different computational models through streaming to achieve usable interactions between users and NPCs. We publish our source code in the following repository: https://gitlab.lrz.de/hctl/cuify
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 11 of its 52 references that are in the map. First posted on arXiv 7 Nov 2024.
Builds on
11 of 52 references.
References · 11
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 325
- 2024(A)I Am Not a Lawyer, But...: Engaging Legal Experts towards Responsible LLM Policies for Legal Advicecited by 63
- 2023LLMR: Real-time Prompting of Interactive Worlds using Large Language Modelscited by 39
- 2024Embedding Large Language Models into Extended Reality: Opportunities and Challenges for Inclusion, Engagement, and Privacycited by 14
- 2024Automated Assessment of Encouragement and Warmth in Classrooms Leveraging Multimodal Emotional Features and ChatGPTcited by 7
- 2020Touch? Speech? or Touch and Speech? Investigating Multimodal Interaction for Visual Network Exploration and Analysiscited by 5
- 2024Evaluating Usability and Engagement of Large Language Models in Virtual Reality for Traditional Scottish Curlingcited by 4
- 2023Voice2Action: Language Models as Agent for Efficient Real-Time Interaction in Virtual Realitycited by 2
- 2024Wrapped in Anansi's Web: Unweaving the Impacts of Generative-AI Personalization and VR Immersion in Oral Storytellingcited by 2
Built on by
Citing papers per year: 2025: 5.
5 papers.
- 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approachescited by 18
- 2025Exploring Context-aware and LLM-driven Locomotion for Immersive Virtual Realitycited by 2
- 2025A Review on Large Language Models for Visual Analyticscited by 1
- 2025Text2VR: Automated instruction Generation in Virtual Reality using Large language Models for Assembly Taskcited by 0
- 2025Exploring User Acceptance and Concerns toward LLM-powered Conversational Agents in Immersive Extended Realitycited by 0
- 2025Exploring User Acceptance and Concerns toward LLM-powered Conversational Agents in Immersive Extended Reality17 Dec 2025
- 2025Text2VR: Automated instruction Generation in Virtual Reality using Large language Models for Assembly Task19 Jul 2025
- 2025Exploring Context-aware and LLM-driven Locomotion for Immersive Virtual Reality24 Apr 2025
- 2025A Review on Large Language Models for Visual Analytics19 Mar 2025
- 2025Large language models for artificial general intelligence (AGI): A survey of foundational principles and approaches6 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2024Takeaways from Applying LLM Capabilities to Multiple Conversational Avatars in a VR Pilot Study
- 2024Crafting Customisable Characters with LLMs: A Persona-Driven Role-Playing Agent Framework
- 2025How LLMs are Shaping the Future of Virtual Reality
- 2024VR-GPT: Visual Language Model for Intelligent Virtual Reality Applications
- 2025Hi-Reco: High-Fidelity Real-Time Conversational Digital Humans
- 2025Mitigating Response Delays in Free-Form Conversations with LLM-powered Intelligent Virtual Agents
- 2026VirtualEnv: A Platform for Embodied AI Research
- 2025OmniCharacter: Towards Immersive Role-Playing Agents with Seamless Speech-Language Personality Interaction