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 toAzure.AI.AgentServer.Invocations. This package now contains only the shared hosting foundation. - Dependency removed:
Azure.AI.AgentServer.Contractsis no longer required. The generated OpenAI Responses API models are now built intoAzure.AI.AgentServer.Responses. - Dependencies removed:
Azure.AI.Projects,Microsoft.Agents.AI.*, andModelContextProtocolpackages are no longer dependencies of this package. - API redesigned: The old
IAgentInvocation/AgentInvocationContext/CreateResponseRequestAPI surface has been replaced withAgentHostBuilderand protocol-specific handler abstractions (ResponseHandlerin Responses,InvocationHandlerin Invocations). - Namespace changed: Code that previously used
Azure.AI.AgentServer.Core.Responses.*orAzure.AI.AgentServer.Contracts.*namespaces must switch toAzure.AI.AgentServer.Responses.
Features Added
- Library-owned hosting foundation via
AgentHostBuilder(composable builder pattern). - OpenTelemetry integration with
Azure.Monitor.OpenTelemetry.AspNetCoreand OTLP exporter support. - Health endpoint at
/readinessfor 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-serverheader on every response with SDK version info. ServerUserAgentRegistryfor protocol packages to register user-agent identity segments.AddAgentServerUserAgent()andUseAgentServerUserAgent()extensions for standalone (Tier 3) setups.FoundryEnvironmentfor 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.