> ## Documentation Index
> Fetch the complete documentation index at: https://agentcommunicationprotocol.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Detail

> Structure and usage of the Agent Detail

The **Agent Detail** describes essential properties of an agent, including its identity, capabilities, metadata, and runtime status. The Agent Detail is configured in the @server.agent decorator that wraps the ACP agent. The Agent Detail also plays an important role in discoverability and how the ACP server is advertised to the client.

<Note>
  If the `name` parameter is not specified in the `@server.agent` decorator, the agent's function name will be used as the default name. Similarly, if no `description` is provided, the function's docstring will be used as the description.
</Note>

## Configuration Example

The @server.agent decorator is used to configure an agent's metadata when registering it with an ACP server:

```python agent.py theme={null}
@server.agent(
    name="data-analyzer",
    description="Analyzes datasets and generates insights")
async def DataAnalyzerAgent():
    """String that is used as default description if not explicitly provided in the @server.agent """
    # Agent implementation here
    yield str(response.object)

```

## Parameters
