$npx skillfedfor your agent

azure-ai-agentserver-invocations

Invocations protocol for Azure AI Hosted Agents

Worth itPyPI Application FrameworksReleased Aug 2026639.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_ai_agentserver_invocations-1.0.0-py3-none-any.whl
v1.0.0 · released 2026-08-10 · Python >=3.10 · 2 runtime deps: azure-ai-agentserver-core, aiohttp

Yes. The package is actively maintained (release 4 days old), has zero known vulnerabilities, uses a permissive MIT license, and requires only two runtime dependencies with low install friction. It is marked Production/Stable and supports Python 3.10, 3.11, 3.12, 3.13, and 3.14. Install it if you are building an Azure AI Hosted Agent container and need standard invocation protocol endpoints.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with two runtime dependencies (azure-ai-agentserver-core and aiohttp).
  • Actively maintained with a release 4 days old and recent commits; marked Production/Stable.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

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

0 known vulnerabilities (OSV.dev, 2026-08-14) · 639,934 downloads/mo, #5,614 on PyPI

Verify before relying

pip install azure-ai-agentserver-invocations

from azure.ai.agentserver.invocations import InvocationAgentServerHost

app = InvocationAgentServerHost()

@app.invoke_handler
async def handle(request):
    data = await request.json()
    return {"result": data}

app.run()
  • Whether the package is suitable for production workloads beyond the stated Azure AI Hosted Agent container use case.
  • Performance characteristics under high concurrency or large message volumes on WebSocket connections.
  • Specific behavior and guarantees of the distributed tracing integration with GenAI semantic conventions.
Same gist for agents: .md · .json

What it is and what it does

This package extends the azure-ai-agentserver-core framework with a complete invocation protocol implementation for Azure AI Hosted Agent containers. It exposes HTTP endpoints (POST /invocations, GET /invocations/{id}, POST /invocations/{id}/cancel) and a WebSocket endpoint (/invocations_ws) for full-duplex streaming, along with OpenAPI and AsyncAPI documentation endpoints. Handlers are registered via decorators (@app.invoke_handler, @app.get_invocation_handler, @app.cancel_invocation_handler, @app.ws_handler) and receive request context including invocation ID, session ID, user ID, and call ID through request.state.

The package manages request/response headers automatically (x-agent-invocation-id, x-agent-session-id) and integrates with distributed tracing. It supports long-running operations with polling, streaming responses, and multi-user sessions on container protocol 2.0.0 by forwarding per-request call IDs to downstream services. Built on aiohttp, it runs as an async application with minimal boilerplate.

Use it for

  • Build an agent that processes POST /invocations requests and returns JSON responses.
  • Implement long-running agent operations with polling via GET /invocations/{id} and cancellation.
  • Stream agent responses as Server-Sent Events or full-duplex WebSocket messages to clients.
  • Handle multi-user sessions by forwarding x-agent-foundry-call-id headers to toolbox services.
  • Expose OpenAPI and AsyncAPI documentation for agent discovery and client code generation.

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 (release 4 days old), has zero known vulnerabilities, uses a permissive MIT license, and requires only two runtime dependencies with low install friction. It is marked Production/Stable and supports Python 3.10, 3.11, 3.12, 3.13, and 3.14. Install it if you are building an Azure AI Hosted Agent container and need standard invocation protocol endpoints.

Install

azure-ai-agentserver-invocations on PyPI

Before you install

Low install friction with two runtime dependencies (azure-ai-agentserver-core and aiohttp). Actively maintained with a release 4 days old and recent commits; marked Production/Stable.

Requires Python 3.10 or later.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install azure-ai-agentserver-invocations

from azure.ai.agentserver.invocations import InvocationAgentServerHost

app = InvocationAgentServerHost()

@app.invoke_handler
async def handle(request):
    data = await request.json()
    return {"result": data}

app.run()

Verify before relying

  • Whether the package is suitable for production workloads beyond the stated Azure AI Hosted Agent container use case.
  • Performance characteristics under high concurrency or large message volumes on WebSocket connections.
  • Specific behavior and guarantees of the distributed tracing integration with GenAI semantic conventions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
azure-ai-agentserver-coreaiohttp
MaintenanceActively maintained 4 days since the last release
Last repo commit
First released
Downloads639,934 / month, #5,614 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_invocations-1.0.0-py3-none-any.whl

Tags

Capabilities
azure agent server invocationsagent invocation protocol http websocketazure hosted agent endpointsagent request handling frameworkazure ai agent container protocol
Topics
azure-sdkagent-frameworkasync-http
PyPI keywords
azureazure sdkagentagentserverinvocations

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 agent server invocations”

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-responses · azure-ai-agentserver-agentframework · agent-framework-azure-ai · agent-framework-foundry-hosting · openhands-agent-server · azure-ai-projects · agent-framework-foundry · agent-framework-azurefunctions · azure-ai-agents

Further reading