Skip to main content

Delegate tasks between Agents

Delegate tasks between custom Agents by naming the target Agent in your message, enabling specialized Agents to work together seamlessly.

A custom Agent can hand a task directly to another custom Agent. This lets you chain specialized Agents together without having to trigger each step manually.

If you haven't created any custom Agents yet, you can do so by following Create custom AI Agents.


Key benefits and use cases

Delegating between Agents lets you connect specialized custom Agents without having to trigger each step yourself.

  • Assign a task directly to another custom Agent.

  • Have a custom Agent coordinate the work when you use an API.


How delegation between custom Agents works

Requirements for delegation

You need access to custom Agents, and you must be able to see the target Agent.

Triggering delegation

  1. Explicitly request delegation: In your message to the Agent that starts the process, name the target Agent and specify the task it should handle. Alternatively, you can define the delegation in the instructions for the initiating Agent.

  2. Confirm the first launch in chat: Confirm the first time that Agent is launched in the conversation. Later launches of the same Agent in that conversation don't require confirmation.

  3. Receive the result: The launched Agent returns its response to the Agent that assigned the task. It appears in the comment reply or, depending on what you're using, in the API response or the chat response in Slack, Teams, or WhatsApp.

For example, you can say: "Hand the report over to the Reporting Agent."

Important: Delegation doesn't happen automatically. The initiating custom Agent does not choose the target Agent itself.

Confirmation isn't required for runs using an API key. The target Agent starts directly.


Delegation limits

An Agent started by another Agent can't start any more Agents. Delegation ends after one level.

The following chains aren't supported:

  • awork Projekt Agent delegates to a custom Agent, which then delegates to another custom Agent

  • A custom Agent delegates to another custom Agent, which then delegates to a third custom Agent

An Agent also can't start itself.


FAQ

Can a custom Agent decide for itself which Agent to start?

No. Your message or the initiating Agent's instructions must explicitly request that a specific other Agent be started.

Do I have to confirm every launch of a custom Agent?

In chat, you confirm the first launch of each Agent in a conversation. Later launches of the same Agent in that conversation don't require confirmation. Confirmation isn't required for runs using an API key.

Can a launched Agent start more Agents?

No. An Agent started by another Agent can't start any more Agents.

Where does the launched Agent's result appear?

The result is returned to the Agent that assigned the task and appears in the API response, the chat response in Slack, Teams, or WhatsApp, or the comment reply.

Last updated HappySupportPowered by happysupport.ai
© 2026 HappySupport. All rights reserved.