BehaviorLLM: open-source Unity package lets local LLMs drive game NPCs
faeliondev · reddit · 2026-09-23
A dev open-sourced BehaviorLLM (MIT), a Unity package from his bachelor thesis that lets LLMs drive NPC decisions: you define available actions and observable scene info, the model picks what to do, and your code executes it. Ships with a playable stealth demo, an 8-agent prison simulation with a warden, a HuggingFace model manager, and a runtime Prompt Inspector. Runs locally via llama.cpp, with plans to support new lightweight JEV-like models.
More from coding & agent
- Claude Opus 5.5 makes claymations in Blender from a single prompt — repligate · 2026-09-23
- Toddler's interactive storybook built in two hours with an agent workflow — mimi10v3 · 2026-09-23
- Don't use model capabilities to ship 10x features — experiment instead — petergyang · 2026-09-23
- Opinion: Agents make software good at using software, not just being used — r0ck3t23 · 2026-09-23
- Don't ship 10x more features with AI — spend the surplus understanding users, engineer argues — trq212 · 2026-09-23
- Open-source MCP server lets you manage Cloudflare Workers, KV, R2, Pages and DNS from your IDE — modelcontextprotocol · 2026-09-23