Hacker News

Best stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Dutch governments builds alternative for Microsoft based on NixOS (dawo.community)
    575comments
  2. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    433comments
  3. Breaking Up with Google Play: Why Conversations Is Now Free (gultsch.de)
    227comments
  4. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    139comments
  5. Plan mode is dead (aymannadeem.com)
    457comments
  6. U.S. appeals court upholds designation of Anthropic as supply chain risk (cnbc.com)
    845comments
  7. Opus 5.5 is good at explainer videos (launchvideo.io)
    220comments
  8. Platform-independent SIMD in Go (go.dev)
    146comments
  9. Jury finds Facebook liable for deceiving users in Cambridge Analytica case (cbsnews.com)
    96comments
  10. I'm the mom in that viral Giants clip. Let me tell you about my husband (themomoftheyear.substack.com)
    149comments
  11. Factorio that you can touch (factorio.com)
    123comments
  12. Git-bug: Distributed, offline-first bug tracker embedded in Git (github.com/git-bug)
    108comments
  13. We're gonna need a lot more mathematicians (terrytao.wordpress.com)
    432comments
  14. What About Rails? (jardo.dev)
    220comments
  15. Fifteen years later, the Apple Cards origin story (lexontech.org)
    66comments
  16. California is chasing wealth that has feet (landeconomics.org)
    845comments
  17. What even is an OS now? (sockpuppet.org)
    430comments
  18. Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini (nyaa.sh)
    120comments
  19. First Principles Thinking (sunilsadasivan.com)
    127comments
  20. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    215comments
  21. Ink and Switch interactive homepage (inkandswitch.com)
    28comments
  22. Goodbye Google (ocallahan.org)
    318comments
  23. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    179comments
  24. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    108comments
  25. How we learned to stop worrying and love campus surveillance (fnl.mit.edu)
    137comments
  26. PipePipe: NewPipe hard fork implementing SponsorBlock (github.com/infinityloop1308)
    123comments
  27. One Piece of Flock Camera Data Put This Innocent Woman in Jail for 13 Days (jezebel.com)
    131comments
  28. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    240comments
  29. Show HN: Koi.rest – watch some fish and regain your balance (koi.rest)
    60comments
  30. The Mafia may be keeping fentanyl out of Italy (economist.com)
    266comments

Show HN: Jev Plays Pokémon Red

249 pointsby 1d agojev-pokemon.vercel.app
108 comments
Hey HN! Wanted to share a fun project I've been hacking on. Given Jev can make decisions really fast (but not fast enough to play Doom yet sadly), I wanted to try and push it to play a more complex game than Tetris. So I went with Pokémon.

I've spent endless hours playing this game as a child so building this was a ton of fun.

I open sourced everything in case you want to hack on it yourself here: https://github.com/christianmat/jev-pokemon

The game is being streamed live including the tokens and cost - hopefully we get all the badges and don't get stuck in a cave :)

1d agoHN ↗

That's actually fun to watch. Did you experiment with nicknaming before you turned it off? I'd be a little curious to see how it behaves.

1d agoHN ↗

Jev can't come up with original text, but I did consider giving it a list of hilarious names.

1d agoHN ↗

Sure it can, just ask it for next char or "done" in a loop

1d agoHN ↗

I just took your advice and added it to the list of Jev decisions. Watch it name its next Pokemon!

1d agoHN ↗

with such a fat harness, this is more like watching a walk thru play the game.

1d agoHN ↗

Yeah I would have expected it to only decide which button to press, not something abstract like the choice of "go east to lavender town" for the goal of "in lavender town, climb the pokemon tower"

23h agoHN ↗

That was how I first implemented it. Jev sadly never left Pallet Town.

3h agoHN ↗

Fair point, but I’d challenge anyone to build an ai or hard coded engine that, even following a walkthrough, completes the entire game for under $2 in tokens

1d agoHN ↗

Looking at the diagram in the gh repo, it looks like this is entirely jev. Are there any examples of people having a big model like Fable handle high level goals?

1d agoHN ↗

Hm wondering what a first pass optimal setup might be - jev for overworld navigation, escalate to sonnet for easy battles, opus for medium difficulty battles, and fable for gym bosses could probably have jev also manage all the escalation / de-escalation to different models.

