$npx skillfedfor your agent

azure-ai-agentserver-core

Foundation utilities and host framework for Azure AI Hosted Agents

Worth itPyPI Application FrameworksReleased Aug 2026813.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_ai_agentserver_core-2.0.0-py3-none-any.whl
v2.0.0 · released 2026-08-06 · Python >=3.10 · 9 runtime deps: azure-core, isodate, starlette, hypercorn, opentelemetry-api, opentelemetry-sdk, microsoft-opentelemetry, aiohttp

Yes. The package is actively maintained (released 8 days ago), has low install friction, carries a permissive MIT license, and solves a concrete problem — hosting Azure AI agents with production-grade infrastructure (tracing, graceful shutdown, health probes, state persistence) built in. It's in the top 5000 PyPI packages by download volume. Install it if you are building agents for Azure Foundry or need a structured ASGI host with OpenTelemetry and graceful shutdown.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Optional azure-identity package needed for DefaultAzureCredential; optional gRPC extra for OTLP/gRPC protocol support.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) — you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.

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

0 known vulnerabilities (OSV.dev, 2026-08-14) · 813,097 downloads/mo, #4,997 on PyPI

Verify before relying

pip install azure-ai-agentserver-core

from azure.ai.agentserver.core import AgentServerHost
from starlette.responses import JSONResponse
from starlette.routing import Route

class MyAgent(AgentServerHost):
    def __init__(self, **kwargs):
        routes = [Route("/my-endpoint", self._handle, methods=["POST"])]
        super().__init__(routes=routes, **kwargs)
    
    async def _handle(self, request):
        return JSONResponse({"status": "ok"})

app = MyAgent()
app.run()
  • Whether the state store's optimistic concurrency model and tag-filtered listing cover all common use cases for agent session memory.
  • Performance characteristics and throughput limits of FoundryStateStore under concurrent multi-user load.
  • How the @task decorator's crash recovery and resume patterns interact with distributed deployments or container orchestration platforms.
Same gist for agents: .md · .json

What it is and what it does

Azure AI Agent Server Core is a Python framework for hosting containerized Azure AI agents. It abstracts away the operational plumbing — HTTP serving via Hypercorn on a configurable port, health readiness probes, graceful shutdown with request draining, and automatic OpenTelemetry tracing with Azure Monitor and OTLP export — so that protocol-specific packages can focus on endpoint logic. You subclass AgentServerHost, add your routes, and call run().

The package includes a durable state store (FoundryStateStore) for persisting agent session memory and per-user state, a @task decorator for building crash-resilient long-running agents that survive container restarts, and request context utilities for multi-user sessions that partition state by user ID while forwarding only the opaque call ID on outbound Foundry calls. Configuration is driven by environment variables (PORT, FOUNDRY_AGENT_NAME, APPLICATIONINSIGHTS_CONNECTION_STRING, OTEL_EXPORTER_OTLP_ENDPOINT, etc.), making it container-friendly.

Use it for

  • Build a containerized agent that handles HTTP requests, exports traces to Azure Monitor, and serves on a configurable port with health probes.
  • Implement multi-user agent sessions where each request carries user identity and call context, with state partitioned per user.
  • Create a crash-resilient agent using the @task decorator that persists state across container restarts and redeployments.
  • Set up graceful shutdown for an agent container that drains in-flight requests before exiting with a default 30 s timeout.
  • Store agent session memory, conversation checkpoints, and per-user preferences in a durable state store with optimistic concurrency.

Worth the install?

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

Worth it

Yes.

The package is actively maintained (released 8 days ago), has low install friction, carries a permissive MIT license, and solves a concrete problem — hosting Azure AI agents with production-grade infrastructure (tracing, graceful shutdown, health probes, state persistence) built in. It's in the top 5000 PyPI packages by download volume. Install it if you are building agents for Azure Foundry or need a structured ASGI host with OpenTelemetry and graceful shutdown.

Install

azure-ai-agentserver-core on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance — released 8 days ago with recent commits. Requires Python 3.10 or later and brings 9 runtime dependencies including starlette, hypercorn, and OpenTelemetry libraries.

Requires Python 3.10 or later. Optional azure-identity package needed for DefaultAzureCredential; optional gRPC extra for OTLP/gRPC protocol support.

License in practice

MIT license (permissive) — you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install azure-ai-agentserver-core

from azure.ai.agentserver.core import AgentServerHost
from starlette.responses import JSONResponse
from starlette.routing import Route

class MyAgent(AgentServerHost):
    def __init__(self, **kwargs):
        routes = [Route("/my-endpoint", self._handle, methods=["POST"])]
        super().__init__(routes=routes, **kwargs)
    
    async def _handle(self, request):
        return JSONResponse({"status": "ok"})

app = MyAgent()
app.run()

Verify before relying

  • Whether the state store's optimistic concurrency model and tag-filtered listing cover all common use cases for agent session memory.
  • Performance characteristics and throughput limits of FoundryStateStore under concurrent multi-user load.
  • How the @task decorator's crash recovery and resume patterns interact with distributed deployments or container orchestration platforms.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
azure-coreisodatestarlettehypercornopentelemetry-apiopentelemetry-sdkmicrosoft-opentelemetryaiohttpazure-identity
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads813,097 / month, #4,997 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_core-2.0.0-py3-none-any.whl

Tags

Capabilities
azure ai agent server frameworkasgi host for azure agentsopentelemetry tracing azureagent container infrastructuregraceful shutdown http serverazure foundry agent hostinghealth probe readiness check
Topics
azure-sdkasgi-frameworkobservability
PyPI keywords
azureazure sdkagentagentservercore

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 › “asgi host for azure agents”

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-agentframework · azure-ai-agentserver-invocations · azure-ai-agentserver-responses · agent-framework-foundry-hosting · azure-ai-projects · agent-framework · agent-framework-foundry · agent-framework-foundry-local · spotinst-agent · spotinst-agent-2

Further reading