Support Foundry Canvas in VS Code
Maintainers usually reply within 1 day
@qinezh is already working on this.
Since Oct 13, 2026.
Assessment
This issue has not been assessed yet.
Description
The microsoft-foundry plugin hard-codes a check for
process.env.AI_AGENT === "github_copilot_app_agent"
This is causing it only to work in the GitHub Copilot App.
As we add Canvas support to VS Code, could you please also allow for VS Code as well?
process.env.AI_AGENT === "github_copilot_app_agent" || AI_AGENT === "github_copilot_vscode_agent"
Verbose AI-generated details below:
Problem
The microsoft-foundry plugin is discovered and synchronized into VS Code Agent Host sessions, but it contributes no canvases because its bundled extension only enables its tools, companion instructions, and canvases when:
process.env.AI_AGENT === "github_copilot_app_agent"
VS Code intentionally identifies its Copilot agent processes as:
github_copilot_vscode_agent
See AiAgentEnvValue in microsoft/vscode.
The host check is visible in microsoft-foundry/com.github.copilot/extensions/microsoft-foundry/extension.mjs: when the check is false, the extension joins the session with an empty canvases array.
Reproduction
- Install the
microsoft-foundryplugin in VS Code. - Enable
chat.canvases.enabled. - Create a new local Copilot Agent Host session.
- Confirm the plugin is enabled and synchronized into the session.
- List available canvases.
The Foundry agent-builder canvas is absent because VS Code supplies AI_AGENT=github_copilot_vscode_agent.
Requested behavior
Please support github_copilot_vscode_agent in addition to github_copilot_app_agent, so the Foundry canvases can be registered in VS Code when the host provides the required Canvas capabilities.
For example, the host admission check could accept both known identifiers, or preferably feature-detect the specific Canvas/RPC capabilities the extension needs. The latter would allow App-specific integrations such as terminal and browser canvases to degrade explicitly if a host does not provide them.
Expected result
With canvases enabled, a new VS Code Copilot Agent Host session discovers the agent-builder canvas and can open it through the normal Canvas extension APIs without changing existing GitHub Copilot App behavior.
🤖 Written by GitHub Copilot on behalf of @jruales.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 1d 50m
- Merged PRs (30d)
- 32
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/foundry-dev-tools
-
yOpenneeds attention
Difficulty 4/5 1-2 days Newbie friendliness 18/100
microsoft/foundry-dev-tools#863 · 1 comment ·
Maintainers usually reply within 1 day
-
Agent1Openneeds attention
Difficulty 4/5 3-5 days Newbie friendliness 22/100
microsoft/foundry-dev-tools#862 · 1 comment ·
Maintainers usually reply within 1 day
-
Foundry Toolkit and Foundry Local Model issuePossibly taken @a1exwang claimed this 1 day ago. Openneeds attention
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/foundry-dev-tools#854 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
issueOpenneeds attention
Difficulty 3/5 Half a day Newbie friendliness 35/100
microsoft/foundry-dev-tools#853 · 1 comment ·
Maintainers usually reply within 1 day
-
foundrytoolOpenneeds attention
Difficulty 5/5 Over a week Newbie friendliness 10/100
microsoft/foundry-dev-tools#852 · 3 comments ·
Maintainers usually reply within 1 day
All issues in microsoft/foundry-dev-tools
Similar issues
-
t0ggles
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nolimits4web/swiper#8240 · 1 comment ·
-
netbox status: backlog topic: testing type: housekeeping
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
netbox-community/netbox#23395 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
[scanner] check:spelling skips blog/ — posts and author metadata are never spell-checkedPossibly taken @hivecommons-hive claimed this today. Openagent/scanner bug hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 72/100
cncf/endusers#1452 · 1 comment ·
Maintainers usually reply within 1 day
-
Edit: HTVKey.vnOpenchannels:edit check:passed
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 6 days