BRK274 · Breakout

Hand off the task or take the keyboard in VS Code

  • Friday 20 November
  • 45 min
  • Catalogue level: (300) Advanced
  • Our depth rating: 200
  • Worth watching: 2/3

Speakers: Justin Chen, Hailey Victory

Watch on Microsoft’s site from 01:55

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Justin Chen and Hailey Victory from the VS Code team follow one task from the classic editor window with chat into the new Agents window, using Copilot Fusion, Autopilot mode and assisted permissions. They explain the Agent Host Protocol, which keeps one persistent agent session in sync across VS Code, the Agents window, the Copilot app, the mobile app and GitHub.com, and show mid-session switching between Claude, Codex and Copilot harnesses. Demos cover Compare models with a judge and synthesizer, Fusion's single vs. cascade routing, the integrated browser shared with the agent, canvases, HTML mockups, declarative UI and image generation in chat. The session ends with hunk-by-hunk review in the editor, a PR view with Copilot code review and agent merge, and a multi-model council-review skill.

Best for: Developers and Copilot specialists who use GitHub Copilot in VS Code and want to see how the Agents window, model comparison, Fusion routing and multi-client agent sessions fit into daily work.

Session timeline by chapter

New material starts at 01:55. After a short intro on balancing agents and the editor, the first demo at 01:55 shows Copilot Fusion, Autopilot, assisted permissions and the Agents window.

Where to skip: Start at 01:55; the core is the Agent Host Protocol at 04:35, Compare models at 10:35 and Fusion routing at 15:40. Then watch the integrated browser at 25:25, HTML mockups and declarative UI at 31:29 and the PR flow at 37:46. You can skip the Blobby pet segment (19:57–23:08) and the recap and closing from 40:05, except the council-review skill at 41:29.

