github Azure/azure-sdk-for-python azure-ai-agentserver-invocations_1.0.0b1

pre-release11 hours ago

1.0.0b1 (2026-04-14)

Features Added

  • Initial release of azure-ai-agentserver-invocations.
  • InvocationAgentServerHost — a Starlette-based host subclass for the invocations protocol.
  • Decorator-based handler registration (@app.invoke_handler, @app.get_invocation_handler, @app.cancel_invocation_handler).
  • Optional GET /invocations/{id} and POST /invocations/{id}/cancel endpoints.
  • GET /invocations/docs/openapi.json for OpenAPI spec serving.
  • Invocation ID tracking and session correlation via agent_session_id query parameter.
  • Distributed tracing with GenAI semantic convention span attributes.
  • W3C Baggage propagation of invocation_id and session_id for cross-service correlation.
  • Structured logging with invocation_id and session_id via contextvars.
  • Streaming response support with span lifecycle management.
  • Cooperative mixin inheritance for multi-protocol composition.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.