VCode home

Background and resumed subagents

Agents: claude, codex · On: phone, desktop

An agent can launch helpers that keep working after the call that started them returns, and can pick one back up later. VCode tracks each of them for as long as the process that owns them lives, and closes them as failed, with the reason, when it does not.

Why you would use it

You asked for three independent reviews and want to see all three running, not one row that vanished the moment the launch was acknowledged. And when the agent process dies, you want to be told which helpers died with it rather than watching a row spin forever.

How to use it

From your seat: nothing. The strip fills by itself: above the composer on a phone, under the pane's plan strip on a wide window. From the agent's seat, the VCode prompt asks for subagents when there are three or more genuinely independent tasks, or a workflow that needs independent reviewers.

What you see

One row per subagent, with its name, its task, and a feed of what it is doing. Claude's subagents report their tool calls as activity lines, for example Read: lib/runner.js or Bash: npm test. Codex's report their own work: Running: …, Editing: …, Searching: …, Thinking: …, Reported: ….

The subagent strip open above the composer: two rows, one running with a purple dot and one marked completed.

A row that could not finish is marked failed with a reason: lost when the agent process exited, or lost when VCode restarted, or lost when the agent process went away.

The same strip after a row closed as failed: a red dot, the reason on the right, and the strip's summary now reading complete.

On claude, a command the agent sends to the background gets a row of its own in the strip, named shell. For example, a codex exec the agent runs with run_in_background appears there. The row shows the command's description, or Background command when the agent gave none, and how long it has run. The row wears the blue background mark, the same one a tab shows while a shell it started still runs. The collapsed mark is blue when only shells run. The summary counts shells apart from subagents, for example 2 SUBAGENTS · 1 SHELL. The row leaves the strip when the command ends.

The strip's rendering is documented with subagents-strip; this page is about which rows exist and when they close.

Limits and known gaps