How chsami/microbot works
Microbot is a RuneLite fork centered on an always-on plugin for learning, building, and running automation scripts. The principal workflow is a user driving a running client: the CLI and script tooling reach the client runtime, scripts use reusable helpers and queryable entity caches, and the RuneLite API exposes game state and actions. Party, Discord, and world lookup are additional client services. The README documents the Microbot subsystems, but their source was not sampled; those relationships are limited to its stated code map and capabilities.
Main entry points: microbot Automation scripts · api RuneLite API · util Reusable helpers · GameEngine.java Game engine API
Components 15
Client runtime
- Microbot plugin
runelite-client/src/main/java/net/runelite/client/plugins/microbot - Game engine API
runelite-api/src/main/java/net/runelite/api/GameEngine.java
Automation
- Microbot CLI
runelite-client/src/main/java/net/runelite/client/plugins/microbot - Automation scripts
runelite-client/src/main/java/net/runelite/client/plugins/microbot - Reusable helpers
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util - Agent tooling
runelite-client/src/main/java/net/runelite/client/plugins/microbot/agentserver
Game access
- Queryable caches
runelite-client/src/main/java/net/runelite/client/plugins/microbot/api - RuneLite API
runelite-api/src/main/java/net/runelite/api
Client services
- Party service
runelite-client/src/main/java/net/runelite/client/party/PartyService.java - Party server
- Discord service
runelite-client/src/main/java/net/runelite/client/discord/DiscordService.java - Discord RPC
- World service
runelite-client/src/main/java/net/runelite/client/game/WorldService.java - World API
Other components
- User
Connections 11
- User → Microbot CLI: drives client
- Microbot CLI → Agent tooling: controls runtime
- Microbot plugin → Automation scripts: runs
- Automation scripts → Reusable helpers: uses
- Automation scripts → Queryable caches: queries
- Automation scripts → RuneLite API: uses
- Reusable helpers → RuneLite API: uses
- Game engine API → RuneLite API: exposes runtime
- Party service → Party server: sends party data
- Discord service → Discord RPC: calls RPC
- World service → World API: fetches worlds