Minecraft Office
AUTONOMOUS AGENTS / SIMULATION
Minecraft Office — Embodied AI Workspace
An interactive virtual office built inside Minecraft where autonomous AI agents communicate, solve programming tasks, and execute external services.
Monitoring multi-agent AI collaboration in terminal logs is dry and unintuitive. Visualizing interactions, bottlenecks, and state transitions in complex agent swarms needs better spatial interfaces.
A gamified 3D office environment inside Minecraft where agents navigate rooms, converse in proximity chats, and interact with external code repositories.
Minecraft Office explores embodied multi-agent software engineering inside a 3D virtual simulation. By combining a PaperMC Minecraft server with Citizens NPC plugins, external Python services, and Claude 3.5 Sonnet, autonomous agents are given physical presence in an office environment.
Each agent has defined roles (e.g. project manager, backend engineer, reviewer). They gather in virtual conference rooms, receive software tickets, discuss implementation strategies through dialogue, and trigger real-world backend scripts.
The project investigates how spatial context, embodied navigation, and persistent state machines improve user intuition when observing complex multi-agent collaborative workflows.
Architecture in Action
Visual walk-through of the operational pipeline, core algorithmic stages, and execution telemetry. Click any diagram to inspect in full resolution.

3D Virtual Workspace & Autonomous Collaborative NPCs
Simulated 3D virtual office space inside a PaperMC Minecraft server where autonomous Claude 3.5 Sonnet agents have embodied NPC avatars. Agents gather around meeting tables, assign Jira tickets, and deliberate software implementations via spatial proximity chat.

PaperMC Java 21 Event Bridge & Tick-Decoupled Pipeline
Asynchronous threading bridge decoupling Minecraft's strict 20 TPS game loop from external LLM network latency (1-3s). Uses background worker pools and an Orion message broker so that game server ticks remain locked at 20.0 TPS with zero player lag.

In-Game CI/CD Triggers & GitHub Repository Integration
Real-world development integration where agent consensus in virtual conference rooms triggers external webhooks to GitHub. Agents generate code diffs, run test suites, and open verified GitHub Pull Requests autonomously.
System Components
Minecraft Java Edition client with PaperMC custom game server hooks
Python / FastAPI integration service managing agent state and prompt pipelines
PostgreSQL for persisting chat history, agent roles, and task queues
Citizens NPC plugin, Claude 3.5 Sonnet API, Orion communication broker
Core Implemented Features
- PaperMC Java 21 plugin interfacing with Citizens for NPC animation and pathfinding
- FastAPI external orchestration bridge routing in-game events to LLM endpoints
- Dynamic prompt construction incorporating in-game agent positions and task status
- Persistent agent memory storing project discussions across game restarts
- Real-world webhook triggers enabling agents to deploy code or ping GitHub issues
- Proximity-based audio and dialogue bubbles rendered above NPC heads
Overcoming Bottlenecks
Bridging synchronous Minecraft game ticks (20 TPS) with asynchronous external LLM API latencies. We implemented an asynchronous event queue in Java that queues player requests without freezing the server main thread.
related links.
Visual Artifacts & Diagrams



