Skip to content

AgentPrismA2AOptions

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Settings for publishing AgentPrism agents over A2A.

public sealed class AgentPrismA2AOptions

objectAgentPrismA2AOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

There is no counterpart to AgentPrismMcpServerOptions.ExposeAllAgents. Measured (Microsoft.Agents.AI.Hosting.A2A 1.16.0-preview.260730.1): AddA2AServer is a registration-time API and can only publish agents explicitly named in AgentPrismA2AOptions.ExposedAgents; it cannot see an agent added at runtime.

This type is deliberately not a record.

public AgentPrismA2AOptions()

Depth and token budget template for external calls. Each call creates a new AgentRunBudget instance with these values; the object itself is not shared.

public AgentRunBudget Budget { get; set; }

AgentRunBudget

Names of agents to expose. Read at startup and FROZEN — a name added at runtime does not appear in A2A.

public IList<string> ExposedAgents { get; }

IList<string>