# TraconA2AOptions

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.tracona2aoptions/
> Summary: TraconA2AOptions: Settings for publishing Tracon agents over A2A.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.AspNetCore.dll</code></div>

Settings for publishing Tracon agents over A2A.

```csharp
public sealed class TraconA2AOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.tracona2aoptions/">TraconA2AOptions</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

There is **no** counterpart to
[TraconMcpServerOptions.ExposeAllAgents](/api/tracon.traconmcpserveroptions/#Tracon_TraconMcpServerOptions_ExposeAllAgents). Measured
(`Microsoft.Agents.AI.Hosting.A2A` 1.25.0-preview.261014.1):
`AddA2AServer` is a registration-time API and can only publish agents
explicitly named in [TraconA2AOptions.ExposedAgents](/api/tracon.tracona2aoptions/#Tracon_TraconA2AOptions_ExposedAgents); it cannot see an agent
added at runtime.

This type is deliberately **not** a `record`.

## Constructors

### <a id="Tracon_TraconA2AOptions__ctor"></a> TraconA2AOptions\(\)

```csharp
public TraconA2AOptions()
```

## Properties

### <a id="Tracon_TraconA2AOptions_Budget"></a> Budget

Depth and token budget template for external calls. Each call creates a
new [AgentRunBudget](/api/tracon.agentrunbudget/) instance with these values; the object
itself is not shared.

```csharp
public AgentRunBudget Budget { get; set; }
```

#### Property Value

 [AgentRunBudget](/api/tracon.agentrunbudget/)

### <a id="Tracon_TraconA2AOptions_ExposedAgents"></a> ExposedAgents

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

```csharp
public IList<string> ExposedAgents { get; }
```

#### Property Value

 [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>
