> ## 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.link_agents_to_group_manager

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

#### link\_agents\_to\_group\_manager

```python theme={null}
link_agents_to_group_manager(agents: list[Agent], group_chat_manager: Agent) -> None
```

Link all agents to the GroupChatManager so they can access the underlying GroupChat and other agents.<br />This is primarily used so that agents can get to the tool executor to help set the next agent.<br />Does not link the Tool Executor agent.

<b>Parameters:</b>

| Name                 | Description                                                 |
| -------------------- | ----------------------------------------------------------- |
| `agents`             | **Type:** list\[[Agent](/docs/api-reference/autogen/Agent)] |
| `group_chat_manager` | **Type:** [Agent](/docs/api-reference/autogen/Agent)        |

<br />
