A collection of sample solutions that demonstrate what is possible with the Microsoft Graph Package Management (Inventory) API — a Microsoft Graph API that gives tenant admins programmatic access to manage Copilot agents deployed in their tenant.
Please note - Access to the Package Management API requires enrollment in the Frontier program at the time of writing.
Each sample targets a different platform or persona and is designed as a reference implementation and starting point, not a production-ready solution.
All samples in this repository are built on the Microsoft Graph Package Management API (/beta/copilot/admin/catalog/packages). This API exposes a catalog of Copilot agents (packages) available in a tenant, including agents built with Agent Builder, Copilot Studio, Pro Dev Tools and 1P/3P agents.
Common capabilities unlocked by the API include:
- Listing all Copilot agents available in a tenant.
- Retrieving detailed metadata for a specific agent.
- Identifying duplicate, orphaned, or underused agents.
- Supporting governance workflows such as attestation and lifecycle management.
At the time of writing, the API supports delegated permissions only with application permissions planned.
| Sample | Platform | Description |
|---|---|---|
| Agent Steward | Microsoft 365 Copilot Declarative Agent | A declarative agent built with theM365 Agents Toolkit for IT admins to discover, analyse, and govern Copilot agents — with a focus on identifying duplicates and surfacing org-wide consolidation opportunities. |
| Attestation - COMING SOON | Microsoft Power Platform | A Power Automate-based solution that retrieves agent inventory from the API, stores it in SharePoint or Dataverse, and drives attestation and lifecycle management workflows. |
Contributions are welcome. If you have built something on top of the Copilot Package Management API and want to share it as a sample, fork the repo, open a pull request with your solution in a new folder under samples/.
Please include a README.md in your sample folder that covers what it does, prerequisites, and how to deploy it.
MIT — see LICENSE for details.
Note: These samples are community-maintained and are not covered by a Microsoft support SLA.