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.
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.
The @server.agent decorator is used to configure an agent’s metadata when registering it with an ACP server: