AIBrainv0.1

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
agent trace
deepseek-chat · 40 steps
get_statepos 0 -60 0 · hp 20oriented
craftoak_planks ×6464 planks from 16 logs
build_boxx 30..34 · y −60placed 25 · floor
build_boxx 30..34 · y −59..−58placed 46 · walls
build_boxx 30..34 · y −57placed 23 · roof
attackskeleton ×4no target within 24 · adapt
find_entitieswolf · r 3236 −60 32 · distance 7.4
one task, verified stage by stage finish
30
tools
no vision, no keystrokes
26.3
Minecraft
Java 25 · Fabric
32
live assertions
7 scenarios, real server
0
mocks
every check read from the world

Capabilities

Everything a player does, expressed as a tool.

move_toA* over the block grid, 128 blocks per call, stuck detection.
mine_nearestFinds the nearest blocks, mines with the best tool, collects drops.
craftReal recipe manager, shape-checked; 3x3 needs a crafting table in reach.
build_boxFloors, walls and roofs bottom-up, nearest block first, verified.
containerChest deposit and withdraw with item filters and merge rules.
attackMelee on the vanilla cooldown, with real knockback and durability.
fetch_urlMinecraft wiki, mod wikis and GitHub source, cached and allowlisted.
save_skillWrites reusable procedures that later prompts actually receive.

How a task moves

01
Prompt

Natural language task from chat or the console.

02
Model

OpenAI-compatible LLM picks a tool call. Async, never blocks the tick.

03
Tool

Deterministic Java on the server thread: path, mine, craft, build.

04
World

A real ServerPlayer changes the real level. The result is read back.

Evidence

Checks that read the world back.

ScenarioChecksWhat was proven
spawn / selftest7 / 7Player in /list, block placed, mined with the right tool, drop collected, movement measured
pathfinding + mining6 / 6Arrival within 1.4 blocks, block gone in the world, dirt in the inventory
build from language5 / 5Three planks placed at exact coordinates, checked by RCON
crafting chain3 / 3Planks then crafting table, placed and found in the world
chest round-trip4 / 4Deposit and withdraw, chest contents counted via NBT
combat3 / 3Summoned zombie killed, entity query empty afterwards
wiki research4 / 4Recipe fetched from minecraft.wiki, table crafted, chest built and placed

The tool surface

30 tools

Observation

  • 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

Next

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.

Open console