Chapters (17)

  1. 00:02 Recap Depth 100 · Novelty 0/3

    Session intro: balancing agentic workflows and the VS Code editor

    Hailey Victory and Justin Chen from the VS Code team introduce the session on combining agentic workflows with the familiar editor. They say Microsoft is not removing editor capabilities but adding new ones, and that the developer's attention, knowledge and taste are what the product optimises for. The session is framed as a progression from the classic editor to more agentic ways of working.

  2. 01:55 Demo Depth 200 · Novelty 2/3

    Demo: Copilot Fusion, Autopilot mode, assisted permissions and opening the Agents window

    In the classic editor window with the chat panel, Justin selects the Copilot Fusion model router, switches the agent mode from Interactive to Autopilot (which loops until it decides the task is complete) and enables the new assisted permission mode so the agent decides what to approve. He sends a request to implement three Blobby cards and then opens the same session in the new Agents window. The speakers stress that both views are VS Code and show the same session, one chat-centric and one code-centric.

  3. 04:35 Deep dive Depth 300 · Novelty 2/3

    Agent Host Protocol: one persistent agent session shared across clients

    Justin explains the motivation: agent sessions used to stop when the laptop lid or window closed, and the Copilot SDK was adopted to give one shared runtime and harness across VS Code, the Agents window, the Copilot app, the Copilot mobile app and GitHub.com. The Agent Host Protocol (AHP) is a shared language keeping client interfaces in sync with a single running agent session; messages, tool activity and approvals all live in the agent host, while clients only display state. A diagram from an engineering blog post shows clients dispatching actions to the host, with ordered state and reconnection sync, and a video shows one session running in the mobile app, the Agents window and the editor window, with approvals possible from any client.

  4. 09:40 Deep dive Depth 200 · Novelty 2/3

    Model, harness, host: switching to the Copilot harness mid-session

    The speakers recap that models can be selected in both the editor window and the Agents window, and that harnesses are a separate choice. If Codex or Claude limits run out, the user can switch harness mid-session to the Copilot harness without restarting. Claude and Codex harnesses can also be used in VS Code with the same billing and account as in Claude Code or Codex.

  5. 10:35 Demo Depth 300 · Novelty 2/3

    Demo: Compare models with a judge and synthesizer across parallel sessions

    The Agents window is introduced as the agent-centred view with canvas, code edits, integrated browser and model comparison. A recorded demo shows Compare models: the user picks models (or harnesses), a judge and a synthesizer, and the same prompt runs as nested parallel sessions in a grid under an orchestrating parent session. The judge compares results by output tokens, duration, validation and code quality and recommends a winner; here Copilot Fusion was chosen, while MAI Code 2 Flash won on output tokens and Claude Sonnet 5.5 on duration. Justin adds that in a newer comparison Fusion was cheaper in AI credits than Opus 5.5 High and GPT-6.2 Astra.

  6. 15:40 Deep dive Depth 300 · Novelty 2/3

    How Copilot Fusion routes work: single model vs. cascade of passes

    Copilot Fusion routes a request based on its complexity and expected duration, either to a single model (Single) or to multiple coordinated models (Cascade). In a cascade it may do a draft pass with one model, a main pass with another and hand off to a more powerful model for final review. Users can click into each pass to see and steer what happened, and the speakers cite AI credit savings and task-to-model matching as benefits.

  7. 18:07 Deep dive Depth 200 · Novelty 1/3

    Agents window as one view across repos, sessions and attention prompts

    Hailey describes why the Agents window helps: previously each project needed its own window and she switched between session list and chat, losing context and missing when sessions needed input. The Agents window shows all sessions across workspaces in one view and notifies when attention is needed. The speakers state that the user's attention, not agent capacity, is the scarce resource.

  8. 19:57 Demo Depth 100 · Novelty 2/3

    Blobby pet: achievements, hats, /blobby colours and a waiting game

    Justin shows Blobby, a new pet/mascot in the VS Code and Agents windows that can be dragged around. Achievements unlock hats as users try chat features, such as editing a previous request or sending a first message, to teach Copilot usage. Blobby is turned on via the VS Code Pet setting or the /blobby command, which also changes colour; there is also a small platform game to play while agents run.

  9. 23:08 Demo Depth 200 · Novelty 2/3

    Editing files, the new Markdown editor and per-session repos in the Agents window

    Justin shows that the Agents window keeps editor capabilities: viewing changes, opening JavaScript and Markdown files and editing them in the same Monaco editor. A new Markdown editor can be locked for viewing or edited directly in the rendered preview. Switching sessions also switches to that session's repo files, so multiple repos no longer need separate windows.

  10. 25:25 Demo Depth 300 · Novelty 2/3

    Integrated browser shared with the agent: taking the quiz and adding elements to chat

    The demo site 'Which Blobby are you?' is opened in the integrated browser inside the Agents window and the page is shared with the agent, which takes the quiz by clicking through it. Justin says the browser automation uses Playwright behind the scenes. The 'Add element to chat' button lets the user click a page element (the header) to attach its element info, HTML and CSS as scoped context.

  11. 28:40 Demo Depth 200 · Novelty 2/3

    Canvases: agent-built Kanban board and the Awesome Copilot canvas marketplace

    The team shows a Kanban canvas tracking new Blobby types, created by the agent without leaving the Agents window and shareable with others in the workspace. Canvases can be anything the agent helps create and tie directly into the agent. Hailey browses the Awesome Copilot marketplace, filters by author (James Montemagno, e.g. Backlog Swipe Triage), and installs a canvas into VS Code, where it can be customised; the Customizations view also lists plugins and MCP servers.

  12. 31:29 Demo Depth 200 · Novelty 2/3

    HTML mockups and declarative UI in chat, plus image generation

    Justin shows a feature in progress, currently in the Agents window, where the agent mocks up HTML directly in chat before changing code; three Blobby cards were rendered as HTML previews. Declarative UI lets the agent render interactive charts and metrics inline in chat. He then asks the agent to generate a background image for Hype Blobby, which is delegated to GPT Image 2.5 regardless of the selected model (here Copilot Fusion); choosing the image model is planned for later. Finally he asks the agent to add Hype Blobby with that background.

  13. 34:47 Demo Depth 200 · Novelty 1/3

    Granular review in the editor window: keep or undo agent edits hunk by hunk

    Justin switches to the editor window to show that granular review is still supported: sorting through agent edits and keeping or undoing them hunk by hunk and file by file (shown with a Scrapbook Blobby change). The speakers position the editor window for detailed review and the Agents window for users who trust the agent more. Hailey describes building trust gradually by watching agent output and using Compare models to verify code quality.

  14. 37:46 Demo Depth 200 · Novelty 2/3

    Live demo: create PR, PR view with Copilot code review and agent merge

    From a worktree in the Agents window, Justin clicks Create PR; Copilot generates a title and description and offers auto-merge or manual merge. The first attempt fails live, and on a real VS Code bug about keep/undo for notebooks a draft PR is created and shown as a pill. A new PR view shows human and Copilot code review comments, checks and pipelines, Mark ready, and agent merge/autopilot that keeps fixing CI until checks are green and the PR merges.

  15. 40:05 Recap Depth 100 · Novelty 0/3

    Recap: from editor window to Agents window, compare models, canvas, browser

    Hailey recaps the progression from the editor window with side chat to the Agents window with model and harness comparison by tokens, output or speed. She highlights canvases and the integrated browser and notes that features change week by week. The message is that VS Code supports the existing workflow and trust is built gradually.

  16. 41:29 Deep dive Depth 200 · Novelty 1/3

    Customizations marketplace and the shared council-review multi-model skill

    The speakers point to the Customizations view where plugins, MCP servers, skills and agents can be added, with integrated marketplaces for bringing your own or installing from them. The VS Code team keeps its own mostly public skills in the VS Code repo. Justin shows his council-review skill, which sends adversarial code review to multiple sub-agents on different models and merges their results.

  17. 42:53 Closing Depth 100 · Novelty 0/3

    Closing: start where you are, resources, Blobby QR code and filing issues

    The speakers conclude that VS Code meets developers wherever they are on the AI adoption path and encourage trying the Agents window. They point to code.visualstudio.com/docs, VS Code Wrapped and Agents window documentation, and a QR code for the public Blobby personality site on GitHub Pages. Issues and questions can be filed in the open-source github.com/microsoft/vscode repository.

