ModsFinder

CraftAgent

by prskid1000

CraftAgent lets Minecraft NPCs read their surroundings and act on decisions made by a large language model, using Ollama, LM Studio or any OpenAI-compatible endpoint.

FabricClient-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.21.8

What it does

Each NPC receives context about nearby blocks, entities, its inventory and line of sight, then sends that information to a configured LLM. The model's reply can contain Minecraft commands, which the NPC executes through Brigadier, so the character can navigate, interact with the world and carry out simple tasks on its own.

Conversations are kept in a persistent history stored in SQLite, so an NPC can refer back to earlier exchanges. NPCs can also write to shared and private notebooks, and send mail to other players or characters. A built-in web dashboard shows NPC activity and refreshes at the configured LLM processing interval.

The mod is client-side only, so players install it and servers do not need it. It is published for Fabric only, with builds for 1.21.8, and its source code is released under the GNU Lesser General Public License v3.0 only, which makes it open source. Fabric API is needed to run it.

Key features

  1. AI-powered NPCs

    NPCs use a language model to interpret what they see and decide what to do next.

  2. Autonomous actions

    An NPC can execute Minecraft commands to move around and affect the world without manual input.

  3. Conversation memory

    Dialogue history is stored in SQLite and remains available between sessions.

  4. Shared and private notebooks

    NPCs record locations and plans in shared books visible to others, or in private books only they can read.

  5. Mail between characters

    NPCs can send messages to named recipients, including other players, through an in-game mail command.

Compatibility

Latest build for each game version and loader.

1.21.83.2.5
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Questions

Does CraftAgent need Fabric API?

Yes. Fabric API is required, and the mod is published for Fabric only, for 1.21.8.

Does a server need CraftAgent installed?

No. Only the player's game needs it, and servers run without it.

Which language model backends can CraftAgent use?

It works with Ollama, LM Studio and OpenAI-compatible endpoints, configured through the in-game settings.

What the author says

A Minecraft Fabric mod that brings intelligent AI-powered NPCs to your world. NPCs use Large Language Models (LLMs) to understand context, make decisions, and interact with players. Memory Actions: - /craftagent Steve sharedbook add "Iron Mine" "Iron mine located at coordinates 150, 64, -200" - /craftagent Steve…
prskid1000, on the Modrinth page

Official listing

Owner
prskid1000
Published
2026-01-04
Updated on Modrinth
2026-01-06
Facts verified
2026-10-15