CLI and results
Public entry points
Use ueagent setup to inspect dependencies and ueagent connect MyGame.uproject to connect. Recording and media export use ueagentdevkit[media]. Window inspection uses ueagentdevkit[windows].
The Win64 catalog provides PinWright 1.0.0 for UE 5.4, Monolith 0.25.0 for UE 5.7/5.8, and UmgMcp 1.0.12 for UE 5.8. Installation requires the target editor to be closed and checks the package hash and Build ID. Use --build-source to authorize a pinned BlueprintMCP UAT build for UE 5.4 or --no-install to use existing installs only.
For blueprint or animgraph, use --asset to select a readback target. A capability request exits with zero only after readback passes. See the support matrix.
Run ueagent scenario MyGame.uproject --profile Tools/UEAgent/playtest.json to start rendered PIE; pass --no-record --no-evidence and --endpoint in routine work to skip recording and redundant connection discovery. See Playtest Scenario for setup and JSON fields.
ueagent media compare before.mp4 after.mp4 --start 0 --end 10 --interval 0.5 --after-offset 0.25 --run .--run points to an existing output directory. Use --seconds 0.5 1.0 2.5 for explicit points. Independent offsets are added to each clip's time. Output includes original frames, side-by-side PNGs, index.html, and media.json.
Automation results
run and check-report return 0 on PASS and 1 otherwise. Argument parsing normally returns 2. Reports match the exact fullTestPath. NOT_RUN signals no matching test, FAIL a failed case in the report, and ERROR ambiguous output or execution failure. Check normal editor exit as well as the report. run prints the run directory and then its result JSON. Inspect result.json, report.md, editor.log and Automation/index.json. Hygiene commands often print a JSON report path. Preflight prints JSON directly. See side effects and verification.
Argument help
The output below is generated from the public CLI.
ueagent --help
usage: ueagent [-h]
{setup,connect,timeline,compare,pie-lab,mux,record,pck,association,uap-lab,inspector,windows,media,hygiene,pie,scenario,verify-animation,doctor,run,check-report}
...
Win64 UE project inspection, isolated Automation, and offline report
validation.
positional arguments:
{setup,connect,timeline,compare,pie-lab,mux,record,pck,association,uap-lab,inspector,windows,media,hygiene,pie,scenario,verify-animation,doctor,run,check-report}
setup Inspect dependencies and configure local providers
association Inspect the Windows .uproject file association as JSON
uap-lab Build the pinned UnrealAgentPlayer and exercise a
disposable rendered host
pie Run rendered PIE movement and evidence capture in a
dedicated test host
scenario Run a project-defined PIE scenario and collect
gameplay evidence
verify-animation Run Layered Blend, state-machine and Montage probes in
a disposable lab
options:
-h, --help show this help message and exitueagent setup --help
usage: ueagent setup [-h] [--umg-plugin UMG_PLUGIN] [--umg-alias UMG_ALIAS]
[--skills-dir SKILLS_DIR]
[--capture-project CAPTURE_PROJECT]
options:
-h, --help show this help message and exit
--umg-plugin UMG_PLUGIN
Locally installed UmgMcp.uplugin
--umg-alias UMG_ALIAS
--skills-dir SKILLS_DIR
Install DevKit agent skills into this directory
--capture-project CAPTURE_PROJECT
Install and enable the source viewport capture pluginueagent connect --help
usage: connect_editor.py [-h] [--project PROJECT] [--provider PROVIDER]
[--widget WIDGET] [--asset ASSET] [--client CLIENT]
[--capability CAPABILITY] [--engine ENGINE]
[--local-ddc LOCAL_DDC] [--umg-alias UMG_ALIAS]
[--dry-run] [--no-register] [--auto-enable]
[--no-install] [--build-source] [--verbose]
[target]
Use the pinned upstream capability router and register an exact Codex
endpoint.
positional arguments:
target Unreal project descriptor
options:
-h, --help show this help message and exit
--project PROJECT
--provider PROVIDER
--widget WIDGET Read a known /Game widget tree from the matched UMG
instance
--asset ASSET Asset to read for --capability blueprint, animgraph or
niagara
--client CLIENT
--capability CAPABILITY
--engine ENGINE
--local-ddc LOCAL_DDC
Use an existing filesystem DDC directory on cold
launch
--umg-alias UMG_ALIAS
Existing Codex stdio registration for UMG
--dry-run
--no-register
--auto-enable
--no-install
--build-source
--verboseueagent association --help
usage: ueagent association [-h] [--wizard | --launcher-reports-error]
options:
-h, --help show this help message and exit
--wizard Open the interactive diagnosis and repair wizard
--launcher-reports-error
Record that Epic still shows the file association
warningueagent doctor --help
usage: ueagent doctor [-h] [--project PROJECT] [--profile PROFILE]
[--engine ENGINE] [--mcp | --mcp-url MCP_URL]
[--verbose]
options:
-h, --help show this help message and exit
--project PROJECT
--profile PROFILE Read project, engine and Automation defaults from JSON
--engine ENGINE
--mcp Include read-only upstream plugin and listener inventory
--mcp-url MCP_URL List tools at an explicit loopback endpoint
--verbose Print full environment JSON instead of a concise summaryueagent run --help
usage: ueagent run [-h] [--project PROJECT] [--profile PROFILE]
[--engine ENGINE] [--test TEST] [--target TARGET]
[--native] [--skip-build] [--editor-arg EDITOR_ARG]
[--timeout TIMEOUT]
options:
-h, --help show this help message and exit
--project PROJECT
--profile PROFILE Read project, engine and Automation defaults from JSON
--engine ENGINE
--test TEST
--target TARGET
--native Use UE Automation without the optional MCP provider
--skip-build Compatibility flag. Native targets always receive an
incremental UBT check.
--editor-arg EDITOR_ARG
Extra flag passed to UnrealEditor-Cmd (repeatable)
--timeout TIMEOUT Seconds per stageueagent check-report --help
usage: ueagent check-report [-h] --test TEST index
positional arguments:
index
options:
-h, --help show this help message and exit
--test TESTueagent pie-lab --help
usage: make_pie_lab.py [-h] --monolith MONOLITH [--name NAME]
[--graph-providers] [--movement-fixture]
Create an isolated content-only test host using a locally available Monolith
installation.
options:
-h, --help show this help message and exit
--monolith MONOLITH Path to the locally licensed Monolith.uplugin
--name NAME New directory and uproject name under Artifacts/Labs
--graph-providers Also enable locally installed Nwiro and UmgMcp
--movement-fixture Use the editable input-binding regression blueprintueagent pie --help
usage: pie_behavior.py [-h] --project PROJECT [--profile PROFILE]
[--min-cm MIN_CM] [--ready-timeout READY_TIMEOUT]
[--fixture-bindings {on,off}]
Drive one Monolith PIE capture in an explicitly selected isolated test
project.
options:
-h, --help show this help message and exit
--project PROJECT Dedicated lab project; may launch an editor and load a
map
--profile PROFILE
--min-cm MIN_CM
--ready-timeout READY_TIMEOUT
--fixture-bindings {on,off}
Set and compile the generated lab pawn's movement
bindingueagent scenario --help
usage: scenario.py [-h] --profile PROFILE [--allow-project-probe]
[--local-ddc LOCAL_DDC] [--endpoint ENDPOINT] [--no-record]
[--mode {development,diagnosis,release}] [--no-video]
[--no-audio] [--no-assertions] [--no-evidence] [--verbose]
[--keep-editor]
project
Start rendered PIE, run a project scenario and collect synchronized gameplay
evidence.
positional arguments:
project Existing .uproject
options:
-h, --help show this help message and exit
--profile PROFILE Version 1 JSON scenario
--allow-project-probe
Run the trusted Python probe named by the scenario
--local-ddc LOCAL_DDC
Use an existing filesystem DDC directory on cold
launch
--endpoint ENDPOINT Reuse an already-verified loopback Monolith MCP
endpoint
--no-record Skip both video and audio recording
--mode {development,diagnosis,release}
Development runs assertions only by default. Diagnosis
and release request capture and evidence.
--no-video Skip viewport video recording
--no-audio Skip master submix audio recording
--no-assertions Run steps without evaluating assertions
--no-evidence Skip extra evidence files and discard raw frames after
MP4 verification
--verbose Print full JSON result instead of a concise summary
--keep-editor Leave an editor this run cold-started open afterwardsueagent verify-animation --help
usage: animation_runtime_verify.py [-h] [--local-ddc LOCAL_DDC] project
Run three isolated Monolith animation acceptance probes against engine
tutorial assets.
positional arguments:
project Disposable project copy under UEAGENT_ARTIFACTS/Labs
options:
-h, --help show this help message and exit
--local-ddc LOCAL_DDC
Use an existing filesystem DDC directory on cold
launchueagent uap-lab --help
usage: ueagent [-h] [--engine ENGINE] [--min-cm MIN_CM] [--video] [--audio]
[--standalone-trace]
Build and exercise a pinned UnrealAgentPlayer in a private disposable
TestHost.
options:
-h, --help show this help message and exit
--engine ENGINE
--min-cm MIN_CM Required Pawn displacement
--video Encode a timestamped clip of the PIE game's viewport
--audio Record the PIE master submix and mux it with the game
viewport
--standalone-trace Launch a bounded -game session and collect a CPU/frame
traceueagent record --help
usage: record.py [-h] [--seconds SECONDS] [--min-fps MIN_FPS] project
Record the selected project's live PIE viewport and master mix at wall-clock
speed.
positional arguments:
project
options:
-h, --help show this help message and exit
--seconds SECONDS
--min-fps MIN_FPS Fail the run if actual captured frames fall below this
rateueagent mux --help
usage: mux.py [-h] capture audio output
Mux timestamped PIE viewport frames and the output of the game's master
submix.
positional arguments:
capture Folder containing frames.csv and video.bgra
audio Matching stereo PCM master mix
output
options:
-h, --help show this help message and exitueagent media --help
usage: ueagent [-h]
{windows,window,analyze,compare-video,record,extract,compare,check-frames}
...
Record, extract, or compare local video evidence.
positional arguments:
{windows,window,analyze,compare-video,record,extract,compare,check-frames}
windows List visible Unreal HWNDs for an exact executable
window Record a specific Windows Graphics Capture target
analyze Probe, decode, hash and sample a clip
compare-video Render two event-aligned panels with elapsed time
compare Compare two clips at matching video time offsets
check-frames Validate capture or replay engine-frame continuity
options:
-h, --help show this help message and exitueagent timeline --help
usage: timeline.py [-h] --profile PROFILE --root ROOT --run-id RUN_ID --output
OUTPUT
Index the observations and images actually present in one saved run.
options:
-h, --help show this help message and exit
--profile PROFILE
--root ROOT
--run-id RUN_ID
--output OUTPUTueagent compare --help
usage: compare_behavior.py [-h] before after
Compare two completed movement runs with identical project, profile and input
path.
positional arguments:
before
after
options:
-h, --help show this help message and exitueagent inspector --help
usage: ueagent [-h] --project PROJECT --report REPORT [--role ROLE]
--snapshot SNAPSHOT [--baseline BASELINE] [--read]
options:
-h, --help show this help message and exit
--project PROJECT
--report REPORT
--role ROLE
--snapshot SNAPSHOT
--baseline BASELINE
--readueagent windows --help
usage: ueagent [-h] --project PROJECT
options:
-h, --help show this help message and exit
--project PROJECTueagent pck --help
usage: godot_pck.py [-h] {summary,list,extract} ...
Generic read-only Godot PCK (v2/v3/v4) indexer and selective extractor.
Strictly read-only on source .pck files. Enforces path-traversal guards,
extraction byte budgets, and records SHA-256 digests for every read or
extracted entry. Contains zero game-specific hardcoding.
positional arguments:
{summary,list,extract}
summary Print JSON summary of a Godot PCK
list List entry paths matching an optional prefix or suffix
extract Selectively extract entries under a byte budget
options:
-h, --help show this help message and exitueagent hygiene --help
usage: ueagent [-h]
{package-build,package-accept,package-reject,package-status,preflight,volumes,menu,discover,audit,lfs-audit,dedup,plan,archive,verify,restore,release,migration,cache-review,runs,assets}
...
UEAgentDevKit project hygiene CLI and interactive menu.
positional arguments:
{package-build,package-accept,package-reject,package-status,preflight,volumes,menu,discover,audit,lfs-audit,dedup,plan,archive,verify,restore,release,migration,cache-review,runs,assets}
preflight Check peak incremental space before a manual build or
capture
volumes Snapshot free space on source, archive and restore
volumes
options:
-h, --help show this help message and exitueagent media record --help
usage: ueagent record [-h] --scene SCENE [--seconds SECONDS] [--port PORT]
[--exe EXE] [--pid PID] [--hwnd HWND] --run RUN
options:
-h, --help show this help message and exit
--scene SCENE
--seconds SECONDS
--port PORT
--exe EXE Verify the dedicated OBS source against this Unreal
executable
--pid PID
--hwnd HWND
--run RUNueagent media compare --help
usage: ueagent compare [-h] [--seconds SECONDS [SECONDS ...]]
[--start START] [--end END] [--interval INTERVAL]
[--before-offset BEFORE_OFFSET]
[--after-offset AFTER_OFFSET] --run RUN
before after
positional arguments:
before Clip for the left panel
after Clip for the right panel
options:
-h, --help show this help message and exit
--seconds SECONDS [SECONDS ...]
Video time offsets in seconds, in output order
--start START Time in seconds for the comparison range
--end END Time in seconds for the comparison range
--interval INTERVAL Time in seconds for the comparison range
--before-offset BEFORE_OFFSET
Seconds to add to the left video
--after-offset AFTER_OFFSET
Seconds to add to the right video
--run RUNueagent media check-frames --help
usage: ueagent check-frames [-h] [--first FIRST] [--last LAST]
[--fixed-fps FIXED_FPS]
input
positional arguments:
input
options:
-h, --help show this help message and exit
--first FIRST First sample frame, inclusive
--last LAST Last sample frame, inclusive
--fixed-fps FIXED_FPS
Check the declared simulation step in per-frame replay
JSONLueagent media windows --help
usage: ueagent windows [-h] --exe EXE
options:
-h, --help show this help message and exit
--exe EXEueagent media window --help
usage: ueagent window [-h] --exe EXE --pid PID --hwnd HWND [--fps 1..120]
[--width WIDTH]
[--encoder {libx264,h264_nvenc,h264_amf,h264_qsv}]
--seconds SECONDS --run RUN
options:
-h, --help show this help message and exit
--exe EXE
--pid PID
--hwnd HWND
--fps 1..120
--width WIDTH
--encoder {libx264,h264_nvenc,h264_amf,h264_qsv}
--seconds SECONDS
--run RUNueagent media analyze --help
usage: ueagent analyze [-h] --run RUN video
positional arguments:
video
options:
-h, --help show this help message and exit
--run RUNueagent media compare-video --help
usage: ueagent compare-video [-h] [--before-offset BEFORE_OFFSET]
[--after-offset AFTER_OFFSET]
[--labels LABELS LABELS] [--speed SPEED]
--seconds SECONDS --run RUN
before after
positional arguments:
before
after
options:
-h, --help show this help message and exit
--before-offset BEFORE_OFFSET
--after-offset AFTER_OFFSET
--labels LABELS LABELS
--speed SPEED
--seconds SECONDS Duration on the source timeline
--run RUNueagent hygiene preflight --help
usage: ueagent preflight [-h] --peak-gib PEAK_GIB path
positional arguments:
path
options:
-h, --help show this help message and exit
--peak-gib PEAK_GIBueagent hygiene volumes --help
usage: ueagent volumes [-h] paths [paths ...]
positional arguments:
paths
options:
-h, --help show this help message and exitueagent hygiene menu --help
usage: ueagent menu [-h] [target]
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene discover --help
usage: ueagent discover [-h] [target]
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene audit --help
usage: ueagent audit [-h] [target]
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene lfs-audit --help
usage: ueagent lfs-audit [-h] [--verify-content] [target]
positional arguments:
target
options:
-h, --help show this help message and exit
--verify-contentueagent hygiene dedup --help
usage: ueagent dedup [-h] [target]
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene plan --help
usage: ueagent plan [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene archive --help
usage: ueagent archive [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene verify --help
usage: ueagent verify [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene restore --help
usage: ueagent restore [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene release --help
usage: ueagent release [-h] --approve APPROVE target
positional arguments:
target
options:
-h, --help show this help message and exit
--approve APPROVEueagent hygiene migration --help
usage: ueagent migration [-h] target restored
positional arguments:
target
restored
options:
-h, --help show this help message and exitueagent hygiene cache-review --help
usage: ueagent cache-review [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene runs --help
usage: ueagent runs [-h]
options:
-h, --help show this help message and exitueagent hygiene assets --help
usage: ueagent assets [-h] target
positional arguments:
target
options:
-h, --help show this help message and exitueagent hygiene package-build --help
usage: ueagent package-build [-h] [--engine ENGINE] [--peak-gib PEAK_GIB]
[--timeout TIMEOUT]
project
positional arguments:
project
options:
-h, --help show this help message and exit
--engine ENGINE
--peak-gib PEAK_GIB Override the policy estimate for this build
--timeout TIMEOUTueagent hygiene package-status --help
usage: ueagent package-status [-h] project
positional arguments:
project
options:
-h, --help show this help message and exitueagent hygiene package-accept --help
usage: ueagent package-accept [-h] --evidence EVIDENCE [--pin]
project candidate
positional arguments:
project
candidate
options:
-h, --help show this help message and exit
--evidence EVIDENCE
--pinueagent hygiene package-reject --help
usage: ueagent package-reject [-h] project candidate
positional arguments:
project
candidate
options:
-h, --help show this help message and exit