Agent hierarchy

You can create complex multi-layered orchestration topologies by specifying sub-agents for sub-agents.

For example, you can specify that main agent A has sub-agents B and C. And then, you can specify for agent C, that it has it’s own sub-agents D and E. When conversation with agent A starts, all above-mentioned sub-agents are initialized and are part of the conversation.

Agents are allowed to communicate (via pass_question or send_message tools) with:

In the above example:

If, for example, you want to allow D communicate with B, you may add B as D’s sub-agent.