1d agoHN ↗

I'm not sure if you're asking about whether using Fable makes playing the game possible or if you're just curious about Jev + LLM interactions.

However, https://x.com/TynanSylvester/status/2096965749369720970 Astra was able to beat RimWorld. So LLMs are definitely able to drive these sorts of games to completion with their current abilities.

1d agoHN ↗

This is kinda chill to have in the background. I wish there were livestreams showing live reasoning of top models which are currently trying to solve cancer or whatever. Imagine the pogs in chat when it does.

1d agoHN ↗

People need to be live streaming their AI more!

1d agoHN ↗

Actually, yes, that would be at least interesting

22h agoHN ↗

then it would cost human lives, no more fun i made this thing with no real effort vibes

1d agoHN ↗

watched it stuck at rocket hideout for 10 mins.... let me check 1hr later to see if it can find a way out

1d agoHN ↗

It’s currently stuck at an elevator and deciding to teach Pokemon various TMs and HMs instead of progressing… pretty hilarious!

1d agoHN ↗

but not fast enough to play Doom yet sadly

Did I miss something? I thought one of the demo videos was it doing pretty decent at the first level of Doom?

1d agoHN ↗

In my experience it was too slow to do an FPS with 30 ticks per second reliably. It gets killed too fast.

1d agoHN ↗

Is Frigade going to use Jev to do object detection?

1d agoHN ↗

Nice. When I saw your connection to Frigade, I knew there was a connection haha

1d agoHN ↗

Considering it just made Charizard forget its only fire-type move "Ember" to learn "Counter", I note no signs of intelligence.

1d agoHN ↗

This is so interesting to watch. For a couple minutes I was in awe of how quick and cheap it was. Then I saw just how bad the decision are and how it would get stuck in strange loops of going in and out of the same door to no end.

This seems like a technology heading in the right direction but not quiet there yet. Excited for what they are cooking up but probably won't start building around it yet.

1d agoHN ↗

Like others have mentioned in this post, I think a mix of models like Jev for simple stuff + a smarter reasoning model for more strategic thinking is the optimal solution. This experiment however is purely Jev. Which sometimes can be kinda dumb.

17h agoHN ↗

Well in a lot of ways this demo actually is a mix of jev for simple stuff + a very intelligent harness to fill in the rest. Pay attention to the "jev counter" on when api calls actually happen and the kinds of decisions its making. Its very rarely in a tight loop, and when it is (eg in an item menu) it tends to randomly walk through options.

Its very cool, but the harness is doing a _ton_ of heavy lifting.

7h agoHN ↗

Oh I want to be clear, I don't want my post to come off as negative. I really do mean things are headed the right direction and I think this harness is super cool. So don't take it that way and thank you for bringing something cool into this world.

1d agoHN ↗

This entire conversation around Jev seems weird to me. Like... we started from neural nets that could do basic decision making and classifications pretty well, then trained larger and larger language models to get to where we are now. Now suddenly everyone is going crazy because someone trained a smaller model that is adequate at making decisions? We already went through the "look this AI can play pokemon terribly" phase like a decade ago.

1d agoHN ↗

Making decisions quickly, cheaply and without having to train your own model.

1d agoHN ↗

Math.random can make poor decisions quickly and cheaply

23h agoHN ↗

Benchmark it against jev and you'll have your answer.

22h agoHN ↗

I mean,

get stuck in strange loops of going in and out of the same door to no end

Math.random is statistically unlikely to do this.

23h agoHN ↗

A pre-trained universal classifier that can replace specifically-trained ones would have been considered just as much science fiction in the 2010's as the capabilities of modern LLMs. I'm not sure Jev is actually there yet, but at least it sounds theoretically doable today.

That being said, one thing having been unrealistic 10 years ago and just about possible today doesn't mean that it's going to change the world the same way another technically related, previously-impossible thing did. The Jev hype gives me a bit of the "you're still early to crypto" vibes of some later altcoins. I really like the idea, I think it's going to open up possibilities for using classifiers where we wouldn't or couldn't have trained one before. I'm crossing my fingers for an open weights version to drop. But it's still just a classifier, people have built similar things before Jev, the one thing that really stands out about it is their ability to generate hype.

