Skip to content

List the open instances and name the ones that finished - #1448

Draft
fazxes wants to merge 3 commits into
fazxes/run-agents-side-by-sidefrom
fazxes/instance-list
Draft

fazxes wants to merge 3 commits into
fazxes/run-agents-side-by-sidefrom
fazxes/instance-list

Conversation

@fazxes

@fazxes fazxes commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • /agents lists the open fx instances in the footer, one per line with its number, session title, agent profile, and what it is doing: working, needs approval, has a question, finished, or idle. Up, Down, and Enter show one, and Esc closes the list.
  • Alt+Up opens the same list while more than one instance is open and the draft has at most one line.
  • While a subagent's screen is shown, (on screen) marks the instance whose tree holds it.
  • The list and the /status and /permissions panels replace each other, like other footer menus, so Alt+Up over an open panel shows the list.
  • When an instance that isn't on screen finishes a turn, the footer names it until it is shown.

From a run against the test model server with two instances, after fx 2 finished a turn while fx 1 was on screen, the footer reads:

fx 1/2 · auto · gpt-5                                    fx 2 finished · Alt+→

and Alt+Up lists:

  fx 1 (on screen) · HOST_A Fix the login bug · main · idle
  fx 2 · HOST_S slow work · main · finished

Changes to existing behavior

  • Alt+Up moves up a paragraph as before with one instance open, and in a draft of several lines with any number open. Only with more than one instance open and a draft of at most one line does it open the list instead.

The waiting note and the list name an instance's state with the same words, and both count a turn as going by the same rule.

Stacked on #1438.

Docs

vercel-labs/fx-web#219, stacked on vercel-labs/fx-web#214.

@fazxes fazxes added the type: feature Adds a new user-facing capability label Oct 24, 2026
@fazxes
fazxes force-pushed the fazxes/run-agents-side-by-side branch from c36ee4d to 82e220f Compare October 24, 2026 06:43
@fazxes
fazxes force-pushed the fazxes/instance-list branch 3 times, most recently from 0b11916 to 920458f Compare October 25, 2026 00:52
- /agents lists the open fx instances in the footer, one per line with
  its number, session title, agent profile, and what it is doing:
  working, needs approval, has a question, finished, or idle. Up, Down,
  and Enter show one, and Esc closes the list.
- Alt+Up opens the same list while more than one instance is open. With
  one, it still moves to the previous paragraph.
- When an instance that isn't on screen finishes a turn, the footer names
  it, such as "fx 2 finished · Alt+→", until it is shown.
The /status and /permissions panels and the instance list now close
each other, as other footer menus do, so Alt+Up over an open panel
shows the list instead.
- Alt+Up opens the instance list only while more than one instance is
  open and the draft has at most one line; otherwise it moves up a
  paragraph.
- While a subagent's screen is shown, the list marks the instance whose
  tree holds it as on screen.
- The waiting note moves out of main.zig and names states with the
  list's words, and both count a running turn by the same rule.
@fazxes
fazxes force-pushed the fazxes/run-agents-side-by-side branch from ad76737 to 1f8dff7 Compare October 25, 2026 03:36
@fazxes
fazxes force-pushed the fazxes/instance-list branch from 920458f to c423219 Compare October 25, 2026 03:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Adds a new user-facing capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant