UEAgentDevKit
UEAgentDevKit 是面向 Unreal Engine 开发者的 Agent 工具链。用它连接编辑器、检查和编辑蓝图、运行 UE 原生测试,用固定输入复现玩法并录制结果,也能审计工程缓存和 Git LFS。
English · 快速开始 · 最新发布 · PyPI · MIT
安装并连接编辑器
需要 Windows x64、Python 3.11+,以及与工程匹配的 Unreal Engine。在 PowerShell 中将示例路径换成你的 .uproject。
pip install ueagentdevkit
ueagent setup
ueagent doctor --project .\MyGame.uproject --mcp
ueagent connect .\MyGame.uproject --capability blueprint --dry-run
ueagent connect .\MyGame.uproject --capability blueprint
也可以用 uv tool install ueagentdevkit 安装,或把工程文件拖到已安装的 Connect-UE.cmd。连接后重新加载 Agent 的 MCP 配置,读回一个已知蓝图节点和它的连线,确认连的是目标工程。
connect 会按所需能力选择提供方,并可校验、安装兼容的开源插件。首次启用插件时先保存并退出目标编辑器,再为连接命令加 --auto-enable。动画图用 --capability animgraph,UMG 的连接方式取决于提供方。闭源插件由用户安装,DevKit 检测后可连接。MCP 安装与连接
试玩、录制与对照
日常开发默认走轻量路径:仅执行增量构建(源码未变时加 --skip-build)、定向测试和快速 PIE 验证;录屏、音轨、逐帧检查和 A/B 对照只在排障或里程碑交付时开启。
把输入序列、状态断言和采集参数写入工程自己的 Scenario JSON。输入执行、业务断言、画面录制、音轨录制和证据导出相互解耦,可按需组合 --no-record、--no-video、--no-audio、--no-assertions、--no-evidence,已连接编辑器时用 --endpoint 直接复用连接。录制视频需要 ueagentdevkit[media];首次录制前关闭目标编辑器,运行 ueagent setup --capture-project .\MyGame.uproject 并构建 Editor target。
ueagent scenario .\MyGame.uproject --profile .\playtest.json --no-record --no-evidence
ueagent scenario .\MyGame.uproject --profile .\playtest.json
ueagent media compare .\before.mp4 .\after.mp4 --seconds 1 2 3 --run .
ueagent media check-frames .\events.jsonl --first 120 --last 179 --fixed-fps 60
CLI 默认输出简洁摘要,详细日志与完整 JSON 留在运行目录按需读取(或传 --verbose)。工作模式与验收 · Scenario 配置 · CLI 参考
其他常用操作
| 任务 | 命令 |
|---|---|
| 工程诊断、MCP 服务探测 | ueagent doctor --mcp |
| 原生 Automation 测试、已有报告复核 | ueagent run --native、ueagent check-report |
| 运行时动画验证 | ueagent verify-animation |
| 行为对比、时间线与窗口诊断 | ueagent compare、ueagent timeline、ueagent windows |
| 工程体积、可重建缓存和 Git LFS 审计 | ueagent hygiene audit、ueagent hygiene cache-review、ueagent hygiene lfs-audit |
支持矩阵 · Agent Skills · 问题反馈
Metadata
Release files for ueagentdevkit 0.5.0
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.5.0.tar.gz | 135.6 kB | With provenance | Details for ueagentdevkit-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ueagentdevkit-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for ueagentdevkit-0.5.0-py3-none-any.whl |
Total release size: 282.4 kB
Release files / ueagentdevkit-0.5.0.tar.gz
| Download URL | ueagentdevkit-0.5.0.tar.gz |
|---|---|
| Size | 135.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb324abee3802f5f16a0be85dfff66ffb98cf90c27fb303d9953638f2d3884d0
|
|
BLAKE2b-256 checksum How to use checksums |
4a72c4d7bb5e8eaa540985d1475b2fccf447d5353d4934f109906037380b7e7c
|
| 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 30, 2026.
Transparency logRelease files / ueagentdevkit-0.5.0-py3-none-any.whl
| Download URL | ueagentdevkit-0.5.0-py3-none-any.whl |
|---|---|
| Size | 146.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c31713624357f9becbb1d69ec5b2709a80742f929abdc0f22414dae3b7db434b
|
|
BLAKE2b-256 checksum How to use checksums |
0dbe444188b600afd71ce39d743ed9a78626b35d0ec2e8842760591d9de83063
|
| 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 30, 2026.
Transparency logSecurity for ueagentdevkit 0.5.0
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.5.0.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 30, 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.