Azure.AI.AgentServer.Core_1.0.0-beta.21

Azure OpenAI .NET Releases / 4/16/2026

📰 NewsDeveloper Stack & InfrastructureSignals & Early TrendsTools & Practical Usage

Key Points

  • Azure.AI.AgentServer.Core version 1.0.0-beta.21 introduces a major architectural rewrite, redesigning the package as a lightweight hosting foundation via AgentHostBuilder.
  • The protocol surface has been split out into dedicated packages: Responses APIs now live in Azure.AI.AgentServer.Responses and Invocations APIs now live in Azure.AI.AgentServer.Invocations, leaving Core for shared hosting only.
  • Several breaking changes affect upgrading, including removal of Azure.AI.AgentServer.Contracts, replacement of the old IAgentInvocation/AgentInvocationContext/CreateResponseRequest API with ResponseHandler/InvocationHandler abstractions, and required namespace changes.
  • The update removes dependencies on Azure.AI.Projects, Microsoft.Agents.AI.*, and ModelContextProtocol from the Core package.
  • New features include OpenTelemetry (Azure.Monitor.OpenTelemetry.AspNetCore) and OTLP support, a /readiness health endpoint, multi-protocol composition through RegisterProtocol(), graceful shutdown with drain period, and server user-agent headers with versioned identity segments.

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

This is a major architectural rewrite. The package has been redesigned as a lightweight hosting
foundation. Protocol implementations that were previously bundled in this package have moved to
dedicated protocol packages (Azure.AI.AgentServer.Responses, Azure.AI.AgentServer.Invocations).
See the Migration Guide
for upgrading from earlier beta versions.

Breaking Changes

  • Package split: All Responses API protocol types (models, invocation handlers, SSE streaming) have moved to Azure.AI.AgentServer.Responses. All Invocations protocol types have moved to Azure.AI.AgentServer.Invocations. This package now contains only the shared hosting foundation.
  • Dependency removed: Azure.AI.AgentServer.Contracts is no longer required. The generated OpenAI Responses API models are now built into Azure.AI.AgentServer.Responses.
  • Dependencies removed: Azure.AI.Projects, Microsoft.Agents.AI.*, and ModelContextProtocol packages are no longer dependencies of this package.
  • API redesigned: The old IAgentInvocation / AgentInvocationContext / CreateResponseRequest API surface has been replaced with AgentHostBuilder and protocol-specific handler abstractions (ResponseHandler in Responses, InvocationHandler in Invocations).
  • Namespace changed: Code that previously used Azure.AI.AgentServer.Core.Responses.* or Azure.AI.AgentServer.Contracts.* namespaces must switch to Azure.AI.AgentServer.Responses.

Features Added

  • Library-owned hosting foundation via AgentHostBuilder (composable builder pattern).
  • OpenTelemetry integration with Azure.Monitor.OpenTelemetry.AspNetCore and OTLP exporter support.
  • Health endpoint at /readiness for liveness and readiness probes.
  • Multi-protocol composition via AgentHostBuilder.RegisterProtocol(). Protocol packages provide extension methods (e.g., AddResponses<T>(), AddInvocations<T>()) built on top of this API.
  • Graceful shutdown with configurable drain period.
  • Server user-agent x-platform-server header on every response with SDK version info.
  • ServerUserAgentRegistry for protocol packages to register user-agent identity segments.
  • AddAgentServerUserAgent() and UseAgentServerUserAgent() extensions for standalone (Tier 3) setups.
  • FoundryEnvironment for Azure AI Foundry platform variable resolution.
  • Distributed tracing context propagation via request ID baggage.

Previous versions (prior to 1.0.0-beta.21)

Versions prior to 1.0.0-beta.21 used a monolithic architecture where Azure.AI.AgentServer.Core
bundled protocol logic and depended on Azure.AI.AgentServer.Contracts for generated models.
These versions are superseded by the new 3-package architecture. See the
Migration Guide
for details.