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

# autogen.runtime_logging.log_new_agent

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### log\_new\_agent

```python theme={null}
log_new_agent(agent: ConversableAgent, init_args: dict[str, Any]) -> None
```

<b>Parameters:</b>

| Name        | Description                |
| ----------- | -------------------------- |
| `agent`     | **Type:** ConversableAgent |
| `init_args` | **Type:** dict\[str, Any]  |

<br />