Announcements (21)

  • 02:23 not stated Visual Studio Code

    Copilot Fusion model router

    A model router selectable in the model picker that routes requests to suitable models.

    Speaker’s quote (at 02:23)
    „selecting our new Copilot Fusion model router, which We'll talk a little bit about more a little bit later“
  • 02:48 not stated Visual Studio Code

    Assisted permissions

    A permission mode in which a model evaluates each tool call and decides what to approve instead of the user.

    Speaker’s quote (at 02:48)
    „I want to maybe let the agent decide what to approve. We have this new thing called assisted permission.“
  • 03:41 not stated Visual Studio Code

    Agents window

    An agent-centric VS Code window that shows the same chat session as the editor window with the chat as the main focus.

    Speaker’s quote (at 03:41)
    „the same session right here in this new thing we called the agents window.“
  • 05:45 not stated Visual Studio Code

    Copilot SDK adoption for the VS Code Copilot harness

    VS Code adopts the Copilot SDK so the same runtime and harness are used across all GitHub Copilot surfaces.

    Speaker’s quote (at 05:45)
    „with the Copilot SDK, We wanted to adopt this for the Copilot harness that we're using in VS Code.“
  • 06:17 not stated Visual Studio Code

    Agent Host Protocol (AHP)

    A shared protocol that keeps multiple client interfaces in sync with one persistent agent session running in an agent host.

    Speaker’s quote (at 06:17)
    „agent host protocol, the idea is it's a shared language for keeping interfaces in sync with an agent session safe.“
  • 09:40 not stated Visual Studio Code

    Mid-session harness switching

    Lets a user switch from a Claude or Codex harness to the Copilot harness mid-session and continue where they left off.

    Speaker’s quote (at 09:40)
    „if you run out of your codex or your cloud limits, you can switch harness mid-session.“
  • 11:01 not stated Visual Studio Code

    Compare models

    Runs the same prompt in parallel sessions across selected models or harnesses and has a judge model compare and synthesize the results.

    Speaker’s quote (at 11:01)
    „let's start with a really cool feature that I like, compare models.“
  • 16:11 not stated GitHub Copilot

    Copilot Fusion

    Routes a request to one model or a cascade of models (draft, main and review passes) depending on complexity and duration.

    Speaker’s quote (at 16:11)
    „what Copilot Fusion lets you do is it will end up choosing and routing the models to something that, like based on your request“
  • 19:57 not stated Visual Studio Code

    Blobby VS Code pet

    A mascot in the VS Code and Agents windows that can be dragged around and customised.

    Speaker’s quote (at 19:57)
    „he's kind of like a new pet slash mascot that we've kind of adopted here in VS Code.“
  • 20:26 not stated Visual Studio Code

    Copilot achievements

    Unlocks Blobby hats as users try Copilot chat features, to help them learn Copilot.

    Speaker’s quote (at 20:26)
    „there was the idea of making him kind of like a way for you to learn how to use Copilot. So we added these things called achievements.“
  • 24:04 not stated Visual Studio Code

    Markdown editor with in-preview editing

    Lets users view rendered Markdown in a locked mode or edit directly in the rendered preview.

    Speaker’s quote (at 24:04)
    „So here we also have this cool new markdown editor. So you can choose to lock it as I'm kind of scrolling through“
  • 26:18 not stated Visual Studio Code

    Integrated browser shared with the agent

    Shares the integrated browser page in the Agents window with the agent so it can see and interact with the page.

    Speaker’s quote (at 26:18)
    „this one lets me basically share the integrated browser directly in the agent's window with the agent.“
  • 28:09 not stated Visual Studio Code

    Add element to chat

    Attaches a clicked page element's information, HTML and CSS to the chat as context.

    Speaker’s quote (at 28:09)
    „There's an add element to chat button. And now I can go around, move this around.“
  • 29:10 not stated Visual Studio Code

    Canvases

    Agent-created, shareable custom views (e.g. a Kanban board) that tie directly into the agent in the Agents window.

    Speaker’s quote (at 29:10)
    „the idea behind canvases is that it's a way for you to basically the agent can help you create literally whatever you need to.“
  • 29:36 not stated Visual Studio Code

    Awesome Copilot canvas marketplace

    A marketplace of community canvases that can be installed into VS Code and customised.

    Speaker’s quote (at 29:36)
    „we've got this awesome marketplace here of different canvases that are available. It's called Awesome Copilot.“
  • 31:29 not stated Visual Studio Code

    HTML mockups in chat

    The agent renders HTML mockups directly in chat so changes can be previewed before code is modified.

    Speaker’s quote (at 31:29)
    „we've actually been working on a couple cool new features specifically in the agents window for now where you can actually have the agent mock up HTML directly in the chat“
  • 32:30 not stated Visual Studio Code

    Declarative UI in chat

    The agent renders lightweight interactive graphics and metrics inline in the chat.

    Speaker’s quote (at 32:30)
    „there's also another cool thing where it actually can have some declarative UI. And this declarative UI can help you make graphics or metrics.“
  • 32:56 not stated Visual Studio Code

    Image generation in Copilot chat

    Generates images from chat by delegating to GPT Image 2.5 regardless of the selected chat model.

    Speaker’s quote (at 32:56)
    „One of the other really cool things that we recently added is image generation.“
  • 33:48 roadmap Visual Studio Code

    Choice of image generation model

    Users will later be able to choose which model is used for image generation.

    Speaker’s quote (at 33:48)
    „Down the line, eventually you'll be able to choose which model you'd want to use.“
  • 39:12 not stated Visual Studio Code

    PR view in the Agents window

    Shows PR comments from people and Copilot code review, checks and pipelines, with Mark ready controls.

    Speaker’s quote (at 39:12)
    „it also has this really cool new view where I can see any comments that are generated either by an individual or by Copilot directly using Copilot code review.“
  • 39:12 not stated Visual Studio Code

    Agent merge

    Keeps working on the PR and fixing CI until all checks are green and the PR is merged.

    Speaker’s quote (at 39:12)
    „I can also turn on agent merge or autopilot where basically it will automatically continue to work and work and merge.“

