mindcraft-bots/mindcraft

Minecraft AI with LLMs+Mineflayer

What it solves

This project provides a framework to create autonomous AI agents that can play Minecraft. It enables LLMs to perform complex tasks in the game, such as gathering specific resources or following construction blueprints, by translating high-level goals into actionable in-game behavior.

How it works

It uses the Mineflayer library to connect an LLM to a Minecraft Java Edition client. You define "bot profiles" in JSON files that specify which LLM to use for different tasks—such as chatting, writing code for actions, interpreting visual data, or generating voice. The system can run tasks by processing these prompts and executing the necessary game commands, with support for both local models via Ollama and various cloud-based API providers.

Who it’s for

This is for developers and researchers interested in embodied AI, multi-agent systems, or automated gameplay. It is particularly useful for those exploring how LLMs can reason through physical-world tasks within a simulated environment.

Highlights

  • Supports a wide range of LLM providers including OpenAI, Anthropic, Google Gemini, DeepSeek, and local models via Ollama.
  • Allows modular configuration of different models for specific roles like vision, coding, and voice synthesis.
  • Includes a task-based system to automate specific objectives like resource collection.
  • Provides Docker support to help sandbox the execution of AI-generated code.
  • Built upon a research-backed framework for multi-agent embodied reasoning.

Related

  • Project
  • Project
  • Project
  • Project
  • Project