|
| 1 | +# Overview of the Resource Assistant agent sample |
| 2 | + |
| 3 | + |
| 4 | +🚀 Resource Allocation Assistant is a Microsoft Teams Declarative AI Agent designed to help managers and project leads assess workloads, identify resource bottlenecks, and optimize task distribution within their teams. This AI-powered agent provides smart workload insights and recommendations based on user input, ensuring balanced work allocation and preventing burnout. |
| 5 | + |
| 6 | +## 🛠 **Features** |
| 7 | +✅ **Workload Assessment** – Helps managers evaluate ongoing tasks and resource availability. |
| 8 | +✅ **Task Redistribution** – Suggests optimal ways to balance workloads across team members. |
| 9 | +✅ **Bottleneck Detection** – Identifies overworked employees and underutilized resources. |
| 10 | + |
| 11 | +## Get started with the template |
| 12 | + |
| 13 | +> **Prerequisites** |
| 14 | +> |
| 15 | +> To run this app template in your local dev machine, you will need: |
| 16 | +> |
| 17 | +> - [Node.js](https://nodejs.org/), supported versions: 18, 20 |
| 18 | +> - A [Microsoft 365 account for development](https://docs.microsoft.com/microsoftteams/platform/toolkit/accounts). |
| 19 | +> - [Teams Toolkit Visual Studio Code Extension](https://aka.ms/teams-toolkit) version 5.0.0 and higher or [Teams Toolkit CLI](https://aka.ms/teamsfx-toolkit-cli) |
| 20 | +> - [Microsoft 365 Copilot license](https://learn.microsoft.com/microsoft-365-copilot/extensibility/prerequisites#prerequisites) |
| 21 | +
|
| 22 | + |
| 23 | + |
| 24 | +1. First, select the Teams Toolkit icon on the left in the VS Code toolbar. |
| 25 | +2. In the Account section, sign in with your [Microsoft 365 account](https://docs.microsoft.com/microsoftteams/platform/toolkit/accounts) if you haven't already. |
| 26 | +3. Create Teams app by clicking `Provision` in "Lifecycle" section. |
| 27 | +4. Select `Preview in Copilot (Edge)` or `Preview in Copilot (Chrome)` from the launch configuration dropdown. |
| 28 | +5. Once the Copilot app is loaded in the browser, click on the "…" menu and select "Copilot chats". You will see your declarative agent on the right rail. Clicking on it will change the experience to showcase the logo and name of your declarative agent. |
| 29 | +6. Ask a question to your declarative agent and it should respond based on the instructions provided. |
| 30 | + |
| 31 | +## What's included in the template |
| 32 | + |
| 33 | +| Folder | Contents | |
| 34 | +| ------------ | ---------------------------------------------------------------------------------------- | |
| 35 | +| `.vscode` | VSCode files for debugging | |
| 36 | +| `appPackage` | Templates for the Teams application manifest, the GPT manifest and the API specification | |
| 37 | +| `env` | Environment files | |
| 38 | + |
| 39 | +The following files can be customized and demonstrate an example implementation to get you started. |
| 40 | + |
| 41 | +| File | Contents | |
| 42 | +| ---------------------------------- | ---------------------------------------------------------------------------- | |
| 43 | +| `appPackage/declarativeAgent.json` | Define the behaviour and configurations of the declarative agent. | |
| 44 | +| `appPackage/manifest.json` | Teams application manifest that defines metadata for your declarative agent. | |
| 45 | + |
| 46 | +The following are Teams Toolkit specific project files. You can [visit a complete guide on Github](https://github.com/OfficeDev/TeamsFx/wiki/Teams-Toolkit-Visual-Studio-Code-v5-Guide#overview) to understand how Teams Toolkit works. |
| 47 | + |
| 48 | +| File | Contents | |
| 49 | +| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | |
| 50 | +| `teamsapp.yml` | This is the main Teams Toolkit project file. The project file defines two primary things: Properties and configuration Stage definitions. | |
| 51 | + |
| 52 | +## Extend the template |
| 53 | + |
| 54 | +- [Add conversation starters](https://learn.microsoft.com/microsoft-365-copilot/extensibility/build-declarative-agents?tabs=ttk&tutorial-step=3): Conversation starters are hints that are displayed to the user to demonstrate how they can get started using the declarative agent. |
| 55 | +- [Add web content](https://learn.microsoft.com/microsoft-365-copilot/extensibility/build-declarative-agents?tabs=ttk&tutorial-step=4) for the ability to search web information. |
| 56 | +- [Add OneDrive and SharePoint content](https://learn.microsoft.com/microsoft-365-copilot/extensibility/build-declarative-agents?tabs=ttk&tutorial-step=5) as grounding knowledge for the agent. |
| 57 | +- [Add Microsoft Graph connectors content](https://learn.microsoft.com/microsoft-365-copilot/extensibility/build-declarative-agents?tabs=ttk&tutorial-step=6) to ground agent with enterprise knowledge. |
| 58 | +- [Add API plugins](https://learn.microsoft.com/microsoft-365-copilot/extensibility/build-declarative-agents?tabs=ttk&tutorial-step=7) for agent to interact with REST APIs. |
| 59 | + |
| 60 | +## Addition information and references |
| 61 | + |
| 62 | +- [Declarative agents for Microsoft 365](https://aka.ms/teams-toolkit-declarative-agent) |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
0 commit comments