Repository navigation
Agent Flow: sub-agent hangar and the main UFO controlling from the tower #453
Copy link
Copy link
Backlog
Labels
area: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesarea: ideThe Electron + Monaco IDE (apps/ide)area: xr-sceneBrowser runtimes of the XR scenes and LivePanel (A-Frame/BabiaXR, templates/components)stream: agent-flowtfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Description
User story
As a developer watching an agent delegate work to sub-agents in Agent Flow
I want the main UFO to fly to the control tower and coordinate while its sub-agents take off from a hangar, work on their buildings and land back
so that delegation reads at a glance as "the main agent is coordinating, these agents are out working for it", instead of saucers popping out of each other.
Design (approved by Adrián, 3 Dec 2026)
The test-tower corner becomes an airfield: the test tower doubles as the control tower, with a hangar beside it.
- Delegate: the main UFO flies to the top of the tower and docks in a new
controloutfit (radar ring around the cab). The hangar doors open and the bays about to be used light up. - Before a sub-agent's first step: it waits inside its bay, visible through the doors, without name tag (builds on Agent Flow: one UFO on a delegate, sub-agents appear on their first step #452: it is never stacked on the main UFO).
- First step: it rolls to its pad on the apron, lifts off and flies to its building; its name tag appears.
- While out: a dashed radio link in the sub-agent's colour joins the tower to each sub-agent; each of its steps sends a packet back along the link.
- Last step: it flies back, lands on its pad and rolls into its bay (red bay light if it failed). Doors close when nobody is out.
- Control rule (derived from the playhead): the main agent is controlling while its latest step is a delegate and at least one of its sub-agents is out. If the main agent works meanwhile (background sub-agents), its real work wins and the links come from its UFO instead of the tower.
- Bays: max concurrent sub-agents in the session, 1 to 4; more share bays. A returned sub-agent hides inside when the doors close.
Proposal and prototype mockups: project files agent-flow/hangar/.
Acceptance criteria
-
workersAtexposes each sub-agent's phase (in hangar / out / landed) and the main agent'scontrolmode; unit tests. - Hangar, doors, bays, apron pads and the tower's control role rendered in the runtime (new manifest part), "control tower" label.
- Take-off, flight and landing animations;
controloutfit; radio links and packets. - Seeking to any step gives the same scene as stepping there (harness invariant extended to UFO phases, doors and bays).
- Legends: the hangar card lists each sub-agent (colour, description, steps, status); the tower card says how many sub-agents it is controlling; both pinnable.
- Reduced motion and low-performance mode: no take-off/packet animation, UFOs placed directly. Works in XR (table-local, reachable by the controller ray).
- Works in the VS Code extension (v1.3.0) and the Code-XR IDE (ide), shared runtime.
-
docs/agent-flow/hangar.mdand test guide section. - Adrián's manual check on a session with sub-agents.
Pull requests
- Agent Flow: sub-agent hangar and the main UFO controlling from the tower (#453) #454 (v1.3.0)
- Agent Flow: sub-agent hangar and the main UFO controlling from the tower (#453, ide) #455 (ide)
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
area: extensionVS Code extension host (TypeScript): commands, launcher, servers, servicesarea: ideThe Electron + Monaco IDE (apps/ide)area: xr-sceneBrowser runtimes of the XR scenes and LivePanel (A-Frame/BabiaXR, templates/components)stream: agent-flowtfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Activity
Merge pull request #454 from Code-XR-Project/claude/project-thread-oe…
Merge pull request #455 from Code-XR-Project/claude/project-thread-oe…