Getting started
From sample to working agent
Start with a scenario, choose the right extensibility approach, and follow the sample's own documentation. Each sample is self-contained.
Find a sample- 1
Choose a scenario
Browse declarative agents, plugins, custom engine agents, and Copilot Studio examples.
- 2
Check prerequisites
Review the sample's tenant, licensing, toolchain, permissions, and service requirements before deploying.
- 3
Build and try it
Download or clone the source, then follow that sample's README for configuration, deployment, and testing.
Get the code
Work in one sample folder
git clone https://github.com/pnp/copilot-pro-dev-samples.git
cd copilot-pro-dev-samples
cd samples
cd <sample-folder>Or use Download sample on a sample's page to download just that folder. There is no single build command for all samples.
Choose your approach
Match the sample to your goal
- Declarative agents: use Microsoft 365 Copilot orchestration with instructions, knowledge, and actions.
- Plugins: add agent skills or connectors to supported Copilot experiences.
- Custom engine agents: bring your own orchestration and code.
- Copilot Studio: build and extend agents using Copilot Studio.
Use a development tenant and sample data. Review permissions and remove secrets before sharing changes.
Official guidance
Build on the supported platform
Use the current Microsoft documentation alongside the sample's README. Licensing and setup requirements vary by agent type and services used.