FoundryEnvironment.AgentId Property

Definition

The agent's stable identifier (GUID). Sourced from the FOUNDRY_AGENT_ID environment variable. Available for container-side logic such as per-agent routing, telemetry tagging, or custom storage partitioning. Stable across all requests to the same agent.

public static string? AgentId { get; }
static member AgentId : string
Public Shared ReadOnly Property AgentId As String

Property Value

Applies to