Azure.AI.AgentServer.Core Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| AgentHost |
Static entry point for creating agent servers.
Use CreateBuilder(String[]) to compose protocols and build the server.
For one-line startup, use the protocol-specific |
| AgentHostApp |
Represents a configured and runnable agent server application. Wraps the underlying WebApplication and provides escape-hatch access for advanced scenarios. |
| AgentHostBuilder |
Composable builder for configuring and starting an agent server. Wraps WebApplicationBuilder (via CreateSlimBuilder(String[])) and exposes protocol registration, health checks, tracing, shutdown, and escape hatches. |
| AgentHostMiddlewareExtensions |
Extension methods for standalone (Tier 3) server setups that do not use AgentHostBuilder. Registers all Core middleware services and adds them to the pipeline in one call each. |
| AgentHostOptions |
Configuration options for the agent server host. |
| FoundryEnvironment |
Provides strongly-typed access to Foundry platform environment variables injected by the Azure AI Foundry hosting infrastructure. All values are read once in the static constructor and cached for the lifetime of the process. |
| IsolationContext |
Carries the platform-injected isolation keys for a single request.
The Foundry platform sets |
| PlatformHeaders |
Defines the HTTP header names used across the AgentServer platform. These headers form the wire contract between the Foundry platform, agent containers, and downstream storage services. |
| ServerVersionRegistry |
Registry that collects version identity segments from protocol packages.
Each protocol registers its identity string (e.g., |