Microsoft 365 Agents SDK for TypeScript/Node.js. Build multichannel agents for Teams/M365/Copilot Studio with AgentApplication routing, Express hosting, streaming responses, and Copilot Studio client integration. Triggers: "Microsoft 365 Agents SDK", "@microsoft/agents-hosting", "AgentApplication", "startServer", "streamingResponse", "Copilot Studio client", "@microsoft/agents-copilotstudio-client".
SkillScore91Maintained
Automatic
◆AI Engineer pack
Last verified 8/11/2026
What it changes
Passed 20 of 22 test cases with the skill, and 6 of 22 without it.
Without skill27%
With skill91%
Checks it passed that the model alone missed
Calls setSensitivityLabel on context.streamingResponse.
References COPILOT_CLIENT_ID from environment variables.
Reuses the CopilotStudioClient instance across requests.
and 19 more in the full report
14 fixed6 passed either way2 still failing0 broke
Pass-rate lift
+64 pp
Tokens
+20%
Agent turns
0%
Response time
-48%
Model gemini-3.6-flashMeasured 8/11/2026v120 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 14
Prompt
When a new user enters a chat with our Microsoft 365 agent TypeScript backend, we want to deliver a greeting. What method on AgentApplication registers a callback for new conversation members?
What was checked, without and with the skill
Checked
Without skill
With skill
Calls agent.onConversationUpdate with membersAdded as the event name.
Missed
Passed
case-08 · gemini-3.6-flash · 8/11/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md185 linessingle file
Microsoft 365 Agents SDK (TypeScript)
Build enterprise agents for Microsoft 365, Teams, and Copilot Studio using the Microsoft 365 Agents SDK with Express hosting, AgentApplication routing, streaming responses, and Copilot Studio client integrations.
Before implementation
Use the microsoft-docs MCP to verify the latest API signatures for AgentApplication, startServer, and CopilotStudioClient.
Confirm package versions on npm before wiring up samples or templates.