logoalt Hacker News

I built a low-latency AI companion that plays Skyrim with me

159 pointsby panteliskyesterday at 11:18 PM30 commentsview on HN

Comments

usernomdeguerretoday at 4:28 AM

>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?

show 1 reply
seabombstoday at 4:17 AM

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.

show 1 reply
Xx_crazy420_xXtoday at 9:17 AM

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?

voidUpdatetoday at 9:45 AM

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

mike_hearntoday at 8:28 AM

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.

rao-vtoday at 3:55 AM

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!

show 1 reply
oscarmcdougalltoday at 4:13 AM

Love the concept of void mode. A companion that follows you across games, that's cool.

toilettoday at 8:31 AM

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?

Havoctoday at 6:45 AM

Wow that demo video is way better than expected. Well done

big_dave212today at 8:44 AM

awesome idea and implementation. feels like a game feature that you didn't know that you wanted.

Evidlotoday at 6:12 AM

The voice reminds me of Marcus the worm from VRChat

https://www.youtube.com/watch?v=yAEMVVtnUqM

panki27today at 6:48 AM

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.

walrus01today at 5:53 AM

I guess this means you can fus ro dah the LLM off a mountain, so there is that.

mihautoday at 8:25 AM

I expected slop, but this is really good! (both demo and write-up)

aussieguy1234today at 6:49 AM

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.

show 1 reply
nicedaylucastoday at 9:04 AM

[flagged]

Hilliard_Ohioootoday at 3:38 AM

Video game seem like the perfect fit for llm use and I don't understand why it hasn't happened already.

show 2 replies