Games

s&box games list

S&Box LLM Proof of Concept

jeffskitchen.llm_poc

Proof of concept for running a real LLM entirely inside s&box using a custom C# GPT-Neo inference engine. No APIS, fully local

View full analytics Players · retention · sessions · updates · achievements

About

!!!!NOTE!!!!!!:
This is not meant to be even a tiny bit close to an actual useable ChatGPT or Claude clone, the model (TinyStories-Instruct-1M) is quite literally 1/2000 the size of any flagship model. The findings in this project can be used to build larger language model projects.

S&Box LLM POC
is a proof of concept demonstrating that a transformer language model can run entirely inside the s&box game runtime without external AI software, servers, APIs, Python, Ollama, or separate executables.

The project includes a custom C# inference engine capable of loading packaged model weights, GPT-2 tokenization, GPT-Neo transformer inference, global and local attention, and autoregressive text generation directly within s&box.


The current implementation runs TinyStories-Instruct-1M locally on the CPU and has been numerically validated against the original PyTorch/Hugging Face model. Generated token sequences match the reference implementation while inference runs on an s&box worker thread to keep the game responsive.


The end goal of the POC is a simple in-game chat interface powered entirely by an LLM running inside s&box itself.

From this, I hope other developers can see what is possible and potentially use small LLM to power NPCs, game functions or even whole games.



S&Box LLM Proof of Concept player count history

30d range · 6h averages

Media

01
AI Decision Maker (GLiNER 2.5) thumbnail
AI Decision Maker (GLiNER 2.5) jeffskitchen.aidecisionmakergliner25

Native GPU-accelerated GLiNER 2.5 decision workbench for testing structured AI choices directly inside s&box.

0playing now24h peak 0
+0 24h
1favorites
0upvotes
--Terry score