Get the latest tech news

Show HN: LLM plays Pokémon (open sourced)


Contribute to adenta/fire_red_agent development by creating an account on GitHub.

Instead, I resorted to using OSA Script (AppleScript) to send keyboard events to the emulator, which meant the game had to be in focus. Since I wasn’t using direct memory extraction for text (as advised by PRET), I took screenshots at key points and processed them with OCR. I used OpenAI’s GPT-4o to process all the gathered information and make decisions.System prompts guided the AI to avoid repeated actions (e.g., trying to pick Charmander before meeting Professor Oak multiple times).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Pokémon

Pokémon

Photo of LLM

LLM

Related news:

News photo

Can I run this LLM?

News photo

Anthropic’s Claude AI is playing Pokémon on Twitch — slowly

News photo

Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMs [pdf]