Why Supervisor/Worker + DAG over LangGraph, CrewAI, or AutoGen
How should we coordinate multiple AI agents working on decomposed tasks? The orchestrator needs to spawn agents, assign work, handle failures, and support both sequential and parallel task execution. The pattern choice shapes every downstream API: from how tasks are represented and queued, to how results are collected and failures are recovered. Choosing a framework means accepting its concurrency model, fault tolerance primitives, and interoperability constraints for the life of the project.
The orchestrator runs as a native process alongside a Godot desktop application. Go compiles to a single binary, shares no runtime with the UI layer, and starts in milliseconds. Python frameworks require a runtime, dependency resolution, and a foreign-function bridge to reach Godot — three additional failure surfaces before the first agent task is dispatched.
The supervisor/worker pattern maps directly to Erlang’s OTP supervision trees, which have underpinned telecom-grade systems since 1987. Each agent is a supervised worker: crash detection, exponential backoff, circuit breakers, and restart policies are first-class primitives rather than application-layer afterthoughts bolted onto a Python event loop.
Sequential chains (LangGraph, CrewAI) process one step at a time. A directed acyclic graph lets the supervisor identify independent branches and dispatch them to separate agents concurrently. For a task like “research + draft + review,” the research subtasks fan out in parallel, the draft waits for all upstreams, and review unblocks immediately after. This is not achievable by chaining agent calls sequentially.
The research council identified two capability poles: Pixel Agents for visual programming interfaces, and MetaGPT for deep multi-agent orchestration. No existing project combines a rich desktop visual layer with a production-grade task orchestration engine. This project occupies both poles simultaneously — requiring a Go-native orchestrator that the desktop UI can directly supervise and inspect.