agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

[Bug]: Unreal Agent shows installed and configured on Windows, then fails to launch with CHAT_DRIVER_UNAVAILABLE

Open Wabull opened this issue 2 weeks ago • 2 comments

What went wrong?

On Windows, Unreal Agent looks ready in Orchestrator, but it can't start.

I added an OpenAI API key for Unreal Agent in Settings. After that, Unreal Agent showed as installed and configured. Starting a session with it then failed with:

spawn: chat driver unavailable: Unreal Agent supports macOS and Linux (CHAT_DRIVER_UNAVAILABLE)

docs/harnesses/unreal-agent.md says Windows builds report this harness as unavailable. On Windows it shows as set up instead. So I set up a provider key for a harness that can't run on this machine.

I expected Unreal Agent to show as unavailable on Windows, with the platform reason, before any provider setup and before it could be chosen for a session.

AO 0.15.4-nightly.202611162257 (commit bc7e1a02a292), Windows 11 build 26340.


Agent-collected evidence (read-only except the one launch attempt)

  • ao agent ls --refresh: unreal-agent Unreal Agent installed configured (unverified)
  • POST /api/v1/agents/unreal-agent/probe: {"agent":{"id":"unreal-agent","authStatus":"configured"},"supported":true,"installed":true}
  • ao spawn --agent unreal-agent ...: CLI warned auth status is unknown; continuing and letting spawn validate runtime readiness, then failed with the error above. No session was created and no provider request was made.
  • Code reading on current main (da52deca13): backend/internal/adapters/chatdriver/unrealagent/driver.go Probe returns ErrChatDriverUnavailable when runtime.GOOS is not darwin/linux. The agent plugin (backend/internal/adapters/agent/unrealagent) resolves the binary to Orchestrator's own executable, so agent readiness reports it installed on every OS, and the platform gate is only hit at launch.
  • Unreal Agent upstream (unreallabsai/unreal-agent, up to v0.3.1) ships only _unix/_darwin process primitives, so this is about how Orchestrator reports the harness, not a request to run Unreal on Windows.

Wabull avatar Nov 18 '26 11:11 Wabull

This is a bug report. Check that nobody has claimed it, comment to claim it, and open a PR with Fixes #8635.

See the contributing guide. Think the classification is wrong? Tell us on Discord.

OrcInc avatar Nov 18 '26 13:11 OrcInc

claiming this

Wabull avatar Nov 21 '26 00:11 Wabull