What an agent name does
When you set an agent_name in your SDK calls, Agent Observability tracks that agent by name in the agent catalog, which automatically discovers and tracks your agents and groups their generations by agent name.
What the catalog shows
The agent catalog groups generations by agent name and then shows usage patterns over time for each agent. Comparing activity and performance depends on an agent name in the instrumentation and exported OpenTelemetry metrics.
In the samples
The samples on the language pages differ on this value:
- The .NET sample sets
AgentNametomy-agent. - The other four samples set no agent name.