MineStudio
A streamlined toolkit for building Minecraft AI agents, from simulator and trajectory data to policies, training, and parallel inference.
- Source repo
- CraftJarvis/MineStudio
- Stars
- ★ 423
- Last updated
- 2mo ago
- FARS reviewed
- Nov 28, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 36/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changes
- Cost
- Free, no paid service needed
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- Researchers who want to reproduce or compare baselines such as VPT, STEVE-1, and ROCKET in the open-world Minecraft setting.
- Not a fit if
- Teams doing general software work with no need for a Minecraft simulator or RL
- Users who cannot provide a Linux rendering stack (VirtualGL/Xvfb) or a GPU
- Those wanting a turnkey hosted service rather than self-built training and inference
- Website
- craftjarvis.github.io/MineStudio ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-28
- Source review
- 36/100 · Major gaps 6 safety controls not found
What does this agent do, and when should you use it?
MineStudio is a development package from the CraftJarvis team for Minecraft AI agents, organized as composable pieces: a customizable simulator built on MineRL, a trajectory data structure for efficient storage and retrieval of arbitrary segments, a policy-model template plus a gallery of baseline models, an offline pre-training pipeline, online RL training that supports memory-based policies and simulator crash recovery, a Ray-based parallel and distributed inference framework, and a Benchmark module for batch-testing tasks. It ships as a Python package on PyPI, so users import minestudio in their own code and call classes such as MinecraftSim, RawDataset, and VPTPolicy, or run a command-line entry point to verify the simulator install. Official Hugging Face artifacts include the OpenAI Contractor data converted into its trajectory format (6xx–10xx shards) and checkpoints for VPT, GROOT, STEVE-1, and ROCKET that load via from_pretrained. The runtime footprint is heavy: Python 3.10+, JDK 8, a Linux rendering stack (VirtualGL on NVIDIA GPUs, otherwise Xvfb for CPU rendering), with optional containerized runs from the Dockerfile in assets.
It reads recorded Minecraft trajectories or the Hugging Face datasets and turns them into training samples through RawDataset and modal_kernel_callbacks such as ImageKernelCallback and ActionKernelCallback, which decouple image and action modalities. Policies are then either pre-trained through the offline pipeline (distributed training with PyTorch Lightning) or trained online inside MinecraftSim, where memory-based policies keep an internal state and simulator crash recovery is supported. At inference time, VPTPolicy.get_action(obs, memory, input_shape='*') emits actions step by step that drive MinecraftSim.step, and Ray provides parallel or distributed execution. Simulator callbacks such as RecordCallback write pov frames to a local directory at a chosen fps, while the Benchmark module automates batch testing across Minecraft tasks.
- Researchers who want to reproduce or compare baselines such as VPT, STEVE-1, and ROCKET in the open-world Minecraft setting.
- Teams that have their own recordings or want to use the OpenAI Contractor data for imitation learning and need one shared trajectory data structure.
- Developers modifying observations, actions, or task setups on top of MineRL who need a quickly customizable simulator.
- Students or labs training memory-based policies with RL inside the simulator and needing crash recovery for long runs.
- Evaluators who need to batch-test an agent's success rate across many Minecraft tasks through the Benchmark module.
- Engineering teams that generate inference rollouts in parallel across multiple GPUs or machines at scale.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install MineStudiopip install git+https://github.com/CraftJarvis/MineStudio.gitdocker run -it minestudio
- Runtime
- Python 3.10+ · Java 8
- Install notes cover
- Linux · Docker
How do you install or deploy this agent?
The documented requirements are Python 3.10+, Linux, JDK 8, plus a rendering tool you install yourself.
conda create -n minestudio python=3.10 -y
conda activate minestudio
conda install --channel=conda-forge openjdk=8 -yInstall from PyPI (or from source):
pip install MineStudiopip install git+https://github.com/CraftJarvis/MineStudio.gitFor rendering, NVIDIA users should install VirtualGL; others should use Xvfb, which supports CPU rendering but is slower. Exact commands are in the official installation docs. Verify the install with:
python -m minestudio.simulator.entry # using Xvfb
MINESTUDIO_GPU_RENDER=1 python -m minestudio.simulator.entry # using VirtualGLA Docker path is also documented, with the Dockerfile in the assets directory:
cd assets
docker build --platform=linux/amd64 -t minestudio .
docker run -it minestudioHow do you use this agent?
Load trajectory data and build training samples:
from minestudio.data import RawDataset
from minestudio.data.minecraft.callbacks import ImageKernelCallback, ActionKernelCallback
dataset = RawDataset(
dataset_dirs=['6xx', '7xx', '8xx', '9xx', '10xx'], # Specify the dataset directories
modal_kernel_callbacks=[
ImageKernelCallback(frame_width=224, frame_height=224, enable_video_aug=False),
ActionKernelCallback(enable_prev_action=True, win_bias=1, read_bias=-1),
],
win_len=128,
split_ratio=0.9,
shuffle_episodes=True,
)
item = dataset[0]
print(item.keys())Load a pretrained policy from Hugging Face and run it in the simulator:
from minestudio.simulator import MinecraftSim
from minestudio.simulator.callbacks import RecordCallback
from minestudio.models import VPTPolicy
policy = VPTPolicy.from_pretrained("CraftJarvis/MineStudio_VPT.rl_from_early_game_2x").to("cuda")
policy.eval()
env = MinecraftSim(
obs_size=(128, 128),
callbacks=[RecordCallback(record_path="./output", fps=30, frame_type="pov")]
)
memory = None
obs, info = env.reset()
for i in range(1200):
action, memory = policy.get_action(obs, memory, input_shape='*')
obs, reward, terminated, truncated, info = env.step(action)
env.close()Datasets are published as CraftJarvis/minestudio-data-6xx through 10xx (v110), and checkpoints cover the VPT, GROOT, STEVE-1, and ROCKET families.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- least-privilege scoping — Grant only what the task needs: a dedicated account or read-only token, scoped to specific directories and repos.
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- data-flow disclosure — Watch which external services it contacts (proxy or firewall logs) and keep sensitive data out until you know where it goes.
- sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- disclosed external effects — Establish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Clean component split: simulator, data, models, offline and online training, inference, and Benchmark can be adopted independently.
- Pretrained checkpoints and the converted Contractor dataset are on Hugging Face, so VPTPolicy.from_pretrained loads a working policy in one line.
- The trajectory data structure retrieves arbitrary segments efficiently, and since v1.1.4 modalities are decoupled and customizable via callbacks.
- Online RL explicitly supports memory-based policies and simulator crash recovery, and inference is parallelized and distributed through Ray.
- MIT-licensed and built on MineRL and Project Malmo, so the simulation layer is auditable and modifiable.
- Heavy environment: Linux, JDK 8, and a VirtualGL or Xvfb rendering stack are required, and CPU rendering without a GPU is slower.
- The repository says it is under development, and the dataset structure changed from v1.1.0, with the old data only usable in v1.0.6 and earlier.
- Much of the API detail lives on the Sphinx documentation site; this repository alone does not include full training configuration examples.
- It is a research toolkit scoped to Minecraft rather than a general-purpose agent environment.
- Most checkpoints were trained by OpenAI or third-party projects, so users must confirm each model's usage terms.
How does this agent compare with similar options?
The README explicitly builds on MineRL as the simulator base and Project Malmo as the underlying environment, and references OpenAI's Video-Pre-Training (VPT) project, its Contractor demonstrations, and the STEVE-1 baseline; compare against those established Minecraft agent research efforts.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| MineStudio This agent | 36 · Major gaps | Library / SDKFree | ★ 423 | 2mo ago | Python | — |
| Oumi | 63 · Some gaps | CLIFree + model costs | ★ 9.4k | 2d ago | Python | Claude Code · OpenAI API |
| AgentsMeetRL — Awesome List of Agentic Reinforcement Learning | 57 · Major gaps | Agent plugin / skillFree | ★ 1.9k | 5d ago | HTML | — |
| rLLM: Reinforcement Learning Framework for LLM Agents | 54 · Major gaps | CLIFree + model costs | ★ 5.9k | 3d ago | Python | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows README mainly describes simulator, data, model, training, and inference workflows; it does not provide least-privilege scoping, user confirmation, runtime data-flow disclosure, sensitive-data handling, external-effect controls, or rollback. The dependency list contains many unpinned packages and no security audit. Source attribution is the strongest trust element: README acknowledges MineRL, Malmo, Ray, PyTorch Lightning, OpenAI VPT, STEVE-1, and provides a citation. Therefore least_privilege, user_confirmation, data_flow_transparency, sensitive_data_handling, external_effects, and rollback score 0; dependency_security scores 1 because dependencies are declared but not locked or audited; source_attribution scores 2.
README news says v1.1.4 while pyproject.toml says 1.1.5, showing version inconsistency. Dependencies are available from public sources, but there is no lockfile and some exact pins may conflict. Test scripts provide no assertions or failure-message evidence. self_consistency scores 1, dependency_availability scores 1, failure_messages scores 0.
README clearly targets Minecraft AI research/development and lists simulator, data, models, offline/online training, inference, and benchmark scenarios. Installation notes cover Linux, conda, JDK, rendering tools, Docker, and GPU/CPU. However, explicit capability boundaries are absent, and there is no trigger/manifest mechanism. audience_and_scenarios scores 2, capability_boundaries scores 1, trigger_precision scores 0, environment_fit scores 2.
README is well organized, installation steps are detailed with a verification command, the MIT LICENSE is complete, and code examples, tutorial links, and tests are present. But version/change records are insufficient, there is no CHANGELOG, FAQ and known limitations are incomplete, and maintenance responsibility is only author/email/org with an unverified publisher. information_architecture scores 2, install_notes scores 3, naming_stability scores 1, examples_and_faq scores 2, known_limitations scores 1, license scores 3, versioning_changelog scores 1, maintenance_responsibility scores 1.
README provides runnable-style snippets for datasets and policy models, and the integrated components have marginal value. But there is no end-to-end output sample or effectiveness benchmark, dependencies are heavy, setup is complex, and cost-benefit is not quantified. output_usability scores 2, marginal_value scores 2, cost_benefit scores 1.
README links to the paper, documentation, Hugging Face datasets/models, and provides a citation, so some claims are traceable. However, README, pyproject, and tests disagree on version, and facts are not clearly separated from inference or promotional claims. claim_traceability scores 2, cross_source_corroboration scores 1, fact_inference_separation scores 1.
- Not found in source: least-privilege scopingGrant only what the task needs: a dedicated account or read-only token, scoped to specific directories and repos.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: data-flow disclosureWatch which external services it contacts (proxy or firewall logs) and keep sensitive data out until you know where it goes.
- Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- Not found in source: disclosed external effectsEstablish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- No least-privilege, user-confirmation, or external-effect control mechanism was found; simulator actions, file writes, and network downloads lack explicit consent and recovery design.
- Many dependencies are unpinned and there is no lockfile or vulnerability audit; setup involves JDK, rendering tools, CUDA, and Ray, making the environment complex and prone to version conflicts.
- README news says v1.1.4 while pyproject.toml says 1.1.5, reducing confidence in versioning and change records.
- Test files are script entry points without assertions, failure messages, or reproducible verification; they do not support claims of runtime correctness.
- Publisher identity is unverified, and maintenance responsibility/support channels are limited to author, email, and organization information.
FAQ
Does MineStudio cost anything to use?
Can I run it without an NVIDIA GPU?
Can I keep using data from older versions after upgrading?
Which tasks and models are covered?
Can it be deployed in a container?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.