# 在 Windows Sandbox 中运行 Minecraft 供 AI 使用

Original title: Run Minecraft in a Windows Sandbox for Computer Use Agents

> Hacker News story 49436400 · language: zh · submitted 2026-08-25
> Web version: https://zeli.app/zh/story/49436400
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 23 · by [someguy101010](<https://news.ycombinator.com/user?id=someguy101010>) · 💬 8
[original](<https://cua.ai/docs/how-to-guides/sandbox/minecraft>) · [HN discussion](<https://news.ycombinator.com/item?id=49436400>)

## Summary

本文演示了如何在 Windows Sandbox 中启动 Minecraft Java Edition，并通过 cua-driver 的 MCP 服务器让 AI Agent 进行操控。教程详细讲解了配置 QEMU 虚拟机的网络接口与 CPU 参数，安装 Prism Launcher 及 Mesa3D 软件 OpenGL 驱动以解决图形兼容问题，以及完成 Microsoft 账户的 Device Authorization 登录流程。最终，Agent 通过调用 get_desktop_state、click 等工具，在沙箱环境中实现了对游戏的自动化操作，为计算机使用智能体提供了完整的测试闭环。

## Key quote

> Minecraft 几乎考验了 Windows 沙箱的所有能力：它需要互联网访问、Java 运行时、可用的 OpenGL 驱动，以及一个只能通过点击来驱动的图形界面。

## HN discussion (8 comments)

### [orbital-decay](<https://news.ycombinator.com/item?id=49438460>)

> 可是……为什么要这么做？用计算机来干这事大概是效率最低的方式了。有很多代理模组和插件要好用得多。顺便看看 SkyrimNet，早在“工具使用”这个概念出现之前，甚至早于现在的代理热潮，人们就已经在为游戏和角色扮演构建代理了。

### [gitowiec](<https://news.ycombinator.com/item?id=49438807>)

> 闻起来很有 AI 味儿……

### [lostmsu](<https://news.ycombinator.com/item?id=49438135>)

> 在……中运行，但不启用图形加速。

---

## Cite

- Page: https://zeli.app/zh/story/49436400
- Date: 2026-08-25
- Source: cua.ai (https://cua.ai/docs/how-to-guides/sandbox/minecraft)
- Hacker News: https://news.ycombinator.com/item?id=49436400

## Other languages

- en: https://zeli.app/story/49436400 · markdown: https://zeli.app/story/49436400.md
- es: https://zeli.app/es/story/49436400 · markdown: https://zeli.app/es/story/49436400.md
- ru: https://zeli.app/ru/story/49436400 · markdown: https://zeli.app/ru/story/49436400.md
