whereismyai
Minecraft Agent Harness
Minecraft Agent Harness is an open source framework that runs language model agents in Minecraft using Mineflayer tools and shell sandboxes.
Minecraft Agent Harness connects language models to Minecraft servers to play the game autonomously. It uses Mineflayer so agents can walk, mine, craft, build, fight, and chat like regular players. Users can configure Claude, GPT, Gemini, OpenRouter, or custom endpoints using the OpenAI Responses API. Each agent gets a persistent session that survives restarts and a dedicated shell sandbox via Docker, E2B, or a local folder. Teams are configurable through a single JSON file to enable direct messages and shared environments.
Minecraft Agent Harness at a glance
Key features
- Run language model agents in Minecraft
- Support Claude, GPT, Gemini, and OpenRouter models
- Maintain persistent sessions across restarts
- Provide shell sandboxes via Docker, E2B, or local folders
- Configure multi-agent teams from a single JSON file
- Use Mineflayer tools for game interaction
Use it for
- Play Minecraft using language model agents
- Run survival servers with multiple agents
- Execute Bed Wars matches with AI teams
Alternatives to Minecraft Agent Harness
- HarnessRouter — One API to manage agent runtimes, sandboxes, and execution lifecycles.
- Sandbase Harness — It keeps agent infrastructure local, secure, and fully auditable.
- Exo Harness — Separates trusted state and security from agent logic for safe execution.
- Agentcraft — Manage AI coding agents through a visual Minecraft studio with safe git worktrees.
- Harness2 — It recursively refines agent execution structures using parallel and sequential search.
- Browser Harness — Agents edit their own helper scripts mid-task to improve task completion.
- Harness Meta-Skill — Generates specialized agent teams and skills for Claude Code from a single prompt.
- Harness Engineering — Improves agent output by shaping the environment with context and tools.
- LongHorizon Harness — Maintains durable task state and executes reliable, verifiable workflows over many hours.
- Phone Harness — Connects Claude Code or Codex to real iOS and Android devices.
- Fusion Harness — Run 2 to 5 models simultaneously against the same working directory with a single-writer invariant.
- TrueForge — Integrates MCP tools, sandboxing, and subagents into a unified agent harness.
All Minecraft Agent Harness alternatives