Skip to content

M365 agents py vs M365 agents ts

M365 agents py is an open-source agent skill for developer tools. M365 agents ts is an open-source agent skill for developer tools.

  • M365 agents py is best for build a teams bot that replies to chat messages in python.
  • M365 agents ts is best for build a teams agent that responds to greetings and keyword commands.
What it is
M365 agents py is an open-source agent skill for developer tools.
M365 agents ts is an open-source agent skill for developer tools.
Best for
Build a Teams bot that replies to chat messages in Python
Build a Teams agent that responds to greetings and keyword commands
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
GitHub stars
3.2K
3.2K
Last commit
Nov 2026
Nov 2026
License
MIT
MIT
Open source
Good for
Build a Teams bot that replies to chat messages in Python; Add a Microsoft Graph lookup behind a user sign-in command; Stream Azure OpenAI answers into a Microsoft 365 agent conversation
Build a Teams agent that responds to greetings and keyword commands; Stream an Azure OpenAI completion back to a Microsoft 365 chat in real time; Connect a Node.js service to a Copilot Studio agent and send it questions

What M365 agents py does

  • aiohttp agent hosting

    Sets up a CloudAdapter, JWT middleware and a POST endpoint that runs agent turns on aiohttp.

  • Activity routing

    Covers decorators for conversation updates, text patterns, invoke activities and fallback handlers.

  • Streaming responses

    Shows streaming Azure OpenAI output into a chat reply with informative updates and labels.

  • MSAL authentication

    Explains connection manager setup and environment-based configuration for bot credentials.

  • OAuth sign-in

    Demonstrates protecting routes with auth handlers, token retrieval, and sign-out.

  • Copilot Studio client

    Provides an example of starting a conversation and asking questions to a Copilot Studio agent.

What M365 agents ts does

  • AgentApplication message routing

    Shows how to register handlers for conversation updates, text matches and generic activities.

  • Express server hosting

    Explains starting the agent over an Express server with startServer.

  • Streaming responses

    Covers sending text chunks and progress updates while a reply is generated, then ending the stream.

  • Invoke activity handling

    Demonstrates responding to invoke activities with a status payload and a follow-up message.

  • Copilot Studio client integration

    Covers starting conversations and sending questions to a Copilot Studio agent from TypeScript.

  • WebChat embedding

    Shows connecting the Copilot Studio client to a WebChat front end via Direct Line.

M365 agents py vs M365 agents ts: questions

Is M365 agents py or M365 agents ts cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between M365 agents py and M365 agents ts?

M365 agents py is an open-source agent skill for developer tools. M365 agents ts is an open-source agent skill for developer tools.

Keep comparing