22h agoHN ↗

but at least it sounds theoretically doable today

why

22h agoHN ↗

We have a bad universal classifier now (via Jev). 0->1, one might say.

A bad universal classifier does suggest a good one later. And that is exactly what I would call "theoretically doable"

That said, I don't think that Jev is a magic breakthrough or anything. I think it is just a particularly good narrative with an easy way to try it out.

19h agoHN ↗

Jev is interesting in that it's much cheaper and faster than a frontier LLM.

But I've seen nothing to indicate that the upper bound on classification tasks of a Jev-like model can exceed a frontier LLM with reasoning tokens. That seems nearly impossible even in principle (since Jev-style models are still based on LLM pretraining).

So while they're definitely on the Pareto frontier, which is valuable, they're at the "cheap" end of the spectrum more than the "good" end and I don't expect that to change.

21h agoHN ↗

LLMs are like lossy compression of ~all of written text ever produced, with useful recall. To the extent that the corpus contains labelled examples of the given classification task, it's not unreasonable to think that we'll be able to build a decoder for that, just like we already have a useful decoder for next-token prediction. Extend to image classification the same way we already have multimodal LLMs.

6h agoHN ↗

A pre-trained universal classifier that can replace specifically-trained ones would have been considered just as much science fiction in the 2010's as the capabilities of modern LLMs. I'm not sure Jev is actually there yet, but at least it sounds theoretically doable today.

That's the point. It can't. And it's not even close.

22h agoHN ↗

It is impressive, but all the hype and fake demos are selling it as a model that is as smart as frontier reasoning LLMs in the decisions it makes yet much cheaper and much faster, which is not true.

21h agoHN ↗

For those curious how it works, it’s essentially a script that plays the game but uses jev as a source of rng to make it stochastic

14h agoHN ↗

Yeah, there's a lot hard-coded into the typescript files that make this much less impressive than the other "AI plays" versions that have come and gone that play with less help. A Claude one that only used screenshots would always get stuck in the rocket hideout...

15h agoHN ↗

For the record I did not mean to say that about your work, nice job.

22h agoHN ↗

I think that misses the point of Jev being ridiculously efficient while maintaining adequate intelligence for automation tasks. We have to train our minds to filter out branding and marketing.

22h agoHN ↗

For what it does, it classifies, orchestrates, operates and delegates tasks exceedingly well for its size and weight. It's ridiculously cheap and efficient, but if you can only see progress in terms of raw cognitive power then you'll surely miss how interesting this is.

22h agoHN ↗

The cheap, fast and smart-enough LLM space has been wildly neglected. Jev is one of the few players truly targeting that space. And for a lot of people it is the first time they are asking "what could I build if llms were interaction-speed fast?". The answers are cool, the problem is that Jev is not, I think, smart-enough yet to have that many applications, but it's smart enough that you can start to see what they will look like.

18h agoHN ↗

Performance and efficiency have been neglected as everyone threw every available GPU and trillions of dollars trying (and failing) to create AGI. Though the results have been impressive.

But good enough for pennies in an instant is very useful.

16h agoHN ↗

Yea but this model wasn’t trained to play Pokémon but it can. It’s general.

6h agoHN ↗

So is a random number generator. That doesn't mean it can play Pokemon.

13h agoHN ↗

This happens all the time in tech. A few years ago everybody got excited about static websites and server-side rendering as if we hadn't been doing that with PHP long ago.

11h agoHN ↗

The difference is that you don't need training here; The decision graphs can be built on the fly by an LLM and contain instructions in plain language.

The magic moment for me from the Jev release was not that there was some system playing doom: Rather it was the moment, they just changed a part of the prompt to "don't shoot, just dodge" and the behavior changed immediately.

This means you can have a system with fast decision-making but still interact with it via language.

23h agoHN ↗

The exact message I sent my friend this morning:

the most interesting thing about this jev stuff

is that people are seemingly like

completely disinterested in how smart it actually is

I haven't even heard it mentioned a single time how it actually compares to other LLMs coming up with their own classifications. Just: it's fast and cheap

