Runtime for LLM-powered game NPCs
Top 84.6% on sourcepulse
This project provides a framework for creating LLM-powered Non-Player Characters (NPCs) that can perform defined actions within a game environment, running locally on user hardware. It targets game developers and researchers seeking to integrate dynamic, intelligent characters with low-latency inference.
How It Works
Gigax leverages the outlines
library for structured generation, ensuring LLM outputs consistently adhere to predefined formats for actions and parameters. It offers fine-tuned open-weight models (Llama-3, Phi-3, Mistral) optimized for NPC behavior, with support for GGUF formats for CPU inference via llama_cpp
. The core interaction involves a NPCStepper
class that takes scene context and character data to generate NPC actions.
Quick Start & Requirements
pip install gigax
.Highlighted Details
outlines
for reliable output parsing.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is still under active development, with several key features like local server mode and advanced memory management listed as "Coming soon." The licensing is not clearly defined, which may impact commercial adoption.
1 year ago
Inactive