1,658+ GitHub stars with active community development
Open source under Apache-2.0 license — free to use and modify
Integrates LLMs into Unity for AI-driven NPC dialogue and RAG-based conversations
LLMUnity is a Unity package that integrates large language models directly into your game characters. Install the package, add the component to your character, and start creating dynamic conversations, quest-giving NPCs, and AI-driven narratives. It supports major LLM providers (OpenAI, Anthropic, local models) and provides a simple C# API for sending prompts and receiving responses. Best for RPG developers, interactive storytellers, and any Unity project needing intelligent NPCs.
Yes, LLMUnity installs as a standard Unity package via the Asset Store or Git URL. It does not require modifying your project structure—just import and add the component to any GameObject.
LLMUnity supports OpenAI, Anthropic, and any OpenAI-compatible API, including local models via tools like Ollama or LM Studio. You can switch providers with a single setting.
Yes, you can run local models for free, or use free tiers of major providers. LLMUnity itself is open-source under Apache 2.0.
Install LLMUnity to get started:
Or visit the project page for detailed setup instructions.