RuneBench
Test planning and tool use by having coding agents play RuneScape.
Overview
RuneBench uses the online game RuneScape as a long-horizon testbed for coding agents, checking how well they plan, explore and optimise inside a rich interactive world. Agents play by writing code rather than clicking, and the benchmark is designed to reward finding better strategies, not just grinding for longer. It was built by Max Bittker and collaborators on top of the rs-sdk automation library and the LostCity game engine.
What a task looks like
Each task runs in a Docker container with an emulated RuneScape server at 8x speed; the agent writes and runs TypeScript snippets through an MCP server to read game state and act, and can search a folder of markdown notes extracted from the game wiki. A typical task asks the agent to train one skill such as Woodcutting, Fishing or Mining as efficiently as possible for 15 or 30 minutes; gold tasks instead ask it to accumulate as many coins as possible from a given starting position.
How it’s scored
Skill tasks are scored on peak experience rate, the best XP per minute measured in any 15-second window, a change the authors made because total XP over a fixed window favoured simple grinding over discovering better methods. A verifier script reads the final game state to compute the peak rate or the gold total.
- Size
- 40 tasks: 16 skill-XP tasks at 15 minutes, 16 skill-XP tasks at 30 minutes, and 8 gold-accumulation tasks (4 starting conditions at 15 and 30 minutes).
- Access
- Public: the benchmark repository (MIT, per its README) generates all task directories and runs on the open-source Harbor framework; the underlying rs-sdk library is also public under MIT.
- Links
- Project pageCodeCode
Summarized by Stubbi from the public sources listed below. Stubbi has not run this benchmark.
Explore the original evidence
Explore the original evaluation, its methods, and reported findings.
Open evalCoverage
Game-world skill tasks through a TypeScript SDK and emulated server.
Methodology
Agents read game state, consult supplied documentation, and execute actions through code. Skill tasks reward peak experience gain in a 15-second window to encourage strategy discovery.