skillfed

microsoft-agents-hosting-teams

Integration library for Microsoft Agents with Teams

microsoft-agents-hosting-teams v1.3.0 214.3K downloads/30d#9,418 on PyPI1,036
Permissive license MIT Active released

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

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

microsoft-agents-hosting-teams on PyPI

pip

pip install microsoft-agents-hosting-teams

uv

uv add microsoft-agents-hosting-teams

poetry

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 the current Python release (>=3.12)
Install friction low — pure-Python wheel
Runtime dependencies 3 — microsoft-agents-hosting-core, aiohttp, microsoft-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)

Evidence: microsoft_agents_hosting_teams-1.3.0-py3-none-any.whl

Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

microsoft teams agent integrationteams messaging extensionsadaptive cards teamsteams task modulesmeeting events handlerteams bot frameworkmicrosoft agents sdk
teams-integrationconversational-aimicrosoft-365

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

microsoft-agents-hosting-aiohttp

Provides HTTP hosting integration for Microsoft…

permissive · top 15,000 on PyPI

microsoft-teams-cards

Provides Pydantic-based models for building…

permissive · top 5,000 on PyPI

microsoft-teams-api

HTTP client library for Microsoft Teams Bot…

permissive · top 5,000 on PyPI

microsoft-agents-hosting-core

Provides the core hosting infrastructure for…

permissive · top 5,000 on PyPI

microsoft-agents-activity

Provides core types and schemas implementing…

permissive · top 5,000 on PyPI

microsoft-teams-apps

Framework for building Microsoft Teams…

permissive · top 15,000 on PyPI

microsoft-agents-hosting-fastapi

Provides FastAPI integration for building and…

permissive · top 15,000 on PyPI

microsoft-agents-authentication-msal

Provides MSAL-based authentication for…

permissive · top 15,000 on PyPI

pymsteams

Sends formatted messages to Microsoft Teams…

permissive · top 5,000 on PyPI

fathom-python

A Python SDK for the Fathom External API that…

unclear · top 15,000 on PyPI