Autonomous-pokerogue

From The Hei Canon

autonomous-pokerogue turns PokeRogue into an idle clicker driven by a VLM. Written by Hei (Hei).

Stack: Python + Anthropic API. Public repo. Super-alpha — expect things to break and the agent to get stuck.

Setup

git clone https://github.com/marksverdhei/autonomous-pokerogue.git
uv sync --dev

# Launch a Chromium with debug port open
brave-browser --remote-debugging-port=9222 --user-data-dir=/tmp/brave-profile

# Log in to pokerogue.net, start the game, navigate to the first battle
export ANTHROPIC_API_KEY=xxx
uv run main.py

The agent connects to the running browser over CDP, screenshots the game, and drives it by clicking through VLM-parsed game state.

Sources