microsoft-agents-hosting-aiohttp
Integration library for Microsoft Agents with aiohttp
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a clear problem: hosting Microsoft 365 Agents over HTTP with aiohttp. It is well-positioned in the Microsoft Agents ecosystem and has no known vulnerabilities. Install it if you are building a web-based agent application and prefer aiohttp over other frameworks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; aiohttp 3.11.11+ is required.
- Low friction install with two runtime dependencies.
- Package is actively maintained with releases every 1–2 weeks; repository shows 1036 stars and recent activity as of 2026-08-13.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must include the license notice in distributions.
last release 2026-07-30 (15 days) · last repo commit 2026-08-13 · 1,036 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 237,015 downloads/mo, #8,968 on PyPI
Alternatives
Verify before relying
pip install microsoft-agents-hosting-aiohttp
from microsoft_agents_hosting_aiohttp import start_server
from microsoft_agents_hosting_core import AgentApplication
start_server(
agent_application=AGENT_APP,
auth_configuration=CONNECTION_MANAGER.get_default_connection_configuration(),
)- Whether aiohttp 3.11.11+ is a hard requirement or if earlier versions are supported
- Whether the package handles graceful shutdown of the aiohttp server
- Performance characteristics under load or with streaming responses
What it is and what it does
This package bridges the Microsoft 365 Agents SDK with aiohttp, a popular async HTTP framework for Python. It provides HTTP adapters, middleware, and utilities to host conversational agents as web services, handling the plumbing needed to expose agent logic over HTTP endpoints. The library integrates with the core hosting framework and aiohttp to manage request routing, authentication via JWT middleware, and agent-to-agent communication.
You use it when you want to deploy a Microsoft 365 Agent as a web service—whether for Teams, M365 Copilot, Copilot Studio, or custom web chat. It abstracts away the HTTP layer details so you can focus on agent logic: define message handlers, error handlers, and storage, then call `start_server()` to run the aiohttp application. The package supports streaming responses, custom error handling, and development-friendly features like hot reload.
Use it for
- Host a Microsoft Teams agent as an HTTP service that receives and responds to conversation activities.
- Build a web chat interface backed by a Microsoft 365 Agent with real-time streaming responses.
- Integrate a Copilot Studio Agent with aiohttp for custom routing and middleware (e.g., logging, rate limiting).
- Deploy multi-agent systems where agents communicate via HTTP with JWT authentication.
- Create a development environment for agent testing with hot reload and debugging support.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a clear problem: hosting Microsoft 365 Agents over HTTP with aiohttp. It is well-positioned in the Microsoft Agents ecosystem and has no known vulnerabilities. Install it if you are building a web-based agent application and prefer aiohttp over other frameworks.
Install
microsoft-agents-hosting-aiohttp on PyPI
Before you install
Low friction install with two runtime dependencies. Package is actively maintained with releases every 1–2 weeks; repository shows 1036 stars and recent activity as of 2026-08-13.
Requires Python 3.10 or later; aiohttp 3.11.11+ is required.
License in practice
MIT license permits commercial and private use with minimal restrictions; you must include the license notice in distributions.
Quickstart
pip install microsoft-agents-hosting-aiohttp
from microsoft_agents_hosting_aiohttp import start_server
from microsoft_agents_hosting_core import AgentApplication
start_server(
agent_application=AGENT_APP,
auth_configuration=CONNECTION_MANAGER.get_default_connection_configuration(),
)
Verify before relying
- Whether aiohttp 3.11.11+ is a hard requirement or if earlier versions are supported
- Whether the package handles graceful shutdown of the aiohttp server
- Performance characteristics under load or with streaming responses
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesmicrosoft-agents-hosting-coreaiohttp |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 237,015 / month, #8,968 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.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: microsoft_agents_hosting_aiohttp-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 › “aiohttp agent hosting”
- microsoft-agents-hosting-aiohttpProvides HTTP hosting integration for Microsoft 365 Agents using…
- pipecatcloudPython module and CLI for deploying, managing, and programmatically…
- microsoft-agents-hosting-coreProvides the core hosting infrastructure for building conversational…
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-core · microsoft-agents-hosting-fastapi · microsoft-agents-hosting-teams · microsoft-agents-activity · microsoft-agents-authentication-msal · microsoft-agents-copilotstudio-client · microsoft-teams-apps · azure-ai-agentserver-agentframework · agent-framework-a2a · botbuilder-integration-aiohttp