m365-agents-ts

Featured

Microsoft 365 Agents SDK for TypeScript/Node.js.

AI & Automation 49,938 stars 7238 forks Updated today MIT

Install

View on GitHub

Quality Score: 98/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
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category