I must say absolutely hilarious video. The "persona" of the dog is great. As someone who is generally pretty "keep your AI out of my art" this looks very fun to play. I can imagine this being cleverly integrated as a primary feature of a game (this must already be in the works). Ideally as a small model able to run locally alongside the game.
The moment where the dog is going on about "something foul in the air" as the player is attacked by a wolf ("F--- dude you could have warned me!") was great comedy.
I get it is fun to play for an hour or so then you inexorably encounter behaviors that are too complex to handle, e.g. you try to sneak in on an enemy but get spotted because the dog started talking or barking randomly, then suddenly wonder how much "it" actually gets it. You then start with less and less complex plans... until you realize that direct commands or shortcuts are more reliable.
I do think it is an interesting exploration but the jagged frontier makes it really challenging to know what will consistently work and what will not, to the point that I bet (maybe pessimistically) one will be gradually less daring with creative plan with their "companion" simply because they can't trust it.
I feel like that's the benefit to the creator having made this a dog (even if a demon-possessed dog). As intelligent as a dog can be, can we ever truly understand why they do the things they do?
The Uncanny Valley effect would be too big if a human companion randomly started talking to you while you were sneaking up on an enemy. But a dog? You'd be pissed off at it for a bit, and then forgive it because it's a dog.
So, this is what I have been thinking (and part of the reason why I want to "cook" it more before shipping). Since I have been building it for so long, I am not sure how much "overfit" it is on my data, the way I speak and the phrases I 'm using.
And of course the opposite too, how much the dog trained me to speak to it a certain way to maximize outcome success.
But then I thought, when people play games they are not using highly sophisticated vocabulary and there is probably lots of repetition since they are always under some form of multi-tasking stress (playing and replying/speaking). So maybe... maybe, the system can adjust itself. Use a big LLM offline to say "user said X, we did Y - was that good?" - then retrain itself.
The decomposer is basically a bunch of old-school embeddings/classifiers stitched together, it can train super fast and doesn't need tons of data. Could the thing calibrate itself to the user? Does it even need to? (because as I said I 'm a datapoint of 1 and I am not ready for the potentially huge stream of bug reports when I ship (add some perfectionism to the mix and you get the idea)).
Kinda in the same vein, been reading/listening to Dungeon Crawler Carl lately. One of the main characters is a tortoise shell cat that gains sentience. One of the more fun aspects in the early books is the main character Carl dealing with that cat being loud, not aware of her surroundings, and making it difficult to sneak around an RPG style dungeon.
Also the author really gets the "tortitude" right.
>The game runs on Windows, the audio processing and brain runs on my M4 MacBook. It could all run on Windows (provided there is dedicated ~12gb or more gpu ram for it)
I do wonder if this is an avenue for console gaming that might be practical in a few years; AI-centric hardware that might be too beefy or expensive for regular users, but can extend new or existing games. Kinda like the expansion paks of old.
unfortunate that the "ALE" design wasn't opensourced (couldn't find a link in their post) but I would be interested in learning more about the design, in particular what sort of data pipeline was necessary from skyrim to give this sort of action flexibility?
I will be open sourcing it soon :) my code is a bit dirty (the whole system is 3 pieces. The game adapter / a websocket bridge between game and brain / the brain itself) and it runs on 2 different (local) machines currently.
Ale is what makes this work locally, I felt a little conscious about it as I am not sure if it is a novel approach or somebody comes out and claims I rediscovered BERT or something (though ale runs at 1/10 the cost of BERT).
As soon as the AI progress 'slows down' a little bit and its a little bit more clear what makes sense of converting into a hardware model, there will be for sure something.
It either might be some neural engine like what Apple is doing and tensor units like what high end android phones already have or something dedicated.
Based on the current capacity issues around the globe, perhaps 1-5 years?
But we have for sure crossed a price point were you just might buy 10 ai credits and will be able to just play 100h without running ot of your ai credits. basic conversations etc. finetuned for a game, doesn't need a frontier model.
Very promising project! The latency is great and looks pretty polished for solo work.
> ALE is designed to be largely invariant to phrasing. You can say pick up, you can say grab, fetch, go get the damn sword you fool - it doesn't matter, it will still understand you
> It creates embeddings from the full text as well as its extracted structure
I get how you utilize embeddings, but most interesting part for me is how you decompose multiple commands? You decompose sentences before embedding?
This is the sort of thing that the GPT-Live model would excel at when it launches. I'm not sure you'd need the ALE model at all if they launch Live in the API with acceptable pricing as it solves the latency issues with voice entirely. It's an impressive piece of engineering that hasn't been discussed much yet, I guess because it's only a ChatGPT feature and not accessible to developers. The model can dispatch tools asynchronously while speaking which would be ideal for a game.
What you'd want is maybe some kind of Live model with voice warping so it can be given different Skyrim themed 'Nordic' voices, and then custom tools to interact with the game engine.
This is part of the reason I wanted to announce it even before I feel ready to ship... The frontier models have such crazy velocity (admirable) and moving so fast that I didn't want them to make an announcement and suddenly trivialize all the work I 've put into this, overnight.
The fun technical challenges (that can also act as any sort of weak moat) are being taken away one by one, on an almost weekly cadence now! :)
Hello, author here. I was intentionally a little vague about this because this is kind of the thing that makes the whole approach work.
An LLM predicts the next token. If you're trying to predict the next token in a mathematics competition, or while playing a deep strategy game, being a much larger and more capable model helps enormously. To predict that next token correctly, the model effectively needs to model a bunch of possible future states - even if that is a second order (unintended) effect, it is what is seems to be happening.
This is basically the Ilya (and Dario) argument that prediction, understanding, and compression are the same thing (deep rabbit hole) from a few years ago.
----
In my opinion; this is a beautiful idea, but videogames do not need most of that. Videogames (and games in general) shine when character behavior is predictable, and when NPCs are a little dumb (just a little).
We already have very good small roleplaying models — Qwen 3.5 4B/9B/30B-A3B. Nowhere near frontier models at general reasoning. But they can act and write in a very engaging way. Good at roleplaying but very weak at reasoning. They just need a little nudge at reasoning...
And that's the key. The player has already expressed their intent: attack that guy, go look over there, cover me, find the key that shines and is golden, etc. A constrained world, with a constrained set of actions. Instead of asking the model to reason over an enormous space of possible futures, we're mostly asking it to map: player intent + current world state → a small sequence of plausible actions.
As for the "dump context to an LLM". It's basically. "You are roleplaying as X - you experienced Y - you like/dislike (dispositions) Z, you remember Alpha, your journal says Delta. Player orders you to do Gamma. - "What do you respond and do?"
It kind of works (as you can see in the videos I posted). I am not going against the grain, big models are better, but do we need those models for everything?
What I don't understand is how are you passing the world state to the model?
Say for instance when you ask the dog to do an action when you launch an arrow upwards how is the LLM continuously tracking the state of the game to be able to respond?
This is a fantastic application of an LLM. What’s great is that the LLMisms fold neatly into “dumb but lovable sidekick”.
So even when it chokes or stumbles on a command, the kind of frustration the user expresses when correcting it feels natural and part of the game even.
Some variant of this idea has played in the back of my mind over the last few years. I'd love to play Skyrim, but where each character builds their own context for their history, their personality, their goals, and their interactions with you. The world would feel incredibly alive.
Great concept and presentation. How much knowledge about the world does the agent have? Does Skyrim accurately model what their in game character can actually see and hear?
>It creates embeddings from the full text as well as its extracted structure, then semantically combines and compares it with action prototypes. A separate classifier estimates whether the turn is a command, question, chat, clarification or complex request. Everything gets merged together.
Does this mean the prototypes and classifications need to follow what you can actually do in the game? Were they all hand-coded or generated somehow?
Nice demo, I'm always impressed by making these things low latency enough to be actually interactive. Were you inspired at all by the autonomous vtuber Neuro-sama recently getting some in-game integrations to allow her to play Skyrim on her own? (https://www.youtube.com/watch?v=3o7ORYqLrRw shows the highlights from the first stream.)
Yes, the dog has a few levers including a "boredom" counter that will trigger it to do things on its own (like roam around, eat something, chase something (eg a rabbit) if there's one around etc). All connected with its current state (Eg hungry = will probably prioritize eating but not guaranteed). Other things are mapped to game events. Deterministic in nature but its underlying values can evolve over time (both its default "homeostasis value" but also the curve of which it increases). You can think of it as letting an llm design a behavior graph, and then playing that behavior graph until it changes again.
Talking to it alleviates pressure so that mechanism doesn't fire much, but in the void-mode video on the website, at the very end, it chooses to chase down an elk on its own much to my surprise.
After play testing it I had to tone it down quite a bit as it caused continuity issues...
In one scenario the dog was hungry so he went and ate something that was owned (counts as a crime attributed to the player) so we ended up in jail. Being transported to jail fired a new location event and a switch from "exterior->interior" which the dog responded to by having the llm author something along the lines of "It's nice to be finally indoors, it was getting cold outside". Which made for a very funny moment but a frustrating gaming experience.
IMHO at least 2 reasons, the jagged frontier (you cant easily evaluate the capabilities of your companion, I expanded a bit on https://news.ycombinator.com/item?id=49419952 ) and probably riskier in a lot of story games the risk of spoilers if the model isn't sandboxed properly, which I don't think is trivial to do as you don't know the training set which probably includes games and books games might be based on.
It's expensive, early attempts didn't impress, and many gamers are hostile to the tech because it threatens the livelihood of game creators and impacts gaming hardware prices.
Who wants to read AI-generated articles and respond to AI-generated comments? Probably not many. For same reason gamers mostly don't want to chat with AI-backed NPCs. More is only better when it has meaning.
at the current token prices, far too expensive, but in medium/long term I think we will see a revolution in this field, the concepts are already there (and the expensive proofs of concept already work)
Because games are entertainment, but outputs generated by current AI are rage inducing and felt hostile, not entertaining. It just isn't past the "make it work" stage.
It did, look at the game Suck Up or a variety of Skyrim mods. Problem is gamers are hostile to any obvious trace of IA in their games. Also, consumer hardware is overall too weak to run a convincing llm model.
I'm especially interested in how this can be applied to the world of the game. I think that creates much more interesting results than NPCs who can hold dynamic conversation. Imagine an MMO where quests you complete actually shape the world (its landscape, structures and enemies). Then dynamic quests can be created based on the new world, creating a living loop.
LLMs have only been really good for a couple years. You can bet that the remaining AAA studios are working hard on figuring this out in current unreleased products.
One challenge I see is that to work well and stand above 'easy' implementations the game would need to provide a rich context for the AI to exist in and interact with. Skyrim is a richly detailed world with an engine that allows that level of interaction, especially as it builds upon earlier elder scrolls games. Then there's the factor of whether commercial studios with the capacity to make that world in the first place (which has been a major draw for players) will invest further budget into AI to add more value, and if they have options to see a return on that investment via the main purchase price or additional costs.
I must say absolutely hilarious video. The "persona" of the dog is great. As someone who is generally pretty "keep your AI out of my art" this looks very fun to play. I can imagine this being cleverly integrated as a primary feature of a game (this must already be in the works). Ideally as a small model able to run locally alongside the game.
The moment where the dog is going on about "something foul in the air" as the player is attacked by a wolf ("F--- dude you could have warned me!") was great comedy.
I get it is fun to play for an hour or so then you inexorably encounter behaviors that are too complex to handle, e.g. you try to sneak in on an enemy but get spotted because the dog started talking or barking randomly, then suddenly wonder how much "it" actually gets it. You then start with less and less complex plans... until you realize that direct commands or shortcuts are more reliable.
I do think it is an interesting exploration but the jagged frontier makes it really challenging to know what will consistently work and what will not, to the point that I bet (maybe pessimistically) one will be gradually less daring with creative plan with their "companion" simply because they can't trust it.
I feel like that's the benefit to the creator having made this a dog (even if a demon-possessed dog). As intelligent as a dog can be, can we ever truly understand why they do the things they do?
The Uncanny Valley effect would be too big if a human companion randomly started talking to you while you were sneaking up on an enemy. But a dog? You'd be pissed off at it for a bit, and then forgive it because it's a dog.
1 reply →
So, this is what I have been thinking (and part of the reason why I want to "cook" it more before shipping). Since I have been building it for so long, I am not sure how much "overfit" it is on my data, the way I speak and the phrases I 'm using.
And of course the opposite too, how much the dog trained me to speak to it a certain way to maximize outcome success.
But then I thought, when people play games they are not using highly sophisticated vocabulary and there is probably lots of repetition since they are always under some form of multi-tasking stress (playing and replying/speaking). So maybe... maybe, the system can adjust itself. Use a big LLM offline to say "user said X, we did Y - was that good?" - then retrain itself.
The decomposer is basically a bunch of old-school embeddings/classifiers stitched together, it can train super fast and doesn't need tons of data. Could the thing calibrate itself to the user? Does it even need to? (because as I said I 'm a datapoint of 1 and I am not ready for the potentially huge stream of bug reports when I ship (add some perfectionism to the mix and you get the idea)).
edit: typos
Kinda in the same vein, been reading/listening to Dungeon Crawler Carl lately. One of the main characters is a tortoise shell cat that gains sentience. One of the more fun aspects in the early books is the main character Carl dealing with that cat being loud, not aware of her surroundings, and making it difficult to sneak around an RPG style dungeon.
Also the author really gets the "tortitude" right.
Yeah makes sense this is what I said about AI and coding. No way it could do anything complex.
Now AI does all the coding for me, I couldn’t have been more wrong. You will be wrong too.
1 reply →
New mediums always absolutely knock the humanity organism for a bit
>The game runs on Windows, the audio processing and brain runs on my M4 MacBook. It could all run on Windows (provided there is dedicated ~12gb or more gpu ram for it)
I do wonder if this is an avenue for console gaming that might be practical in a few years; AI-centric hardware that might be too beefy or expensive for regular users, but can extend new or existing games. Kinda like the expansion paks of old.
unfortunate that the "ALE" design wasn't opensourced (couldn't find a link in their post) but I would be interested in learning more about the design, in particular what sort of data pipeline was necessary from skyrim to give this sort of action flexibility?
I will be open sourcing it soon :) my code is a bit dirty (the whole system is 3 pieces. The game adapter / a websocket bridge between game and brain / the brain itself) and it runs on 2 different (local) machines currently.
Ale is what makes this work locally, I felt a little conscious about it as I am not sure if it is a novel approach or somebody comes out and claims I rediscovered BERT or something (though ale runs at 1/10 the cost of BERT).
As soon as the AI progress 'slows down' a little bit and its a little bit more clear what makes sense of converting into a hardware model, there will be for sure something.
It either might be some neural engine like what Apple is doing and tensor units like what high end android phones already have or something dedicated.
Based on the current capacity issues around the globe, perhaps 1-5 years?
But we have for sure crossed a price point were you just might buy 10 ai credits and will be able to just play 100h without running ot of your ai credits. basic conversations etc. finetuned for a game, doesn't need a frontier model.
> I do wonder if this is an avenue for console gaming that might be practical in a few years;
If the AI Bubble bursts a little and the inflated prices for tech dwindle down to normal maybe, otherwise, it will be too expensive.
Or some other advancement that challenges the giants financially but incentivizes companies to build for local AI usage.
Very promising project! The latency is great and looks pretty polished for solo work.
> ALE is designed to be largely invariant to phrasing. You can say pick up, you can say grab, fetch, go get the damn sword you fool - it doesn't matter, it will still understand you > It creates embeddings from the full text as well as its extracted structure
I get how you utilize embeddings, but most interesting part for me is how you decompose multiple commands? You decompose sentences before embedding?
This is the sort of thing that the GPT-Live model would excel at when it launches. I'm not sure you'd need the ALE model at all if they launch Live in the API with acceptable pricing as it solves the latency issues with voice entirely. It's an impressive piece of engineering that hasn't been discussed much yet, I guess because it's only a ChatGPT feature and not accessible to developers. The model can dispatch tools asynchronously while speaking which would be ideal for a game.
What you'd want is maybe some kind of Live model with voice warping so it can be given different Skyrim themed 'Nordic' voices, and then custom tools to interact with the game engine.
This is part of the reason I wanted to announce it even before I feel ready to ship... The frontier models have such crazy velocity (admirable) and moving so fast that I didn't want them to make an announcement and suddenly trivialize all the work I 've put into this, overnight.
The fun technical challenges (that can also act as any sort of weak moat) are being taken away one by one, on an almost weekly cadence now! :)
I like the approach here. It’s cleverer than just “dump context to LLM”. I couldn’t quite figure out if it genuinely runs purely locally though.
If nothing else - this is how NPCs should work in games moving forward!
Hello, author here. I was intentionally a little vague about this because this is kind of the thing that makes the whole approach work.
An LLM predicts the next token. If you're trying to predict the next token in a mathematics competition, or while playing a deep strategy game, being a much larger and more capable model helps enormously. To predict that next token correctly, the model effectively needs to model a bunch of possible future states - even if that is a second order (unintended) effect, it is what is seems to be happening.
This is basically the Ilya (and Dario) argument that prediction, understanding, and compression are the same thing (deep rabbit hole) from a few years ago.
----
In my opinion; this is a beautiful idea, but videogames do not need most of that. Videogames (and games in general) shine when character behavior is predictable, and when NPCs are a little dumb (just a little).
We already have very good small roleplaying models — Qwen 3.5 4B/9B/30B-A3B. Nowhere near frontier models at general reasoning. But they can act and write in a very engaging way. Good at roleplaying but very weak at reasoning. They just need a little nudge at reasoning...
And that's the key. The player has already expressed their intent: attack that guy, go look over there, cover me, find the key that shines and is golden, etc. A constrained world, with a constrained set of actions. Instead of asking the model to reason over an enormous space of possible futures, we're mostly asking it to map: player intent + current world state → a small sequence of plausible actions.
As for the "dump context to an LLM". It's basically. "You are roleplaying as X - you experienced Y - you like/dislike (dispositions) Z, you remember Alpha, your journal says Delta. Player orders you to do Gamma. - "What do you respond and do?"
It kind of works (as you can see in the videos I posted). I am not going against the grain, big models are better, but do we need those models for everything?
What I don't understand is how are you passing the world state to the model?
Say for instance when you ask the dog to do an action when you launch an arrow upwards how is the LLM continuously tracking the state of the game to be able to respond?
1 reply →
I've been eagerly awaiting the LLM driven NPC revolution in gaming!
Love the concept of void mode. A companion that follows you across games, that's cool.
This is a fantastic application of an LLM. What’s great is that the LLMisms fold neatly into “dumb but lovable sidekick”.
So even when it chokes or stumbles on a command, the kind of frustration the user expresses when correcting it feels natural and part of the game even.
Wow, what a great demo video. And this is the worst this tech will ever be. Though maybe nobody will ever beat the dog's hilarious persona.
An 80% good enough solution would be to have it periodically say "Hey, you. You're finally awake."
Some variant of this idea has played in the back of my mind over the last few years. I'd love to play Skyrim, but where each character builds their own context for their history, their personality, their goals, and their interactions with you. The world would feel incredibly alive.
Great concept and presentation. How much knowledge about the world does the agent have? Does Skyrim accurately model what their in game character can actually see and hear?
>It creates embeddings from the full text as well as its extracted structure, then semantically combines and compares it with action prototypes. A separate classifier estimates whether the turn is a command, question, chat, clarification or complex request. Everything gets merged together.
Does this mean the prototypes and classifications need to follow what you can actually do in the game? Were they all hand-coded or generated somehow?
Nice demo, I'm always impressed by making these things low latency enough to be actually interactive. Were you inspired at all by the autonomous vtuber Neuro-sama recently getting some in-game integrations to allow her to play Skyrim on her own? (https://www.youtube.com/watch?v=3o7ORYqLrRw shows the highlights from the first stream.)
The voice reminds me of Marcus the worm from VRChat
https://www.youtube.com/watch?v=yAEMVVtnUqM
Wow that demo video is way better than expected. Well done
This is excellent, I really want to connect this with fallout community edition.
How is the personality evolution saved? Plain text?
Pretty neat but a talking dog is so weird, especially one that sounds like Stellan Skaarsgard
Would be better if he just barked
I imagine playing fallout with this and.. please keep at it!
Does it have any agency of its own, or is it entirely reliant on you commanding it?
> "Maybe it's because Varkos is a dog, and who doesn't like dogs"
Me
Yes, the dog has a few levers including a "boredom" counter that will trigger it to do things on its own (like roam around, eat something, chase something (eg a rabbit) if there's one around etc). All connected with its current state (Eg hungry = will probably prioritize eating but not guaranteed). Other things are mapped to game events. Deterministic in nature but its underlying values can evolve over time (both its default "homeostasis value" but also the curve of which it increases). You can think of it as letting an llm design a behavior graph, and then playing that behavior graph until it changes again.
Talking to it alleviates pressure so that mechanism doesn't fire much, but in the void-mode video on the website, at the very end, it chooses to chase down an elk on its own much to my surprise.
After play testing it I had to tone it down quite a bit as it caused continuity issues...
In one scenario the dog was hungry so he went and ate something that was owned (counts as a crime attributed to the player) so we ended up in jail. Being transported to jail fired a new location event and a switch from "exterior->interior" which the dog responded to by having the llm author something along the lines of "It's nice to be finally indoors, it was getting cold outside". Which made for a very funny moment but a frustrating gaming experience.
There are players in my D&D groups that act very similar to your bored dog companion.
Have you seen Mantella yet? https://art-from-the-machine.github.io/Mantella/
tl;dr: let's you talk to all NPCs via LLM. Last time I tried it, latency was too much for it to be enjoyable, your approach seems to be much faster.
awesome idea and implementation. feels like a game feature that you didn't know that you wanted.
I guess this means you can fus ro dah the LLM off a mountain, so there is that.
I expected slop, but this is really good! (both demo and write-up)
hahahaha that's awesome, good job man
Next up: A smart glasses companion that follows you around in the game known as life.
Ive seen something like this in sci fi films.
Dennou Coil had this exact same concept.
[dead]
[flagged]
[dead]
Video game seem like the perfect fit for llm use and I don't understand why it hasn't happened already.
IMHO at least 2 reasons, the jagged frontier (you cant easily evaluate the capabilities of your companion, I expanded a bit on https://news.ycombinator.com/item?id=49419952 ) and probably riskier in a lot of story games the risk of spoilers if the model isn't sandboxed properly, which I don't think is trivial to do as you don't know the training set which probably includes games and books games might be based on.
It's expensive, early attempts didn't impress, and many gamers are hostile to the tech because it threatens the livelihood of game creators and impacts gaming hardware prices.
It depends on if you want samey games or anything creative.
You could have complex realistic dialogue for innkeeper #28917 in the little hamlet of ass backwards, but:
One: do you really want that? There is such a thing as too much realism in a video game.
Two: do you really want all NPCs in all games to speak nigerian business english?
Reminder for 2: https://www.theguardian.com/technology/2024/apr/16/techscape...
It's a simple thing:
Who wants to read AI-generated articles and respond to AI-generated comments? Probably not many. For same reason gamers mostly don't want to chat with AI-backed NPCs. More is only better when it has meaning.
1 reply →
at the current token prices, far too expensive, but in medium/long term I think we will see a revolution in this field, the concepts are already there (and the expensive proofs of concept already work)
Because games are entertainment, but outputs generated by current AI are rage inducing and felt hostile, not entertaining. It just isn't past the "make it work" stage.
It did, look at the game Suck Up or a variety of Skyrim mods. Problem is gamers are hostile to any obvious trace of IA in their games. Also, consumer hardware is overall too weak to run a convincing llm model.
I'm especially interested in how this can be applied to the world of the game. I think that creates much more interesting results than NPCs who can hold dynamic conversation. Imagine an MMO where quests you complete actually shape the world (its landscape, structures and enemies). Then dynamic quests can be created based on the new world, creating a living loop.
LLMs have only been really good for a couple years. You can bet that the remaining AAA studios are working hard on figuring this out in current unreleased products.
One challenge I see is that to work well and stand above 'easy' implementations the game would need to provide a rich context for the AI to exist in and interact with. Skyrim is a richly detailed world with an engine that allows that level of interaction, especially as it builds upon earlier elder scrolls games. Then there's the factor of whether commercial studios with the capacity to make that world in the first place (which has been a major draw for players) will invest further budget into AI to add more value, and if they have options to see a return on that investment via the main purchase price or additional costs.
1 reply →
[flagged]