After watching a few minutes of this it makes me think that maybe we should be a little more interested in how smart it is.

22h agoHN ↗

There is a lot of room for a lot of different models. For many use cases, intelligence beats out all.

For me in my day job, having extremely fast low quality decision makers over noisy inputs is very valuable. I work in security and having something that can help triage alerts, classify items and group things together is extremely valuable. It doesn't need to be perfect. Just being able to take a set of inputs from deterministic tooling and to be make general priority classifications goes a long way on helping humans look at the most important items first.

16h agoHN ↗

Why not spend a few tokens or so on making a frontier LLM build the classifier from scratch? Then you also know exactly what the classifier is capable of, and whether it’s easily learnable/informative data.

Why would you be confident in feeding garbage to a “cheap and fast” classifier with unknown domain-specific performance?

I know we kind assume omniscience for frontier models, but at this point the evidence is kind of out there.

21h agoHN ↗

They know it's not. The company actually has or had public statements that they didn't like public benchmarks for comparison.

My main wonder is the difference between it and having a small llm no thinking output a single number only as a choice. Isn't that nearly the same here?

20h agoHN ↗

Because it's not that smart especially when you compare it to other LLMs. The top LLMs have completely change the baseline of being smart.

4h agoHN ↗

You gotta admit that turning "our model is very dumb and can only make simple decisions" into "System One Model" is a pretty clever marketing move.

22h agoHN ↗

Jev is for single shot classification, not multi-step RL environments with delayed reward and explore/exploit. My guess is it would go through the door with high confidence every time unless you change the input to add the history.

22h agoHN ↗

This runs entirely on Jev as the only AI with a typescript harness that feeds it selective context.

13h agoHN ↗

I think the people behind jev made their intended use clear by labeling as "system one" - so they anticipate that there's a slower "system two" mediating jev

9h agoHN ↗

feels like pre-LLM AI playing a video game but more expensive

1d agoHN ↗

What's not clear to me on the video is whether jev is doing the button presses for controlling the character to move around.

The "Jev calls" counter only seems to increment at junction points like battles, conversation prompts, menus etc.

Is something else moving the character around?

1d agoHN ↗

I wish jev took in images so we could do this generically for any game, without memhacks. I'm sure that's coming.

You could front this with an image -> text model but that would be much lower quality vs latency, and the whole point of doing it with a decision model is remove the latency.

Games are a really interesting testing ground for robotics; if we can solve game playing (incl 3d) we could embody "system one" intelligence into robots that have something emulating general reflexes without needing to fine tune.

23h agoHN ↗

Agreed this would be super cool and I do see that coming in the future. But Jev-level latency just isn't there yet with full images.

20h agoHN ↗

We just did exactly this - added TypeSafe-compatible API (incl. websocket support) for various VLMs. Latency right now is <250ms, but will be able to get it to <150ms (p95).

Take a look at a snake demo with streaming image inputs: https://x.com/spillai/status/2103630735425089957

22h agoHN ↗

Great work!

Super cool to see it do the whole game. I spent my fable budget building something similar this week but only drove it to Brock. I like the "current focus" framing too.

22h agoHN ↗

Thank you! And interesting data point on Fable burning out on tokens so early.

21h agoHN ↗

Cool project, comes with a little too much guidance in the harness though IMO (pathfinding, textual milestones etc). (The author is very upfront about this in their README though)

I think if it was combined with a regular vLLM it could be really interesting, especially watching the reasoning logs.

Bonus points if it was one of the latest open models that somehow had all prior training knowledge of Pokemon abliterated so it was reasoning as an intelligent persona that had no knowledge of even the concept of Pokemon.

13h agoHN ↗

I also tried to create a “Jev plays Pokémon” but with minimal additional context outside a move history and what is available in memory from the emulator, so no pathfinder, predetermined game path, etc. I can safely say that this experiment failed however, and Jev was not able to even get to Professor Oak’s lab to get a starter.

Props to OP for getting a working version, but it does not seem that this model is capable enough to play Pokémon at this point in time.

3h agoHN ↗

Thank you. What I realized is that Jev is incredibly powerful for the decision making part of it when presented with a scenario that gives it a little context. It looks like we’re gonna be able to beat this game for under $2 of tokens. This is what blows my mind

