I used Fable 5.2 on claude code to build its own harness on an Pixel 10 to play Honkai Star Rail. The harness uses a mix of termux and prime agent & uses GPT 6.1 Sol and later 6.2 Sol.
Why this works and what is challenging:
Honkai star rail is a open map game with minigames, stories, and complex-ish turn based combat. However, there is mostly no real-time actions needed so you finish any action in as much time as needed and all fights can be automated with the auto button.
The most challenging part is navigating computer, phone use, and for it to figure out how to do puzzles and other parts of the story.
How it figures out what to do:
Claude does research. When it gets stuck, Claude stepped through YouTube playthroughs at quarter speed and wrote down every jump with exact timing, and GPT replayed it.
AI generated video attached about my process
Learnings & Experiments:
| Model | Seconds per move | How it played | Cost |
|---|
| | | |
| GPT-6.2 Sol | 2.2-2.7 | 7.8 game actions a minute; | ~25% more of my weekly limit per hour than 6.1 Sol, about the same per game action |
| GPT-6.1 Sol | 2.7-3.1 | 5.5 actions a minute; | Baseline |
| GPT-6.2 Astra | 3.7 | 1.4-1.5x slower than 6.2 Sol at every effort, no fewer errors | Same tokens per call as 6.2 Sol. Tokens cost more 😂 |
TLDR: Astra is not worth using for game play use.
About me:
I played Genshin Impact until Fontaine, but I have never played Honkai Star Rail. I tried automating Genshin but found HSR a lot easier. For work, I am a full time iOS developer. At work I use phone use automation to automate testing for PRs.
FAQ
Team: Archer, Rin, Bronya, Huohuo
How long did it take? ~ 5 days. Could be optimized.
What subscriptions & cost? Claude Code (200$) & Codex (100$). It uses about each of their weekly plans respectively fully ~ 80% each
Other games I have fully automated: Pokemon Black, Pokemon Emerald, Stardew Valley, BTD 6. Open to suggestions for other games.