Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Running local LLMs inside Godot (github.com/nobodywho-ooo)
2 points by nobodywho-ooo 25 days ago | hide | past | favorite
Hey everyone! I wanted to share something we’ve been working on: NobodyWho, a Godot plugin that brings local LLMs into game development. It’s completely offline—no API keys or internet.

The idea is to use language models in ways that feel alive and interactive: smarter NPCs, dynamic storytelling, branching narratives or even creating ai-driven game logic. It’s open source, and we’re really excited to see what others might build with it.

Key Features

- Runs Locally: No network or external services—everything stays on your machine. This is also true for the end user who will play the game.

- GPU Acceleration: Leverages Vulkan (Linux/Windows) and Metal (MacOS) for fast performance.

- Multiple Contexts: Its possible to have multiple contexts only from one model without incurring the overhead of loading another model (you still pay for the kv-cache).

- Embeddings: Make interactions smarter by understanding meaning instead of just keywords. For instance, “I’ll slay the dragon!” and “The beast must die!” are treated as similar ideas and can be used as triggers in you game.

- Sampler: Adjust settings like temperature or penalties, letting you control tone and style for each character or scenario.

- Real-Time Streaming: Generate dialogue word-by-word for a natural, immersive feel.

What’s Next?

One of the things we’re most excited about is exploring is LLM-driven game logic. Imagine an NPC who, when asked to open a locked door, triggers an in-game event—or a player influencing the environment just by talking to a character. We want to connect what characters say with what they can do in the game.

We’re also tackling:

- Context Shifting: Ensuring conversations flow naturally, even over long or complex interactions.

- Memory Books: A structured way to store important narrative events, player choices, or character relationships, so NPCs can “remember” and refer to past interactions.

- Contextual knowledge about the game state: Using vector databases to store and retrieve information about the game world and player actions.

Try It Out

The plugin is open source and available on [GitHub](https://github.com/nobodywho-ooo/nobodywho). If this sounds like something up your alley, try it out, and let us know what you think. We’d love your feedback—and if you like it, a star on GitHub would be amazing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: