How to build an AI agent that can play RDR2 for hours?

Top-Sheepherder-4131 · reddit · 2026-11-26

A Reddit user asks how to build a game-playing agent that can autonomously play a full 3D game like Red Dead Redemption 2 for hours, arguing that Claude's screenshot-and-decide loop is far too slow.

The desired design: give the agent an API reference for the game (controls, actions, readable game state), then hand it a high-level goal such as "ride to Valentine, sell my loot, then hunt for an hour"; the agent writes its own script, handles interruptions and checks progress without calling a chatbot at every step.

They ask whether anyone has built this for a single-player game, whether to start from a mod/scripting framework that exposes game state or train a model on gameplay, and request relevant repos or papers — envisioning something like old-school RuneScape bots with an AI planner on top.

Original post →

More from coding & agent

coding & agent channel →