$npx skillfedfor your agent

azure-ai-agentserver-responses

Python SDK for building servers implementing the Azure AI Responses protocol

Worth itPyPI Application FrameworksReleased Aug 2026382.4K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_ai_agentserver_responses-2.0.0-py3-none-any.whl
v2.0.0 · released 2026-08-11 · Python >=3.10 · 4 runtime deps: azure-ai-agentserver-core, azure-core, isodate, aiohttp

Yes. This is a production-ready (Development Status 5) framework extension from Microsoft's official Azure SDK with no known vulnerabilities, low install friction, and active maintenance. Install it if you are building an agent server on the Azure AI Hosted Agent platform and need to implement the Responses protocol.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 3.10 or later required; handlers must be async def with exactly three positional parameters (request, context, cancellation_signal).
  • Low friction installation with a pure-Python wheel.
  • Actively maintained with a recent release (3 days old) and strong repository signals (5588 stars, last commit 2026-08-14).

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 5,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 382,360 downloads/mo, #7,089 on PyPI

Verify before relying

pip install azure-ai-agentserver-responses

from azure.ai.agentserver.responses import ResponsesAgentServerHost, TextResponse, ResponseContext, CreateResponse
import asyncio

app = ResponsesAgentServerHost()

@app.response_handler
async def handler(request: CreateResponse, context: ResponseContext, cancellation_signal: asyncio.Event):
    text = await context.get_input_text()
    return TextResponse(context, request, text=f"Echo: {text}")

app.run()
  • Whether the crash-recovery feature (resilient_background=True) has been tested in production environments.
  • Performance characteristics under high concurrency or large streaming payloads.
  • Compatibility guarantees with specific Azure AI platform versions beyond container protocol 2.0.0.
Same gist for agents: .md · .json

What it is and what it does

This package extends azure-ai-agentserver-core by adding a complete Responses protocol implementation for Azure AI Hosted Agent containers. It handles the full lifecycle of agent responses—creation, streaming via Server-Sent Events (SSE), cancellation, deletion, and replay—through REST endpoints and async handler decorators.

Developers register async handlers using the @app.response_handler decorator to process incoming requests. The package manages response state transitions (created → in_progress → completed/failed/cancelled), handles client disconnections and cancellation signals independently from server shutdown, and provides utilities like TextResponse for simple text replies and ResponseEventStream for complex multi-type outputs with function calls and reasoning items. It supports streaming, background execution, and opt-in crash recovery for stored responses.

Use it for

  • Building conversational AI agents that stream token-by-token responses in real-time to clients over SSE.
  • Implementing multi-user agent sessions where per-request call IDs route tool invocations to user-scoped results.
  • Creating agents that emit function calls, reasoning traces, and structured outputs alongside text in a single response stream.
  • Handling graceful cancellation and server shutdown independently—observing client cancellation via a signal while tracking server drain separately.
  • Recovering from crashes in background response handlers by replaying persisted stream events when resilient_background mode is enabled.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a production-ready (Development Status 5) framework extension from Microsoft's official Azure SDK with no known vulnerabilities, low install friction, and active maintenance. Install it if you are building an agent server on the Azure AI Hosted Agent platform and need to implement the Responses protocol.

Install

azure-ai-agentserver-responses on PyPI

Before you install

Low friction installation with a pure-Python wheel. Actively maintained with a recent release (3 days old) and strong repository signals (5588 stars, last commit 2026-08-14). Requires Python 3.10 or later.

Python 3.10 or later required; handlers must be async def with exactly three positional parameters (request, context, cancellation_signal).

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install azure-ai-agentserver-responses

from azure.ai.agentserver.responses import ResponsesAgentServerHost, TextResponse, ResponseContext, CreateResponse
import asyncio

app = ResponsesAgentServerHost()

@app.response_handler
async def handler(request: CreateResponse, context: ResponseContext, cancellation_signal: asyncio.Event):
    text = await context.get_input_text()
    return TextResponse(context, request, text=f"Echo: {text}")

app.run()

Verify before relying

  • Whether the crash-recovery feature (resilient_background=True) has been tested in production environments.
  • Performance characteristics under high concurrency or large streaming payloads.
  • Compatibility guarantees with specific Azure AI platform versions beyond container protocol 2.0.0.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
azure-ai-agentserver-coreazure-coreisodateaiohttp
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads382,360 / month, #7,089 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: azure_ai_agentserver_responses-2.0.0-py3-none-any.whl

Tags

Capabilities
azure ai agent server responsesagent response streaming sseazure hosted agent frameworkresponse lifecycle managementasync agent request handlerazure ai protocol endpointsagent cancellation and recovery
Topics
azure-aiasync-streamingagent-framework
PyPI keywords
azureazure sdk

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 › “azure ai agent server responses”

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

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.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

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.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

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.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also azure-ai-agentserver-core · azure-ai-agentserver-invocations · clarifai-protocol · azure-ai-agentserver-agentframework · agent-framework-azurefunctions · agent-framework-openai · azure-ai-projects · agent-framework-azure-ai · agent-framework-azure-ai-search · agent-framework-foundry-hosting

Further reading