microsoft-agents-hosting-teams
Integration library for Microsoft Agents with Teams
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later; depends on microsoft-agents-hosting-core and aiohttp at runtime.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
last release 2026-07-30 (15 days) · last repo commit 2026-08-13 · 1,036 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 214,323 downloads/mo, #9,418 on PyPI
Alternatives
Verify before relying
pip install microsoft-agents-hosting-teams
from microsoft_agents_hosting_teams import TeamsActivityHandler
handler = TeamsActivityHandler()- 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.
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 on this page. Verify before relying on it.
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
microsoft-agents-hosting-teams on PyPI
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.
Requires Python 3.12 or later; depends on microsoft-agents-hosting-core and aiohttp at runtime.
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()
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 the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesmicrosoft-agents-hosting-coreaiohttpmicrosoft-teams-api |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 214,323 / month, #9,418 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: microsoft_agents_hosting_teams-1.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “microsoft teams agent integration”
- microsoft-agents-hosting-teamsProvides Teams-specific handlers and utilities for building Microsoft…
- microsoft-agents-hosting-coreProvides the core hosting infrastructure for building conversational…
- microsoft-agents-hosting-aiohttpProvides HTTP hosting integration for Microsoft 365 Agents using…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also microsoft-agents-hosting-aiohttp · microsoft-teams-cards · microsoft-teams-api · microsoft-agents-hosting-core · microsoft-agents-activity · microsoft-teams-apps · microsoft-agents-hosting-fastapi · microsoft-agents-authentication-msal · pymsteams · fathom-python