← Open Source

microsoft/CopilotStudioSamples on GitHub: TypeScript, Tutorials, Tool-specific tutorials.

TutorialsTool-specific tutorialsTypeScript
Momentum
+0stars in 24 hours0.0%
808
Stars
496
Forks
+-1
This week
62
Contributors
Created 2019-10-28 · Updated 2026-11-30 · #15816 today
Top developers
README
title Home
layout home
nav_order 0
description Samples and artifacts for Microsoft Copilot Studio

Microsoft Copilot Studio Samples

Employee Self-Service samples have moved

The Employee Self-Service samples have a new home in the Employee Self-Service Agent Developer Kit (ADK). If you have been using the Workday or facilities management samples here, please use the ADK samples going forward.

To help you find the right version, choose your agent type below. Custom Engine Agent (CEA) and Declarative Agent (DA) Preview samples are on the main-ca branch. Generally available (GA) Declarative Agent samples are on the main branch.

Your agent New sample location
Custom Engine Agent (CEA) Browse CEA samples (main-ca branch)
Declarative Agent (DA) Preview Browse DA Preview samples (main-ca branch)
Declarative Agent (DA), generally available (GA) Browse DA GA samples (main branch)

Important: The EmployeeSelfServiceAgent/ folder in this repository will be deleted by December 31, 2026. Please update your bookmarks and any links to these samples before that date so you can find them in their new location. This change applies only to the Employee Self-Service samples; the rest of this repository is not affected.

Overview

This repository contains samples and artifacts for Microsoft Copilot Studio.

Older samples and labs, largely focused on Power Virtual Agents, have been moved to the Legacy branch of this repo.

Useful links for Microsoft Copilot Studio

Description Link
Home page aka.ms/CopilotStudio
Official blog aka.ms/CopilotStudioBlog
Community forum aka.ms/CopilotStudioCommunity
Product documentation aka.ms/CopilotStudioDocs
Guidance documentation aka.ms/CopilotStudioGuidance
Try Copilot Studio aka.ms/TryCopilotStudio
Copilot Acceleration Team technical blog aka.ms/TheCustomEngine
Samples browser microsoft.github.io/CopilotStudioSamples

Microsoft Copilot Studio and Agents SDK links

Description Link
M365 Agents SDK Github Repo for the M365 Agents SDK
M365 Agents SDK - C# Github Repo for the C# M365 Agents SDK
M365 Agents SDK - JavaScript Github Repo for the M365 Agents SDK
M365 Agents SDK - Python Github Repo for the M365 Agents SDK
Adaptive Cards Adaptive Cards docs and builder
Web Chat Web Chat Github Repo
Power Platform Snippets Copilot Studio snippets

Samples by Category

Folder Description
authoring/ Importable solutions (PnP format) and copy-paste snippets for topics and Adaptive Cards
contact-center/ Contact center integrations and live agent handoff
extensibility/ MCP servers, A2A protocol, and M365 Agents SDK samples
guides/ Implementation guidance and best practices
infrastructure/ Deployment templates and VNet configurations
sso/ Single Sign-On with Entra ID and Okta
testing/ Functional testing (pytest) and load testing (JMeter)
ui/ Custom chat UIs and platform embed samples (ServiceNow, Power Apps, SharePoint)
EmployeeSelfServiceAgent/ These samples now live in the Employee Self-Service Agent Developer Kit. Choose Custom Engine Agent (CEA) or Declarative Agent (DA) Preview samples on main-ca, or generally available (GA) Declarative Agent samples on main. Please update your links before this folder is deleted by December 31, 2026.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Support

Although the underlying features and components used to build these samples are fully supported (such as Copilot Studio bots, Power Platform products and capabilities, etc.), the samples themselves represent example implementations of these features. Our customers, partners, and community can use and customize these features to implement capabilities in their organizations.

If you face issues with:

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include Microsoft, Azure, DotNet, AspNet, Xamarin, and our GitHub organizations.

If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's definition of a security vulnerability, please report it to us as described below.

Reporting Security Issues

Please do not report security vulnerabilities through public GitHub issues.

Instead, please report them to the Microsoft Security Response Center (MSRC) at https://msrc.microsoft.com/create-report.

If you prefer to submit without logging in, send email to secure@microsoft.com. If possible, encrypt your message with our PGP key; please download it from the Microsoft Security Response Center PGP Key page.

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at microsoft.com/msrc.

Microsoft follows the principle of Coordinated Vulnerability Disclosure.

Copyright (c) Microsoft Corporation. All rights reserved.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store