Customize a hosted agent from the GitHub Copilot Chat window using Foundry Canvas
Microsoft Developer shows how to build and customize a hosted agent directly from the GitHub Copilot Chat window using Foundry Canvas, focusing on moving from an initial agent to a more production-ready setup with best-practice checks, generated fixes, observability upgrades, and testing with Agent Inspector.
Overview
Building agents often involves repetitive setup (project scaffolding and deployment configuration) before you can validate an idea. This video demonstrates creating and iterating on a customized hosted agent from within the GitHub Copilot Chat window using Foundry Canvas.
What the video covers
Is your agent production-ready?
The video frames the workflow around assessing whether an existing agent is ready for production use.
Review the existing agent
- Starts from an existing agent implementation.
- Reviews what is already in place before making changes.
Add Microsoft Foundry skills
- Adds skills from Microsoft Foundry to extend the agent.
- Uses Foundry Canvas as the place to assemble/customize the hosted agent.
Identify best-practice gaps
- Checks the agent for gaps against best practices.
- Uses the findings to drive concrete improvements.
Fix issues with GitHub Copilot
- Uses GitHub Copilot (via the Copilot Chat window) to generate changes that address the identified issues.
Review the generated changes
- Reviews what Copilot produced before proceeding.
Upgrade toolbox and observability
- Improves the agent’s supporting tooling.
- Adds or upgrades observability so the agent is easier to operate and troubleshoot.
Test with Agent Inspector
- Uses Agent Inspector to test and validate the agent.
Production-ready agent recap
- Recaps the changes that move the agent closer to production readiness.