AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Gaming › LLMUnity
✦ Free & open sourceGaming

LLMUnity

Create interactive AI characters in Unity using local or remote LLMs.

LLMs Inside Your Unity Games

Integrate large language models and RAG systems directly into Unity for conversational characters.

Free forever · open source · Apache-2.0
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.4
ZEKAI
Essential for local Unity AI.
Free & open source · Gaming
Ease of setup7
Usefulness9
Maintenance7
Community6.5
★ 1,717
GITHUB
Apr 2026
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

LLMUnity is a C# integration package for the Unity engine that brings large language models directly into your game projects. It is designed for Unity developers and game creators who want to add interactive AI characters with zero external internet dependencies.

Runs on
Cross-platform
Hosting
Desktop
Languages
C#
License
Apache-2.0

What it is

The toolkit uses LlamaLib and llama.cpp under the hood to run LLM inference locally across PC, mobile, and VR platforms supporting CPU and GPU acceleration. It includes an advanced Retrieval-Augmented Generation (RAG) system for semantic search across your project's custom data.

Who it's for

It suits indie developers and game studios building single-player or local AI-driven experiences across multiple platforms. It does not suit teams looking for pre-hosted cloud AI APIs without handling local hardware performance.

Key features

Cross-Platform Local Inference

Runs locally on PC, mobile, and VR without requiring internet access.

Hardware Acceleration Support

Delivers fast inference across CPU and GPUs including Nvidia, AMD, and Apple Metal.

Advanced RAG System

Includes approximate nearest neighbor search to feed custom data into character knowledge.

Single-Line C# API

Provides simple chat methods and callbacks for real-time token streaming.

How to start

Up and running in 3 steps

1
Install LLMUnity via the Unity Asset Store or Package Manager git URL.
2
Create an empty GameObject, add the LLM component, and download or load a .gguf model.
3
Add the LLMAgent script to your character GameObject and call chat methods from your C# scripts.
Real talk

Our honest verdict

What's great

  • Runs completely offline keeping all player data local
  • Supports all major LLM models via standard .gguf files
  • Works across multiple Unity LTS versions and Unity 6
  • Includes built-in RAG for semantic game data search

Where it falls short

  • Running large language models locally demands significant client hardware performance
  • Model files must be downloaded separately, adding several gigabytes to project sizes
Cost

Pricing & license

Free to use for both personal and commercial purposes under its license. The only cost is running it yourself on client hardware.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: LLMUnity for Gaming
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure LLMUnity for you — and train your team.
Get it done for you ↗
Questions

FAQ

Does LLMUnity require an internet connection to run?

No, it runs entirely locally on the user's hardware without needing internet access.

Which platforms are supported?

It is tested and supported on PC, mobile, and VR across multiple Unity versions including LTS releases and Unity 6.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Gaming — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google