Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions extensibility/agents-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Server-side implementations using the M365 Agents SDK to extend Copilot Studio a
| Sample | Description |
|--------|-------------|
| [call-agent-connector/](./call-agent-connector/) | Azure Function connector for calling agents |
| [m365-langgraph-mcs-tool/](./m365-langgraph-mcs-tool/) | LangGraph + Azure OpenAI agent (Teams / M365 Copilot) that calls a Copilot Studio agent as a tool with delegated SSO |
| [multilingual-bot/](./multilingual-bot/) | Multilingual bot with automatic translation |
| [relay-bot/](./relay-bot/) | Relay bot pattern implementation |
| [Copilot Studio Client](./copilotstudio-client/) | Console app to consume an agent (.NET, Node, Python) — *M365 Agents SDK repo* |
Expand Down
23 changes: 23 additions & 0 deletions extensibility/agents-sdk/m365-langgraph-mcs-tool/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# TeamsFx files
env/.env.*.user
env/.env.local
env/.env.sandbox
.localConfigs
.notification.localstore.json
appPackage/build

# dependencies
node_modules/


# misc
.env
.deployment
.DS_Store

# build
lib/
dist/

# Dev tool directories
/devTools/
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"TeamsDevApp.ms-teams-vscode-extension"
]
}
210 changes: 210 additions & 0 deletions extensibility/agents-sdk/m365-langgraph-mcs-tool/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Remote in Teams (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "2-Teams",
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote in Teams (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "2-Teams",
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch App (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{local:TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"cascadeTerminateToConfigurations": [
"Attach to Local Service"
],
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"perScriptSourcemaps": "yes"
},
{
"name": "Launch App (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{local:TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"cascadeTerminateToConfigurations": [
"Attach to Local Service"
],
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"perScriptSourcemaps": "yes"
},
{
"name": "Attach to Local Service",
"type": "node",
"request": "attach",
"port": 9239,
"restart": true,
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote in Teams (Desktop)",
"type": "node",
"request": "launch",
"preLaunchTask": "Start App in Desktop Client (Remote)",
"presentation": {
"group": "2-Teams",
"order": 6
},
"internalConsoleOptions": "neverOpen",
},
{
"name": "(Preview) Launch Remote in Copilot (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${agent-hint}?auth=2&${account-hint}&developerMode=Basic",
"cascadeTerminateToConfigurations": ["Attach to Local Service"],
"presentation": {
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9222",
"--no-first-run"
]
},
{
"name": "(Preview) Launch Remote in Copilot (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${agent-hint}?auth=2&${account-hint}&developerMode=Basic",
"cascadeTerminateToConfigurations": ["Attach to Local Service"],
"presentation": {
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9223",
"--no-first-run"
]
},
{
"name": "Launch in Copilot (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${local:agent-hint}?auth=2&${account-hint}&developerMode=Basic",
"cascadeTerminateToConfigurations": ["Attach to Local Service"],
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9222",
"--no-first-run"
]
},
{
"name": "Launch in Copilot (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${local:agent-hint}?auth=2&${account-hint}&developerMode=Basic",
"cascadeTerminateToConfigurations": ["Attach to Local Service"],
"presentation": {
"group": "all",
"hidden": true
},
"internalConsoleOptions": "neverOpen",
"runtimeArgs": [
"--remote-debugging-port=9223",
"--no-first-run"
]
}
],
"compounds": [
{
"name": "Debug in Teams (Edge)",
"configurations": [
"Launch App (Edge)",
"Attach to Local Service"
],
"preLaunchTask": "Start App Locally",
"presentation": {
"group": "2-Teams",
"order": 1
},
"stopAll": true
},
{
"name": "Debug in Teams (Chrome)",
"configurations": [
"Launch App (Chrome)",
"Attach to Local Service"
],
"preLaunchTask": "Start App Locally",
"presentation": {
"group": "2-Teams",
"order": 2
},
"stopAll": true
},
{
"name": "Debug in Teams (Desktop)",
"configurations": [
"Attach to Local Service"
],
"preLaunchTask": "Start App in Desktop Client",
"presentation": {
"group": "2-Teams",
"order": 3
},
"stopAll": true
},
{
"name": "(Preview) Debug in Copilot (Edge)",
"configurations": [
"Launch in Copilot (Edge)",
"Attach to Local Service"
],
"preLaunchTask": "Start App Locally",
"presentation": {
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "(Preview) Debug in Copilot (Chrome)",
"configurations": [
"Launch in Copilot (Chrome)",
"Attach to Local Service"
],
"preLaunchTask": "Start App Locally",
"presentation": {
"group": "3-M365",
"order": 2
},
"stopAll": true
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"debug.onTaskErrors": "abort",
"json.schemas": [
{
"fileMatch": [
"/aad.*.json"
],
"schema": {}
}
]
}
Loading