Agent Call Stack for GitHub CopilotSee what Copilot's agent is doing while it works: a live call stack in VS Code's side bar. Each prompt, what the model thought and replied between calls, the subagents it started and the tool calls inside them, with status, duration and the size of each output in tokens. It draws as a tree or a waterfall, and a click opens a row's input and output.
A made-up session ("fix the failing login test"), drawn by the extension's own code. The pictures are generated by Part of Agent Call Stack, which also has a Claude Code mod and an extension for Claude Code in VS Code. This is the Copilot port of the mod. Getting started
The newest prompt is on top. When a prompt starts, the ones before it fold away (open any again with its arrow, or use fold all / unfold all). Requirements: VS Code 1.95+ with agent hooks enabled ( Commands and settings. Open Call Stack, Install Copilot Hooks, Remove Copilot Hooks, Clear Recorded Calls, and What it shows
A tourWaterfallEvery row is a bar on one time axis, so you see what ran when, how long each call took, and what overlapped. The bar's color says done, running or slowest; only a failure keeps its
TreeThe same rows, nested: a subagent holds the calls it made, guide lines draw the branches, and every row has a status mark (
A row's detailsA click opens a row in a modal: its state and timing, how much of the prompt it took, the size of its input and output, who it ran with (the model that called it, when VS Code's chat log says), and the input and output themselves (Show all, copy icon). Here, a failing
The summaryWhen a prompt has finished, a summary ends its rows (the bottom of every picture above): calls, failures and time, one line per tool, the slowest and heaviest call, tokens; estimates, as Copilot's hooks carry no counts. Its Copy button puts it on the clipboard as markdown, for a ticket or a PR. Light themes and first runIt follows your VS Code theme (the colors are the theme's own). Before the hooks are installed, the view says so and offers the buttons that install them:
Good to know
All the details, and how it differs from the Claude Code targets, are in the Reference. Develop
To run it from source, open the |