Skip to content

Agent imports

With agent imports on, an AI agent connected to the Prophouse MCP and signed in as you (Claude, Codex or another MCP client) can import props into the project you have open in Unreal Editor. The editor picks up the agent’s request and runs it through the normal import pipeline. It then reports the object paths of the assets it placed, so the agent can spawn them in a level.

This page covers the editor side. For the MCP tools the agent calls, see Import props into Unreal.

  1. Open Edit → Editor Preferences → Plugins → Prophouse.

  2. Under Agent imports, tick Accept agent imports.

The setting is off by default. It is saved in your own editor preferences for this project, not in shared project config. When you change it, the editor checks in with Prophouse right away, so agents see the new state within a few seconds.

The editor must also be signed in. See Sign in from the editor. Imports download their files through the Prophouse desktop app, so the app must be installed on the same machine. If it is installed but not running, the editor starts it. The only way around the desktop app is Use legacy direct transfers (deprecated) under Advanced.

While the editor is signed in, it checks in with Prophouse to report that it is open. Each check-in sends the project key, engine and plugin version, machine name, Default Destination Root, desktop app state and whether the editor accepts agent imports.

How often it checks in depends on the setting:

  • With Accept agent imports on, every 15 seconds.
  • With it off, at the import polling interval (Poll Interval Seconds) (never more often than every 60 seconds), and only while Enable background polling is on.

An editor with the setting off still shows up for agents, so an agent can ask you to turn the setting on. Prophouse refuses the agent’s import request with AGENT_IMPORTS_DISABLED until you do. When you close the editor, it tells Prophouse it has gone offline.

When an agent requests an import into your project, the next check-in hands the job to the editor. The editor then does the following:

  1. Shows Prophouse: an agent is importing N prop(s) into this project (job #<id>)….
  2. Runs the import the same way as one you start yourself. It brings the full dependency closure, places it under the job’s destination root and rewires every reference. The destination root is your Default Destination Root unless the agent set another root. If the agent passed a subfolder, the import goes into that folder under the root.
  3. Keeps your local version of any file you changed. An agent import never overwrites your edits and never opens a dialog. The report lists the files it kept.
  4. Shows Prophouse: agent import finished. N asset(s) ready in the project (job #<id>). The count includes assets that were already current. If the import fails, it shows Prophouse: agent import (job #<id>) failed: <reason>.

The editor runs one import at a time. It does not start an agent import while any other Prophouse pull is running in that editor. It sends the job’s report to Prophouse, and the agent reads the result from there.

If the desktop app is not installed or fails to start, the editor leaves the job queued and tries again 2 minutes later. It does the same when Prophouse refuses to hand over the job for a temporary reason. Each time, the editor sends the reason to Prophouse so the agent can tell you what to fix.

In the following cases the problem cannot go away for that job. The editor stops retrying it and skips it until you restart the editor:

  • The job contains assets saved by a newer engine version than yours (ENGINE_TOO_OLD).
  • The job targets a different project key (CONFLICT).
  • The job was deleted (JOB_NOT_FOUND).
  • The request is invalid or not allowed for your account (VALIDATION or FORBIDDEN).

Run Ph.AgentStatus in the editor’s console (the Cmd box at the bottom of the editor). It prints the current state to the Output Log:

Agent bridge: Ready | project=MyGame root=/Game/Prophouse accepting=yes desktop_agent=live connection=connected presence=ok (4s ago) busy_job=0 pending=0

When something is wrong, the summary starts with Not ready: and lists what to fix. After an agent or script import has run in this session, a second line shows the last job, its source, state and message. The object paths of the imported assets follow, one per line:

Last agent import: job #42 [mcp/done] Imported job #42: 3 placed, 0 already current, 0 kept local.

Python and Blueprints can read the same information. See Scripting.