m365-agents-ts

Solid

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".

AI & Automation 2,429 stars 272 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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. ## Installation ```bash npm install @microsoft/agents-hosting @microsoft/agents-hosting-express @microsoft/agents-activity npm install @microsoft/agents-copilotstudio-client ``` ## Environment Variables ```bash PORT=3978 AZURE_RESOURCE_NAME=<azure-openai-resource> AZURE_API_KEY=<azure-openai-key> AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o-mini TENANT_ID=<tenant-id> CLIENT_ID=<client-id> CLIENT_SECRET=<client-secret> COPILOT_ENVIRONMENT_ID=<environment-id> COPILOT_SCHEMA_NAME=<schema-name> COPILOT_CLIENT_ID=<copilot-app-client-id> COPILOT_BEARER_TOKEN=<copilot-jwt> ``` ## Core Workflow: Express-hosted AgentApplication ```typescript import { AgentApplication, TurnContext, TurnState } from "@microsoft/agents-hosting"; import { startServer } from "@microsoft/agents-hosting-express"; const agent = new AgentApplication<TurnState>(); agent.onConversationUpdate("membersAdded", async (context: TurnContext) => { await context.sendActivity("Welcome to the agent."); }); agent.onMessage("hello", async (context: Tu...

Details

Author
microsoft
Repository
microsoft/skills
Created
4 months ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

m365-agents-ts

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".

335 Updated today
aiskillstore
AI & Automation Solid

m365-agents-ts

Microsoft 365 Agents SDK for TypeScript/Node.js.

39,350 Updated today
sickn33
AI & Automation Solid

m365-agents-dotnet

Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams/M365/Copilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth. Triggers: "Microsoft 365 Agents SDK", "Microsoft.Agents", "AddAgentApplicationOptions", "AgentApplication", "AddAgentAspNetAuthentication", "Copilot Studio client", "IAgentHttpAdapter".

2,429 Updated 2 days ago
microsoft
AI & Automation Listed

m365-agents-dotnet

Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams/M365/Copilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth. Triggers: "Microsoft 365 Agents SDK", "Microsoft.Agents", "AddAgentApplicationOptions", "AgentApplication", "AddAgentAspNetAuthentication", "Copilot Studio client", "IAgentHttpAdapter".

335 Updated today
aiskillstore
AI & Automation Featured

m365-agents-dotnet

Microsoft 365 Agents SDK for .NET. Build multichannel agents for Teams/M365/Copilot Studio with ASP.NET Core hosting, AgentApplication routing, and MSAL-based auth.

39,350 Updated today
sickn33