Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

minecraft-agent-harness: run LLM agents in Minecraft with persistent sessions and sandboxes

yc-software's open-source minecraft-agent-harness lets LLM agents play Minecraft through Mineflayer, walking, mining, building and fighting like regular players. It supports Claude, GPT, Gemini and OpenRouter, keeps sessions across restarts, gives each agent…

Published Read the original
minecraft-agent-harness: run LLM agents in Minecraft with persistent sessions and sandboxes

Why it matters

It is a cheap, fun testbed for long-running and multi-agent experiments.

What happened

1 min read

yc-software's open-source minecraft-agent-harness lets LLM agents play Minecraft through Mineflayer, walking, mining, building and fighting like regular players. It supports Claude, GPT, Gemini and OpenRouter, keeps sessions across restarts, gives each agent a shell in Docker, E2B or a local folder, and has been run with 50 agents on one server.

inscraper analysis

Our analysis

Minecraft agents aren't new (Voyager and Mindcraft came first, and some code comes from Mindcraft), but persistent sessions, teams and sandboxes make this more complete. Note the default: without E2B or Docker the shell runs locally as you, so choose Docker or --sandbox none.

More in Agents