Talk to this self-learning AI chatbot one player built entirely inside of Minecraft
His name is Albert, and he just wants to be your friend.
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
You are now subscribed
Your newsletter sign-up was successful
Want to add more newsletters?
Every Friday
GamesRadar+
Your weekly update on everything you could ever want to know about the games you already love, games we know you're going to love in the near future, and tales from the communities that surround them.
Every Thursday
GTA 6 O'clock
Our special GTA 6 newsletter, with breaking news, insider info, and rumor analysis from the award-winning GTA 6 O'clock experts.
Every Friday
Knowledge
From the creators of Edge: A weekly videogame industry newsletter with analysis from expert writers, guidance from professionals, and insight into what's on the horizon.
Every Thursday
The Setup
Hardware nerds unite, sign up to our free tech newsletter for a weekly digest of the hottest new tech, the latest gadgets on the test bench, and much more.
Every Wednesday
Switch 2 Spotlight
Sign up to our new Switch 2 newsletter, where we bring you the latest talking points on Nintendo's new console each week, bring you up to date on the news, and recommend what games to play.
Every Saturday
The Watchlist
Subscribe for a weekly digest of the movie and TV news that matters, direct to your inbox. From first-look trailers, interviews, reviews and explainers, we've got you covered.
Once a month
SFX
Get sneak previews, exclusive competitions and details of special events each month!
Another day and we're one step closer to the Minecraft singularity thanks to players building everything from Atari emulators to working cellphones. And now, thanks to the efforts of builder Onnowhere, Minecraft has its own self-learning chatbot. Forget playing with friends, AlbertAI is a chatty little AI you can talk to using a keyboard interface and learns to talk the more you do.
"I've always been interested in artificial intelligence, so naturally I really wanted to make one," Onnowhere tells me. He'd been messing around in Python and Java, but was drawn to the challenge of building an AI inside of Minecraft. While the room in which you chat with Albert seems clean and simple, it really masks a massive physical computer that determines how he'll respond to your dialogue.
The secret to this is Minecraft's command blocks that dramatically expanded the potential for engineering and programming inside of Minecraft. With these blocks, players can execute simple console commands, which is what allows Albert's responses appear in the chat window like any normal player. More impressive, however, is how Albert knows what to say.
The algorithm is complicated, but it relies on finding the frequencies of letters used in your messages as well as length and the total difference between letters to determine what the response should be. So if you say 'Hello' to Albert, he'll scan his memory bank of responses for ones that closely match that syntax, and then respond. What's impressive is that the more you speak to him the larger that memory bank grows and the more responses he develops.
Minecraft update: What's new?
Minecraft skins: New looks
Minecraft mods: Beyond vanilla
Minecraft shaders: Spotlight
Minecraft seeds: Fresh new worlds
Minecraft texture packs: Pixelated
Minecraft servers: Online worlds
Minecraft commands: All cheats
"When I began making my first chatbot in Python for fun, I made it a goal of mine not to have it 'preset' with responses, because if it's just responding to things with stuff the creator has already determined, I feel it won't be as genuine," Onnowhere says. "Users would probably see a pattern and it would cut off from the uniqueness of the idea. Cleverbot was a big inspiration for the method I came up with, because it learns by talking with users rather than using premade chats."
That kind of programming already seems complex, but it becomes almost mind-boggling when it has to be done within a physical Minecraft world. For example, text input is stored in wool and clay blocks that are broken down to 'interpret' the value of each letter in your sentences. "There is an odd satisfaction one can get out of creating something despite limits," Onnowhere says.
AlbertAI has been his pet project for almost a year, and while he had the basic concepts nailed down from previous chatbots he made in Java and Python, implementing them in Minecraft wasn't easy. It only took him a day to build the basic foundation to calculate Albert's responses, but he tells me that he quickly ran into hurdles. "I had a major issue with lag due to a method I was using to calculate things, and it took quite some time before I came to a solution that could fix it," he says. "I'm glad it finally worked out though, as I almost didn't release it due to how slow it ran."
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
This is hardly Onnowhere's most impressive project either. He's also well known for recreating Redstonia, a city from Telltale's Minecraft: Story Mode, inside of vanilla Minecraft. So he's ported a Minecraft city from a non-Minecraft game back into Minecraft. If you're interested in seeing if AlbertAI passes the Turing Test, you can download it here, and check out Onnowhere's YouTube channel for more on his other Minecraft projects.
With over 7 years of experience with in-depth feature reporting, Steven's mission is to chronicle the fascinating ways that games intersect our lives. Whether it's colossal in-game wars in an MMO, or long-haul truckers who turn to games to protect them from the loneliness of the open road, Steven tries to unearth PC gaming's greatest untold stories. His love of PC gaming started extremely early. Without money to spend, he spent an entire day watching the progress bar on a 25mb download of the Heroes of Might and Magic 2 demo that he then played for at least a hundred hours. It was a good demo.


