How ueboxai/uebox works
UE Box is an Electron desktop AI agent for operating a running Unreal Editor. A user gives the agent a goal in the AI session; it uses a configured model and UnrealAgentLink’s engine tools, pauses for approval on risky actions, and can verify changes through read-only engine queries. The README also describes standalone project, asset, blueprint/material, and notebook libraries, MCP access, and specialized editor capabilities. Several subsystem links below reflect README documentation rather than inspected implementation; those edges cite the README.
Main entry points: adapted Engine tools · core Agent runtime · UAL_NetworkManager.cpp WebSocket link · useAgentModeHandlers.ts AI session
Components 18
User interaction
- AI session
src/renderer/src/views/Assistant/composables/useAgentModeHandlers.ts - IPC bridge
src/preload/index.ts
Agent runtime
- Agent runtime
src/main/agent-v3/core - Engine tools
src/main/agent-v3/tools/adapted - Risk approval
src/main/agent-v3/core/approval.ts - Change review
src/main/agent-v3/core/reviewChanges.ts - MCP access
src/main/agent-v3/capabilities/mcp
Unreal integration
- WebSocket link
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Network/UAL_NetworkManager.cpp - Command router
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Commands/UAL_CommandHandler.cpp - Editor commands
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Commands - Blueprint and material
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Commands - Specialized tools
src/main/agent-v3/tools/adapted
Product libraries
- Project library
src/main/services/project - Asset library
src/main/sqliteDataBase/VaultManager.ts - Notebook knowledge
src/main/sqliteDataBase/services/notebookRagService.ts - Media object storage
src/main/services/objectStorage/objectStorageService.ts
Other components
- User
- Model provider
Connections 17
- User → AI session: sets goal
README.md - AI session → IPC bridge: uses IPC
src/preload/index.ts - IPC bridge → Agent runtime: starts agent
- Agent runtime → Model provider: requests model
README.md - Agent runtime → Engine tools: invokes tools
README.md - Agent runtime → Risk approval: requests approval
README.md - Agent runtime → Change review: verifies changes
README.md - Engine tools → WebSocket link: sends commands
README.md - WebSocket link → Command router: delivers messages
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Network/UAL_NetworkManager.cpp - Command router → Editor commands: dispatches commands
plugin/UnrealAgentLink/Source/UnrealAgentLink/Private/Commands/UAL_CommandHandler.cpp - Engine tools → Project library: manages projects
README.md - Engine tools → Asset library: uses assets
README.md - Engine tools → Blueprint and material: edits content
README.md - Engine tools → Notebook knowledge: uses knowledge
README.md - Engine tools → Media object storage: uploads media
- Engine tools → Specialized tools: supports workflows
README.md - MCP access → WebSocket link: exposes UE tools
README.md