Demos (9)

  • 01:55 Not stated GitHub Copilot in Visual Studio Code

    A developer starts an end-to-end agentic task from the editor window and continues the same session in the Agents window.

    Steps (6)
    1. Open the project in the VS Code editor window with the Copilot chat panel on the right.
    2. In the model picker select Copilot Fusion.
    3. In the agent mode picker switch from Interactive to Autopilot.
    4. In the permission picker choose Assisted permissions and confirm the Enable dialog.
    5. Type and send the implementation prompt.
    6. While it runs, click the button that opens the same session in the Agents window.

    Prerequisites: VS Code with GitHub Copilot chat; a project workspace (here the Blobby quiz site).

  • 11:26 Not stated GitHub Copilot in Visual Studio Code (Agents window)

    A developer compares several models on the same UI task to find the best model for their optimisation goal (speed, cost, quality).

    Steps (6)
    1. In the Agents window set the agent mode to Autopilot and the permission mode to Assisted or Allow all.
    2. Set the Copilot Fusion effort level (High in the recording).
    3. Select the models or harnesses to compare.
    4. Select the judge model and the synthesizer.
    5. Send the prompt; parallel nested sessions start under the parent orchestrator session and are shown in a grid.
    6. Review the judge's comparison table and the recommended winner with its rationale, validation and code quality notes.

    Prerequisites: VS Code Agents window with access to the compared models.

  • 19:57 Not stated Visual Studio Code

    A user enables the Blobby pet and uses achievements to learn Copilot features in a gamified way.

    Steps (6)
    1. Turn Blobby on via the VS Code Pet option.
    2. Drag Blobby around the window.
    3. Open Achievements to see unlocked and locked hats.
    4. Run /blobby in chat to change Blobby's colour.
    5. Select a hat, e.g. the wizard hat.
    6. Open the mini game while waiting for an agent to finish.
  • 23:37 Not stated Visual Studio Code Agents window

    A developer reviews and edits code and docs without leaving the Agents window.

    Steps (5)
    1. In the Agents window open the session's repo and view its changes.
    2. Click the button to open files and open a JavaScript file to edit it.
    3. Open a Markdown file (README) in the Markdown editor.
    4. Lock the editor to scroll in view mode, or click edit to edit in the rendered preview.
    5. Switch to another session to load that session's repo files.
  • 25:52 Not stated GitHub Copilot in Visual Studio Code (Agents window)

    A developer lets the agent operate a local web app in the integrated browser and then scopes context to a specific page element.

    Steps (5)
    1. Open the integrated browser via the globe icon or the 'Open Integrated Browser' command.
    2. Load the local site in the browser.
    3. Share the browser page with the agent.
    4. Send the prompt asking the agent to take the quiz and watch it click through the questions.
    5. Click 'Add element to chat' and select the page header to attach it as context.

    Prerequisites: A locally running web app (here the Blobby quiz site).

  • 28:40 Not stated GitHub Copilot in Visual Studio Code (Agents window)

    A developer tracks work with an agent-built canvas and imports community canvases from a marketplace.

    Steps (5)
    1. Ask the agent in the Agents window to create a Kanban canvas for planned Blobby types.
    2. Open the canvas full screen to review cards in Ideas, Shaping, Building, In review and Shipped.
    3. Browse the Awesome Copilot site and filter canvases by author.
    4. Click 'Install in VS Code' on a canvas (e.g. Token Pac-Man) and choose where to install it.
    5. Find the installed item in the VS Code Customizations view and customise it.
  • 31:29 Not stated GitHub Copilot in Visual Studio Code (Agents window)

    A developer previews UI ideas as HTML and charts in chat, generates an image asset and has the agent implement it.

    Steps (5)
    1. Ask the agent with /html-preview to turn the three in-review designs into card mockups and review the rendered cards in chat.
    2. Open the mockup in the editor window to see it is plain HTML.
    3. Ask for more interactive graphs and hover over the rendered metrics in chat.
    4. Ask the agent to generate a background image for Hype Blobby.
    5. Ask the agent to implement Hype Blobby as a personality type with the generated background.
  • 35:27 Not stated GitHub Copilot in Visual Studio Code (editor window)

    A developer who prefers control reviews agent changes in detail before accepting them.

    Steps (3)
    1. Open the editor window for the worktree containing agent edits.
    2. Browse the edits made by the agent across files.
    3. Keep or undo individual hunks or whole files.
  • 37:46 Not stated GitHub Copilot in Visual Studio Code (Agents window)

    A developer takes agent work from a worktree to a pull request and merge without leaving the Agents window.

    Steps (6)
    1. Select a session with a worktree in the Agents window.
    2. Click Create PR; Copilot generates the title and description.
    3. Choose auto-merge or manual merge and confirm.
    4. Open the created draft PR from the pill in the session.
    5. Review comments, Copilot code review, checks and pipelines.
    6. Mark the PR ready or turn on agent merge to fix CI until it merges.

    Prerequisites: A GitHub repository and a worktree with agent changes.

Watch on Microsoft’s site: BRK274