Orchestrator to spin up MC server, run Mindcraft agent, save building and run eval
Please join our Discord to follow discussions, help plan the roadmap and hear about next steps
Clone the repository:
git clone <repository-url>
cd orchestrator
Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Run the server:
python server_manager.py
The current server manager provides functionality to:
Running server_manager.py
directly will create a demo server that:
Basic example:
from server_manager import MinecraftServerManager
manager = MinecraftServerManager()
# Create a server instance
llm_id = "my_agent"
server_id = manager.create_server(llm_id)
# Wait for server to be ready (10 minute timeout)
if manager.wait_for_server_ready(llm_id):
# Prepare a building area with grid lines and corner markers
manager.prepare_building_area(llm_id, size=50)
# Clean up when done
manager.stop_server(llm_id)
The server uses Docker containers with the following default settings:
To view the building process in Minecraft:
localhost:25565
as the server address