---
title: "What an agent name does | Grafana Labs"
description: "What setting an agent name in your SDK calls does, and which sample sets one."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# 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 `AgentName` to `my-agent`.
- The other four samples set no agent name.
