Minecraft 26.3 · Fabric · server-side
An agent that plays the game,
not the screen.
AIBrain spawns a real ServerPlayer and gives a language model thirty tools. It reads block positions instead of pixels and acts through game methods instead of keystrokes, one tick at a time.
- Tools
- 30
- Java
- 25
- Client mods
- none
Capabilities
Everything a player does, expressed as a tool.
The model chooses the intent. The mod owns the mechanics: block maths, recipe matching, collision checks, timeouts.
How a task moves
Natural language task from chat or the console.
OpenAI-compatible LLM picks a tool call. Async, never blocks the tick.
Deterministic Java on the server thread: path, mine, craft, build.
A real ServerPlayer changes the real level. The result is read back.
Evidence
Checks that read the world back.
No test reports success from the agent's own sentence. Blocks are queried, items counted, entities listed.
| Scenario | Checks | What was proven |
|---|---|---|
| spawn / selftest | 7 / 7 | Player in /list, block placed, mined with the right tool, drop collected, movement measured |
| pathfinding + mining | 6 / 6 | Arrival within 1.4 blocks, block gone in the world, dirt in the inventory |
| build from language | 5 / 5 | Three planks placed at exact coordinates, checked by RCON |
| crafting chain | 3 / 3 | Planks then crafting table, placed and found in the world |
| chest round-trip | 4 / 4 | Deposit and withdraw, chest contents counted via NBT |
| combat | 3 / 3 | Summoned zombie killed, entity query empty afterwards |
| wiki research | 4 / 4 | Recipe fetched from minecraft.wiki, table crafted, chest built and placed |
The tool surface
30 toolsObservation
- get_state—
Position, health, food, held item, inventory, nearby entities
- scan_blocksblock?, radius, limit
Find blocks by id or tag, nearest first; histogram without filter
- inventory—
Carried items with counts and the selected slot
- find_entitiestype?, radius
Entity positions, distance and tamed state
- list_mods—
Loaded Fabric mods with id and version
Movement
- move_tox, y, z
A* path to a block position, 128-block limit, stuck detection
World
- mine_blockx, y, z
Break one exact block with the best tool and collect the drop
- mine_nearestblock, count, radius
Mine N blocks of a type, nearest first, collecting drops
- place_blockx, y, z, item
Place a block item against a neighbouring solid face
- build_boxx1..z2, block, hollow
Floor, walls or roof between two corners, bottom-up, verified
- use_blockx, y, z
Right-click doors, buttons, levers, tables, mod machines
- attacktarget?, count
Melee on the vanilla cooldown until N targets are down
- containerx, y, z, action, item?, count?
Deposit or withdraw items from a chest or barrel
- collect_itemsradius
Walk to nearby drops and pick them up
- interact_entityentity, item?
Feed, tame, shear or breed; reports tamed and owner
Items
- craftitem, count
Real recipes, shape-checked, 3x3 needs a crafting table
- ensure_itemitem, count
Obtain N via inventory, block source or mob drop
- eat—
Eat food until hunger is restored
- equipitem
Move an item into the main hand
- dropitem, count
Drop items at the bot's feet
Research
- web_searchquery
Search the web, returns readable text
- fetch_urlurl, maxChars?
Fetch a page as plain text, allowlisted and cached
- github_filerepo, path, ref?
Read raw source from a GitHub repository
Learning
- save_skillname, when_to_use, steps
Store a reusable procedure that future prompts receive
- list_skills—
List stored skills with success counters
- recall_skillsquery
Find skills by keyword overlap
- rememberkey, value
Store a durable fact
- recallquery, limit?
Look up stored facts
Control
- chatmessage
Say something in public chat as the bot
- finishsummary
End the task with a verified summary
Run a task against your own server and watch the trace.
The console connects over RCON, so the mod needs no extra port and no client install.