Windows-first local LLM agents for Minecraft, built around a deterministic Model Context Protocol (MCP), Agent-to-Agent (A2A) coordination, and vector memory.
This repository is an experimental engineering sandbox, not a polished end-user product. The goal is reproducible local agent experiments with a clear separation between the Minecraft-facing gateway and the Python orchestrator.
- runs a FastAPI orchestrator for MCP planning, memory, and A2A flows
- exposes a Node.js gateway layer for Minecraft-side messaging and future Mineflayer integration
- provides starter experiment scenarios for evaluating agent behavior
- keeps the stack local-first and inspectable for development and testing
The current focus is practical local experimentation:
- MCP-shaped agent context
- strict JSON action flow
- A2A coordination patterns
- vector memory / retrieval support
- reproducible Windows 11 setup
- Install Java 17, Node.js 18+, Python 3.11+, and Git.
- Clone the repository.
- Start the gateway:
cd bot-gateway
npm i
npm run dev- Start the orchestrator:
cd orchestrator
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
uvicorn app.main:app --reload --port 8000- Open http://localhost:8000/docs and verify
/health.
Primary docs:
- docs/SETUP_WINDOWS.md
- docs/API.md
- docs/MCP_SCHEMA.md
- docs/EXPERIMENTS.md
- docs/ARCHITECTURE.md
- docs/STATUS.md
High-level flow:
- The gateway handles Minecraft-facing communication and future bot integration.
- The orchestrator receives goals and context over HTTP.
- MCP structures the state passed into the planning loop.
- Memory and A2A components enrich decision-making.
- The system returns validated actions or guidance for the next step.
Repository layout:
bot-gateway/ Node.js gateway and Minecraft-facing entry point
orchestrator/ FastAPI app for MCP, memory, schemas, and A2A logic
docs/ setup, API, experiments, status, and architecture notes
paper/ optional research write-up assets
.agents/ ANR context, workflows, and guardrails
minecraft-llm-agents is an active prototype.
- the orchestrator and test suite are present
- the gateway is intentionally still a lighter-weight entry point
- documentation is improving, but this is still a builder-oriented repo
See docs/STATUS.md for the current project state.
This repository now includes a lightweight ANR-compatible context layer:
- AGENTS.md for repo-wide context
- .agents/context-index.md for navigation
- .agents/workflows/feature-development.md for execution flow
- .agents/guardrails/architecture-rules.md for structural constraints
The goal is simple: an agent should be able to enter the repo and understand how the system is organized before changing it.
mainis the stable release branchdevelopis the default integration branch- feature branches should branch from
developand merge back intodevelop - promotion from
developtomainhappens via reviewed pull request
MIT, see LICENSE.