1.0.0-beta.1 (2026-04-14)
Features Added
- Initial release of the Azure.AI.AgentServer.Responses library.
- ASP.NET Core server library implementing the Azure AI Responses API.
ResponseHandlerabstract class for custom response handling withCreateAsyncreturningIAsyncEnumerable<ResponseStreamEvent>.TextResponseconvenience class for simple text-only responses with a single delegate.ResponseEventStreambuilder for full control over SSE event generation with automaticsequenceNumber,outputIndex,contentIndex, anditemIdtracking.ResponseEventStreamconvenience generators for emitting complete output items in one call:OutputItemMessage(string text)— emits a full text message output item (handles all inner SSE events automatically)OutputItemMessage(string text, IEnumerable<Annotation> annotations)— emits a text message with file annotationsOutputItemMessage(IAsyncEnumerable<string> tokens, CancellationToken)— streams tokens asresponse.output_text.deltaeventsOutputItemFunctionCall(name, callId, arguments)— emits a complete function call output itemOutputItemFunctionCallOutput(callId, output)— emits a function call output (no deltas)OutputItemReasoningItem(...)— emits a reasoning output itemOutputItemImageGenCall(resultBase64)— emits an image generation result with status transitionsOutputItemStructuredOutputs(output)— emits an arbitrary structured JSON output item- One-liner convenience generators for all remaining simple output item types: computer calls, local shell calls, function shell calls, apply-patch calls, custom tool call outputs, MCP approval requests/responses, and compaction
ResponseContextwithGetInputItemsAsync()(returnsIReadOnlyList<Item>) andGetInputTextAsync()convenience for accessing resolved input items and text content.IEnumerable<Item>.GetInputText()extension method for extracting text from any sequence of input items.CreateResponse.GetInputExpanded()extension for advanced access to expanded input items asOutputItemtypes.- Built-in in-memory response provider and execution tracking.
- Support for default, streaming, background, and streaming+background response modes.
AgentHostBuilderconvenience methods for zero-config server startup viaResponsesServer.Run<T>().- Protocol identity registration with
ServerUserAgentRegistryduring route mapping. x-agent-response-idheader validation matching the Responses API specification.- Conversation ID round-trip support in both synchronous and SSE streaming modes.
- OpenTelemetry distributed tracing via
Azure.AI.AgentServer.Responsesactivity source.