> ## Documentation Index
> Fetch the complete documentation index at: https://private-04b27de1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.agentchat.group.group_utils.wrap_agent_handoff_targets

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

#### wrap\_agent\_handoff\_targets

```python theme={null}
wrap_agent_handoff_targets(agent: ConversableAgent, wrapped_agent_list: list['ConversableAgent']) -> 
```

Wrap handoff targets in agents that need to be wrapped to be part of the group chat.<br />Example is NestedChatTarget.<br />

<b>Parameters:</b>

| Name                 | Description                                                                                          |
| -------------------- | ---------------------------------------------------------------------------------------------------- |
| `agent`              | The agent to wrap the handoff targets for.<br /><br />**Type:** ConversableAgent                     |
| `wrapped_agent_list` | List of wrapped chat agents that will be appended to.<br /><br />**Type:** list\['ConversableAgent'] |

<br />