17h agoHN ↗

Ai pokemon red speed run chart seems like a cool benchmark

20h agoHN ↗

The decisions are quick, but look good as random w/ tons of back and forth. Are you at least feeding back some of its previous decisions on to state?

57m agoHN ↗

Only watched for a few minutes, but it did seem to backtrack a lot.

20h agoHN ↗

The choices Jev has here feel very railroady, it seems like something very significantly dumber could beat the game with these options.

18h agoHN ↗

I challenge you to fork the repo and solve it faster using less tokens/cost than Jev :)

13h agoHN ↗

I think “significantly dumber” might include traditional RL, and thus no tokens at all

19h agoHN ↗

He confirms what I long suspected, all you need is to cheese Charizard and flamethrower

18h agoHN ↗

Pretty awesome! Just curious are you vibe coding this?

17h agoHN ↗

i need to come up with something more creative and interesting than video games as benchmarks

14h agoHN ↗

Struggles with loops show complexity isn't fully mastered yet.

10h agoHN ↗

Jev is dumb a rock, so it's basically just a random selection of a smart model's suggested plans?

8h agoHN ↗

I've been watching GPT_Plays_Games on twitch and with Astra now it can beat pretty much all of them with very few mistakes, with vision only. One downside is that when pathfinding it can only plan high level paths, wait for result, then try again if it fails. Its a ~10-30 second loop.

Has anyone tried a combined LLM + Jev? So the LLM directs the high level goal ("reach the door of the pokemon center while avoiding NPCs") then allow it to instruct Jev to do the actual movements? That seems like a good balance between the high-level, slow planning of the LLM to the fast but limited Jev. That kind of mirrors how humans work too. The harness could even allow Jev to delegate back to the LLM when it doesn't have a confident answer.

Its almost like when humans drive, we kind of let our subconscious take over once we know where to go. But if we see something unexpected in the road, we can go back to a conscious planning mode to decide what to do.

1. https://www.twitch.tv/gpt_plays_games

6h agoHN ↗

Where does the "goal" come from? Is it just known based on different positions in the game? Otherwise it seems like it would require text generation.

3h agoHN ↗

I wrote down a series of 33 high level goals + some sub goals for completing the game

1h agoHN ↗

I'm watching this. After 6 hours it managed to solve the rock boulder puzzle and now it's trying to break the Elite Four wall with its face. I'm no pokemon expert, but I'd say that no way in hell it beats them with this team composition. It has to take a step back, re-compose or at least re-train for overall higher levels. Will see if it manages to do it, my expectations are low.

1h agoHN ↗

It has the option to go back and level up its pokemons + switch it up. Hopefully it gets the same idea as you soon!

1h agoHN ↗

It's quite a long term plan it has to make:

- establish a composition

- train the selected composition to an appropriate level

- ration PPs through 5 fights

- ration items through 5 fights + globally (you can run out of money)

- maybe even switch the order of pokemon on the list? Poor Graveler

I'm not sure it can follow-through on this. Would be funny if it had to re-do the rock boulder puzzle. Guess I'll keep watching!

1h agoHN ↗

It has continued to surprise me throughout all of this so hopefully it will again

1h agoHN ↗

it's a fantastic demo and promo for the product though. Great idea, well executed, I'm genuinely curious on how this will go.

1h agoHN ↗

It got to Lance. It's Charizard is pretty strong. If it would just HEAL between fights I think it could do it.

I predict it will keep trying and failing without changing strategy until the team is so overleveled that brute force works.

1h agoHN ↗

yea, I saw it.

Unfortunately, the only usable move is flamethrower with 15 PPs that will be exhausted.

Remember, if it starts using items, it can run out of money. And what then?

But yes, brute force might prevail in the end. Let's say it started elite four at 13k jev calls or 1.3 USD. I'd call it a "loss" if it crosses the 2 USD threshold. It's still quite cheap though.

22m agoHN ↗

That's probably correct. Blue is going to be another wall as well, especially the blastoise since the team leans so heavily on charizard and graveler

8m agoHN ↗

The next version I make should take advice like this from the chat

26m agoHN ↗

That team is going to take some time to beat the elite four