--- id: microsoft-agents-hosting-teams version: "1.3.0" license: MIT license_treatment: permissive maintenance: active --- # microsoft-agents-hosting-teams — Integration library for Microsoft Agents with Teams License: permissive · Maintenance: active · Downloads: 214.3K/mo ## What it is and what it does This package extends the Microsoft 365 Agents SDK with Teams-specific integration, providing handlers and utilities to make agents native to Microsoft Teams rather than generic chatbots. It wraps core hosting capabilities with Teams-specific event handlers and interaction patterns, including messaging extensions for search and actions, task modules for interactive dialogs, adaptive card support, and meeting event integration. The library is part of a larger SDK ecosystem that supports multiple platforms (Teams, M365 Copilot, Copilot Studio, web chat, Slack, Facebook Messenger, Twilio). It depends on microsoft-agents-hosting-core for base functionality and aiohttp for async HTTP operations. The package targets Python 3.12 and later and is actively maintained, though the description notes that Teams interfaces continue to evolve. Use it for: - Build a Teams bot that responds to messaging extensions for searching and acting on data within Teams conversations. - Create interactive task modules and dialogs that collect user input through forms and adaptive cards in Teams. - Handle Teams meeting events (start, end, participant changes) to integrate agent functionality into meeting contexts. - Implement proactive messaging to send notifications or updates to Teams channels and individual users. - Migrate existing Bot Framework Teams agents to the Microsoft 365 Agents SDK using the provided handler classes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Teams-specific handlers and utilities for building Microsoft Teams agents using the Microsoft 365 Agents SDK, including support for messaging extensions, task modules, adaptive cards, and meeting events. Yes. The package has low install friction, active maintenance (release 15 days old), no known vulnerabilities, and MIT licensing. It is purpose-built for Teams integration within the Microsoft 365 Agents SDK. Install it if you are building a Teams agent and need Teams-specific handlers; skip it if you are targeting a different platform or do not require Teams features. ## Install pip install microsoft-agents-hosting-teams uv add microsoft-agents-hosting-teams poetry add microsoft-agents-hosting-teams ## Installing microsoft-agents-hosting-teams Before you install: Low install friction with a pure-Python wheel. The package is actively maintained with a release 15 days old and recent commits; it depends on three runtime packages including the core hosting library and aiohttp. License in practice: MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice. Quickstart: pip install microsoft-agents-hosting-teams from microsoft_agents_hosting_teams import TeamsActivityHandler handler = TeamsActivityHandler() Requires Python 3.12 or later; depends on microsoft-agents-hosting-core and aiohttp at runtime. Verify before relying: - Whether the package's stated 'still in flux' interface stability claim affects production readiness for Teams-specific features. - Specific Python 3.12+ requirement implications for existing projects on earlier versions. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 214.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags microsoft teams agent integration, teams messaging extensions, adaptive cards teams, teams task modules, meeting events handler, teams bot framework, microsoft agents sdk, teams-integration, conversational-ai, microsoft-365 [View on SkillFed](https://skillfed.io/packages/microsoft-agents-hosting-teams) · [View on PyPI](https://pypi.org/project/microsoft-agents-hosting-teams/)