MaxBittker/rs-sdk

Runescape automation library, optimized for use by coding agents.

What it solves

This project provides a controlled, research-oriented environment for developing and testing autonomous agents. By using a game engine as a sandbox, it allows researchers to study goal-directed program synthesis, agent collaboration, and competitive behavior without the risks or constraints of real-world environments.

How it works

The project consists of a TypeScript SDK, a game server emulator (based on the LostCity engine), and a gateway that bridges the SDK with game clients. Agents interact with the game world through the SDK, which provides high-level methods for game actions. The system supports both interactive development via MCP (Model Context Protocol) and autonomous operation through standalone scripts that drive headless game clients.

Who it’s for

It is designed for AI researchers and developers interested in agentic workflows, reinforcement learning, or program synthesis who need a stable, repeatable environment to benchmark how different LLMs perform at complex, multi-step tasks.

Highlights

  • Research-Ready Sandbox: Includes accelerated XP curves and disabled anti-botting mechanics to focus on agent logic rather than game survival.
  • Multi-Agent Support: Facilitates research into agent-to-agent interaction, competition, and economic behavior.
  • Flexible Execution: Supports both interactive development via Claude Code/MCP and headless, large-scale bot fleet operations.
  • Benchmarking: Provides a structured environment to compare different LLM models on their ability to complete complex, goal-oriented tasks.

Related

  • Project
  • Project
  • Project
  • Project
  • Project