Meet CraftGPT A Working ChatGPT Built Entirely In Minecraft
While some of us are proud of building a simple block house in Minecraft, others are out there constructing entire digital universes and, apparently, functional artificial intelligence. The creativity of the Minecraft community truly knows no bounds, and the latest project to capture our attention is a testament to that spirit of digital engineering.
Introducing CraftGPT The In-Game AI
A YouTuber known as sammyuri has unveiled an incredibly ambitious Redstone build: a working Large Language Model (LLM) inside Minecraft. Dubbed CraftGPT, this project, highlighted by Techspot, brings the power of conversational AI to the blocky world. You can see the full breakdown in the creator's video showcase.
This in-game version of the AI is a compact model, featuring about 5 million parameters—the most sammyuri's laptop could manage. However, translating even a small AI into the game's mechanics required an astronomical amount of virtual real estate.
The Blocky Brain Behind the Bot
To construct CraftGPT, sammyuri used a staggering 439 million blocks. The scale of the project is so immense that it required the Distant Horizons mod just to keep everything on screen and functioning. Impressively, the creator claims the entire build was accomplished using only the vanilla game's redstone mechanics, a process that took many months to complete.
The AI model itself was trained in Python using the TinyChat dataset. With a limited vocabulary of only 1920 tokens based on simple English conversations, CraftGPT isn't going to be writing complex essays anytime soon.
A Masterpiece of Patience, Not Speed
Before you try to build your own, the creator offers a word of caution on the project's GitHub page. You shouldn't have high expectations, as the model is prone to going off-topic, making grammatical errors, or producing nonsensical output. It also has a tiny context window of just 64 tokens.
Furthermore, CraftGPT is incredibly slow. Even when running on a high-performance, multithreaded server designed for Redstone called MCHPRS, it can still take hours to generate a single response. Without that specialized server, you'd be looking at a response time closer to a decade.
Redstone's Limitless Potential
This project is another stunning example of what is possible with Minecraft's redstone system. It joins the ranks of other mind-boggling creations, such as a fully-functional 32-bit computer with 2 KB of RAM that blots out the sun for villagers below. While some projects focus on pure function, others aim for artistry, like the massive and majestic replica of Yharnam from Bloodborne. CraftGPT proves that in the world of Minecraft, the only limit is a player's imagination and perhaps their computer's processing power.