S&Box LLM Proof of Concept
jeffskitchen jeffskitchen Game update 6h ago

S&Box LLM Proof of Concept

new_releases New — just published

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

favorite1favorites
thumb_up1upvotes
thumb_down1downvotes
hard_drive 32 MB folder 41 files build Engine v28 bolt Updated recently
open_in_new View on sbox.game
show_chart Player History
Loading history...
No history data available yet

About This Package

 

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.


!!!!NOTE!!!!!!:
This is not meant to be even 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

Media (5)

4
Total Users
8
Total Sessions
26 min
Total Playtime
Package ID: jeffskitchen.llm_poc
Created: 2026-08-17 05:09 UTC
Updated: 2026-08-17 04:58 UTC
Type: game
Public: Yes
Version: 342521
files: 41
Size: 32.1 MB
Engine Version: 28
Asset Version ID: 342521
Version Created: 2026-08-17 04:58 UTC
Hash: 1786942705
Manifest: Open manifest
Error Rate: 20.00%
Multiplayer: Unknown
Versus: Unknown
Co-op: Unknown
Max Players: 64
Min Players: 1
Tick Rate: 50
Game Network Type: Multiplayer
Map Select: Unrestricted
Map List: facepunch.flatgrass
Rank Type: None
Per Map Ranking: false
Leaderboard Type: None
Cs Proj Name:
Startup Scene: scenes/minimal.scene
Resources:
Game Settings:
Code Package References:
new_releases Latest Update Aug 17, 2026
Updated model to publish correctly
342521 Aug 17, 2026
Updated model to publish correctly
342519 Aug 17, 2026
Changes on 2026-08-17