pstack works in VS Code's agents window as soon as it's installed. This page is optional. It makes the window work more like T3 Code, so you can see and open the subagents pstack starts. Each step is a VS Code setting, so you do it once.
Open Preferences: Open User Settings (JSON) for the settings below.
- Start any chat that uses a subagent.
- Right-click the row of pills just above the chat input, or click Configure Session Status Pills, and tick Subagents. VS Code hides this pill by default.
- Right-click the new Subagents pill and choose Show In Progress, so the list only shows subagents that are still working.
Click a subagent in that list to open its conversation in a tab.
Click the subagent's card in the chat, the line that shows its name, model, and run time. It opens in a pane next to the main chat. Each card you click adds another pane.
"sessions.showChatTabs": "multiple""chat.subagents.showCreditUsage": trueThe cost then shows on each subagent's card, such as 0.1 credits.
"chat.subagents.allowInvocationsFromSubagents": truepstack's larger workflows, such as swarm and arena, use this.
"chat.agentSessions.showExternal": "none"This hides the External section, which lists sessions started outside the agents window, for example in Copilot CLI.
"chat.agent.sandbox.enabled": "on"A shield appears next to the permissions picker. Ordinary commands, such as reading files or listing folders, keep working.
"sessions.showChatTabs": "multiple",
"chat.subagents.showCreditUsage": true,
"chat.subagents.allowInvocationsFromSubagents": true,
"chat.agentSessions.showExternal": "none",
"chat.agent.sandbox.enabled": "on"Then turn on the Subagents pill as described above. That last step lives in VS Code's interface, not in settings.
Tested with VS Code 1.140.0. Most of these settings are marked experimental or preview in VS Code, so their names can change in later versions.