Azure.AI.AgentServer.Invocations_1.0.0-beta.1

Azure OpenAI .NET Releases / 4/16/2026

📰 NewsDeveloper Stack & InfrastructureSignals & Early TrendsTools & Practical Usage

Key Points

  • Azure AI AgentServer Invocations libraryの1.0.0-beta.1(2026-04-14)が初リリースされ、invocationプロトコルのエンドポイント実装を支援する基盤が提供されました。
  • 開発者はInvocationHandlerとInvocationContextを使い、リクエストメタデータやセッション情報をハンドラに渡しつつ、HandleAsync/GetAsync/CancelAsync/GetOpenApiAsyncなどのライフサイクル操作を実装できます。
  • マルチターン追跡のためのセッションIDの自動解決(クエリパラメータおよび環境変数)や、x-client-*ヘッダの自動転送により、クライアント情報と状態管理の実装負荷が軽減されます。
  • OpenTelemetry連携のためのInvocationsActivitySourceや、ASP.NET Coreでのホスティング統合(AddInvocations<THandler>())により、トレース可観測性とサーバ統合が容易になります。
  • ルートマッピング時にServerUserAgentRegistryへプロトコルIDを登録する仕組みが追加され、プロトコルの自己識別・整合性確保に寄与します。

1.0.0-beta.1 (2026-04-14)

Features Added

  • Initial release of the Azure.AI.AgentServer.Invocations library.
  • InvocationHandler abstract class for implementing invocation protocol endpoints.
  • InvocationContext providing request metadata and session information to handlers.
  • Automatic session ID resolution from query parameters and environment variables for multi-turn invocation tracking.
  • Automatic forwarding of x-client-* request headers to handlers.
  • Invocation lifecycle operations: HandleAsync, GetAsync, CancelAsync, GetOpenApiAsync.
  • InvocationsActivitySource for OpenTelemetry distributed tracing integration.
  • ASP.NET Core hosting integration via AddInvocations<THandler>() builder extension.
  • Protocol identity registration with ServerUserAgentRegistry during route mapping.