https://github.com/microsoft/learn-declarative-agent-api-plugin-typescript
Starter project for the Build your first action for declarative agents with API plugin by using Visual Studio Code learn module
https://github.com/microsoft/learn-declarative-agent-api-plugin-typescript
declarative-agent microsoft-365 microsoft-365-copilot typescript
Last synced: 9 months ago
JSON representation
Starter project for the Build your first action for declarative agents with API plugin by using Visual Studio Code learn module
- Host: GitHub
- URL: https://github.com/microsoft/learn-declarative-agent-api-plugin-typescript
- Owner: microsoft
- License: mit
- Created: 2024-10-17T09:16:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-01T13:38:58.000Z (9 months ago)
- Last Synced: 2025-04-15T14:13:36.994Z (9 months ago)
- Topics: declarative-agent, microsoft-365, microsoft-365-copilot, typescript
- Language: TypeScript
- Homepage: https://learn.microsoft.com/training/modules/copilot-declarative-agent-action-api-plugin-vsc
- Size: 418 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
README
# Browse the menu and place an order at a local Italian restaurant using Microsoft 365 Copilot
## Summary
This is a starter project for the [**Build your first action for declarative agents with API plugin by using Visual Studio Code**](https://learn.microsoft.com/training/modules/copilot-declarative-agent-action-api-plugin-vsc/) learn module. The module teaches you how to build a declarative agent for Microsoft 365 Copilot that allows you to browse a menu of a local Italian restaurant and place an order. The agent uses an API plugin to connect to an anonymous API. The project contains an Azure Function that serves as the API.


## Features
This sample illustrates the following concepts:
* Building a declarative agent for Microsoft 365 Copilot with an API plugin
* Connecting an API plugin to an anonymous API
* Using [dev tunnels](https://learn.microsoft.com/azure/developer/dev-tunnels/overview) to test the API plugin locally
## Prerequisites
* Microsoft 365 tenant with Microsoft 365 Copilot
* [Visual Studio Code](https://code.visualstudio.com/) with the [Teams Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) extension
* [Node.js v18](https://nodejs.org/en/download/package-manager)
* [Azure Functions Core Tools](https://learn.microsoft.com/azure/azure-functions/functions-run-local#install-the-azure-functions-core-tools)
## Minimal path to awesome
* Clone this repository
* Open the Teams Toolkit extension and sign in to your Microsoft 365 tenant with Microsoft 365 Copilot
* Select **Debug in Copilot (Edge)** from the launch configuration dropdown
## 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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## 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](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
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.