UEAgentDevKit
面向使用 AI Agent 辅助开发的 Unreal Engine 开发者。支持工程诊断、MCP 服务探测、原生自动化测试、缓存管理和 Git LFS 审计。Agent 连接编辑器后,还可读写蓝图、执行自动试玩并采集录像。
安装与快速诊断
需要 Windows x64、Python 3.11+ 和与工程匹配的 Unreal Engine。
pip install ueagentdevkit
ueagent doctor --project .\MyGame.uproject --mcp
也可用 uv tool install ueagentdevkit 安装。把示例路径换成你的 .uproject。诊断结果包含引擎、构建环境、MCP 插件和监听服务。
连接编辑器
ueagent setup
ueagent connect .\MyGame.uproject --dry-run
ueagent connect .\MyGame.uproject
把示例路径换成你的 .uproject。先用 --dry-run 查看路由。连接后重载 Agent 的 MCP 配置,让它读取一个已知蓝图事件及其下一个节点,核对连线是否正确。也可以把工程文件拖到随包安装的 Connect-UE.cmd,或双击启动器选择工程。
普通蓝图、动画蓝图和 UMG 支持的操作取决于已安装的 MCP 提供方。首次配置、UMG 登记及插件启用方式见提供方指南。使用 pip 或升级已有安装时,见快速开始。
常用工作流
| 任务 | 入口 |
|---|---|
| 编辑器自动化 | 用 connect 连接提供方,在 Agent 中读取、修改、编译并保存蓝图。动画图和 UMG 按相应提供方连接。 |
| 工程诊断与 MCP 探测 | 用 doctor 检查引擎和构建环境,加 --mcp 查看插件和监听服务,或用 --mcp-url 探测指定的本地端点。 |
| 原生自动化测试 | 用 run --native 执行指定的 UE Automation 用例,用 check-report 复核报告。 |
| 重现游戏行为 | 用 pie 按场景注入输入并检查游戏状态,用 compare 比较相同输入下修改前后的行为。 |
| 采集与分析 | 安装媒体依赖后用 record 采集 PIE 画面和声音,或用 media 操作已配置的 OBS 场景和本地录像。用 timeline 对齐事件与截图。 |
| 缓存管理与 Git LFS 审计 | 用 hygiene audit 检查工程占用,用 hygiene cache-review 查找可重建缓存,用 hygiene lfs-audit 审计 LFS 指针和对象。 |
使用录制和窗口诊断时,安装 ueagentdevkit[media,windows]。更多示例见 CLI 参考 · 行为验收指南 · Agent Skills。
ueagent connect 可校验并安装受支持的开源 MCP。指定 --capability animgraph 时,以实际图读回作为验收。两段录像可用 ueagent media compare 按同一组时间点并排抽帧。
兼容性
Windows x64 · Python 3.11+ · MIT · 支持矩阵 · 许可证
欢迎通过 GitHub Issues 反馈使用问题或提出建议。
Metadata
Release files for ueagentdevkit 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ueagentdevkit-0.3.1.tar.gz | 120.3 kB | With provenance | Details for ueagentdevkit-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ueagentdevkit-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for ueagentdevkit-0.3.1-py3-none-any.whl |
Total release size: 252.5 kB
Release files / ueagentdevkit-0.3.1.tar.gz
| Download URL | ueagentdevkit-0.3.1.tar.gz |
|---|---|
| Size | 120.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d75173fb677830cc0f2edca3d568eb98a2bf6f649fcb8ae1f17ea3d11caf39d
|
|
BLAKE2b-256 checksum How to use checksums |
4ba634128b9f42c16b488616aa6c9674ce18dd717f62ae06839f99d0a891f4d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / ueagentdevkit-0.3.1-py3-none-any.whl
| Download URL | ueagentdevkit-0.3.1-py3-none-any.whl |
|---|---|
| Size | 132.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56a00e79a3270106c91ec5fd59294952ab3f17549d661c339523ba5a93a2922b
|
|
BLAKE2b-256 checksum How to use checksums |
83a9f7ab2edd5b966b80c96da63f46005f76dedbf63755f4109c6b1f572daa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for ueagentdevkit 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ueagentdevkit-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.