microsoft-foundry — GitHub Copilot plugin for Foundry agents
This plugin adds a Copilot Canvas for building Microsoft Foundry hosted agents. Pick a project, configure its resources, deploy the agent, and inspect it locally.
copilot plugin install microsoft-foundry@awesome-copilotWhat microsoft-foundry does
The side-panel Canvas connects to your Foundry projects. Sign in, search subscriptions and projects, then browse deployed models, Foundry Toolboxes and their tools, project skills, and account guardrails. Choices made in the Canvas become prompts for the current Copilot session, with the selected project, subscription, and endpoint attached.
Start with an **Inspire me** idea or a **Hello world** sample, connect existing resources, and choose **Deploy to Foundry**. For local inspection, **Inspect Locally** launches or reuses azd ai agent run --no-inspector in Copilot’s integrated terminal and embeds the bundled inspector. The workspace must contain a runnable Foundry hosted agent; the inspector waits for it on port 8088.
What it helps with
- find a Foundry subscription and project
- choose a deployed model for an agent
- connect an existing toolbox, skill, or guardrail
- deploy a hosted agent to Foundry
- inspect a hosted agent locally
Example prompts for the agent
- Create a Microsoft Foundry hosted agent and open the Canvas.
- Choose my Foundry project and connect an existing toolbox to the agent.
- Inspect the runnable hosted agent in this workspace locally.
How to install microsoft-foundry
Command from the source
copilot plugin install microsoft-foundry@awesome-copilotStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about microsoft-foundry
How do I install microsoft-foundry in GitHub Copilot?
Run copilot plugin install microsoft-foundry@awesome-copilot.
What does microsoft-foundry do?
It adds a Canvas for designing Microsoft Foundry hosted agents. Use it to select project resources, configure an agent, deploy it, and inspect it locally.
What does local inspection require?
The workspace must contain a runnable Foundry hosted agent. The Canvas launches or reuses azd ai agent run --no-inspector, and the inspector waits for the agent on port 8088.
Source text
microsoft-foundry · MIT
# Microsoft Foundry Canvas A GitHub Copilot App canvas extension for designing Microsoft Foundry hosted agents from a side panel. It combines live Foundry project discovery with project-aware prompts to Copilot, portal handoffs, and an embedded local Agent Inspector. ## Features - **Project picker** - sign in, search subscriptions and Foundry projects, switch projects, and retain the selection across canvas reopens. - **Live project resources** - browse deployed models, Foundry Toolboxes and their tools, project skills, and account guardrails. - **Project-aware chat handoff** - model, toolbox, skill, guardrail, initialization, and deployment choices send a ready-to-run prompt to the current Copilot session with the selected project, subscription, and endpoint attached. - **Embedded Agent Inspector** - **Inspect Locally** launches or reuses `azd ai agent run --no-inspector` in the Copilot integrated terminal, waits for the agent on port `8088`, and embeds the bundled inspector. Inspector errors can be sent back to Copilot as fix requests. ## Install Open GitHub Copilot App, go to the **Customize** tab, select **Plugin**, and search for `microsoft-foundry`. Install the plugin from the [awesome-copilot marketplace](https://awesome-copilot.github.com/plugin/microsoft-foundry/). ## Usage 1. Ask Copilot to *create a Foundry hosted agent*, then the Canvas will be opened in the right panel automatically. 2. Open the canvas project menu, sign in if needed, and choose a subscription and Foundry project. 3. Create a hosted agent with random idea via **Inspire me**, or start from a **Hello world** sample prompt. 4. Switch to other deployed models, connect existing toolboxes, skills, or guardrails for the created agent. 5. Click **Deploy to Foundry** when the agent is ready. 6. Click **Inspect Locally** after the workspace contains a runnable Foundry hosted agent.
© Microsoft · MIT · microsoft/foundry-dev-tools