Microsoft Announces General Availability of Python Support for Microsoft Teams SDK
Microsoft Teams SDK for Python

Microsoft has officially announced the General Availability (GA) of Python support for the Microsoft Teams SDK. This release allows Python developers to build native Teams applications and autonomous agents using the same unified SDK surface previously available only to TypeScript and .NET developers.

Building Teams-Native Agents in Python

The GA release empowers developers to integrate orchestration logic, reasoning layers, and workflow automation directly into the Teams ecosystem. Key capabilities include:

  • First-Class Participation: Apps can join chats, channels, and meetings as fully integrated Teams entities.

  • Rich Conversational UX: Support for streaming responses and rendering Adaptive Cards directly within conversations.

  • Proactive Engagement: Agents can send autonomous, in-conversation messages to both individual users and groups.

  • Stack Flexibility: The SDK is designed to plug seamlessly into existing Python servers, agent frameworks, or Large Language Model (LLM) stacks.

Key Features for Production

The Python release focuses on reducing "boilerplate" code to move projects from prototype to production faster:

  • Decorator-Based Routing: Developers can handle mentions, messages, and events using familiar Python decorators, eliminating the need for custom dispatchers.

  • Built-in Authentication: The SDK handles first-class user OAuth and authentication flows natively.

  • Type-Safe Graph Access: Includes full type hints for calling Microsoft Graph as either a signed-in user or as the app itself.

  • Extensible Architecture: A plugin-based system allows for the composition of custom middleware, telemetry, and behaviors without altering core SDK code.

Getting Started

Developers can begin building immediately by installing the library via their terminal:

pip install microsoft-teams-apps

Microsoft has also updated the Teams CLI to support Python, enabling commands like app create to generate installation links and bypass manual package uploads.

This move democratizes Teams development by bringing it to the massive Python AI and data science ecosystem. By unifying the SDK across languages, Microsoft is ensuring that whether you build in C#, TypeScript, or Python, you have access to the same high-level features like Model Context Protocol (MCP) and proactive agentic behaviors.