Macha

How Do You Set Up Sub-Agents on Macha? Multi-Agent Delegation Explained

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published June 12, 2026

Updated September 24, 2026

A Macha lead agent can call your other agents as specialists, choosing which one fits each request from routing rules you write in plain language. You set it up in one card, and delegation nests up to 3 levels deep.

Key takeaways

  • A Macha sub-agent is an existing agent added to a lead agent through the Sub-Agents card, where each one becomes a callable tool the lead can hand work to.
  • The lead agent picks a sub-agent from plain-language routing instructions, such as sending audio files to a Transcription agent and order questions to an Order Lookup agent.
  • Macha limits delegation to 3 levels deep, blocks agents from calling themselves or forming cycles, and gives each sub-agent up to 15 tool-call iterations.
  • Every sub-agent handoff appears in chat as an expandable Handed off card and is saved as its own conversation record linked to the parent.
  • A Support Lead with a Ticket Created trigger routes every new ticket to four specialists without wiring a separate trigger to each one.
How Do You Set Up Sub-Agents on Macha? Multi-Agent Delegation Explained

To use sub-agents on Macha, open the lead agent's configuration, click the Sub-Agents card, press + Add Sub-Agent and toggle on the existing agents it may call; each one becomes a tool the lead can hand work to, nested up to 3 levels deep. The lead then picks which specialist to use from plain-language routing instructions you write.

QuestionAnswer
Where you set it upSub-Agents card at the bottom of the lead agent's configuration
What a sub-agent isAn agent you already built, exposed to the lead as a callable tool
How deep delegation goesUp to 3 levels, with cycles blocked
Work limit per sub-agentUp to 15 tool-call iterations before it returns a result
Where you see what happenedA "Handed off" card in chat, backed by the sub-agent's own conversation record

Watch it in action

The Agents list has a dedicated Sub-agents column, showing which agents delegate to others.
The Agents list has a dedicated Sub-agents column, showing which agents delegate to others.

What is a sub-agent on Macha?

A sub-agent is not a new kind of agent. It is one of your existing agents, made available to another agent. When you build or edit an agent, you can give it access to agents you have already created, and those become its sub-agents. The lead agent can then hand work to them.

Scroll to the bottom of an agent’s configuration to the Sub-Agents card — “Delegate tasks to other agents.”
Scroll to the bottom of an agent’s configuration to the Sub-Agents card — “Delegate tasks to other agents.”

Click the Sub-Agents card and a panel opens on the right with a short explainer ("Add other agents this agent can delegate tasks to. Each sub-agent becomes a callable tool") and an + Add Sub-Agent button. That button opens a searchable list of your other agents. Toggle one on and the lead can call it.

Sub-Agents → Add Sub-Agent opens a searchable picker of your other agents; toggle one on to make it callable.
Sub-Agents → Add Sub-Agent opens a searchable picker of your other agents; toggle one on to make it callable.

Each sub-agent keeps its own tools, knowledge sources, instructions and model. A transcription agent has audio tools, a knowledge-base helper has your docs, and the lead agent doesn't need any of those tools itself. You can run a cheaper model on a simple lookup specialist and a stronger one on the agent that makes judgment calls.

How does the lead agent decide which sub-agent to call?

From its instructions. You describe, in plain language, when to use each sub-agent: "For audio files, use the transcription agent. For product questions, use the knowledge-base helper. For summaries, use the summarizer."

The lead reads the incoming request, matches it against those rules, and calls the specialist it picked. In the video, a Support Lead agent has sub-agents for ticket summarizing, call transcription and knowledge-base help. Ask it to transcribe a file and it picks the transcription agent without being told which one to use.

Each delegated step shows up in chat as a card with a green "Handed off" badge, the sub-agent's model and its tool count. Expand it to see the sub-agent's full run: its system prompt, every tool call with arguments, every result and its final reply. Since June 2026 every sub-agent run is saved as its own conversation record linked back to the parent, whether the lead was called in chat or fired by a trigger.

Why use sub-agents instead of one big agent?

You could put every capability into one agent, but delegation is usually cleaner:

  • Specialization. Each sub-agent does one job with only the tools it needs, which makes it easier to write, test and trust.
  • One entry point. The lead agent is a single front door, so you (or a trigger) only deal with one agent.
  • Reuse. A good summarizer or KB-helper agent can be a sub-agent of several leads. Build it once and use it everywhere.
  • Easier debugging. The handoff card tells you which specialist handled a request, so you fix one short instruction set instead of untangling one long one.

How do you set up sub-agents?

  1. Build your specialist agents first: a summarizer, a transcription agent, a KB helper, each with its own tools and knowledge.
  2. Build (or edit) the lead agent, scroll to its Sub-Agents card, click Add Sub-Agent, and pick those specialists from the list.
  3. Write the routing instructions: tell the lead agent when to use each sub-agent.
  4. Test it in chat: give it a few different requests and confirm it delegates to the right specialist each time.

You can also describe the team to Sidekick, Macha's in-dashboard agent builder, and it will wire up the sub-agents for you. Macha guards against runaway delegation: delegation stops at 3 levels deep, an agent can't call itself or form a cycle, and each sub-agent gets up to 15 tool-call iterations before it has to return a result.

What does a working sub-agent team look like?

A common setup is a Support Lead that fronts a small team of specialists:

  • Summarizer: condenses long threads into a clear internal note.
  • Order Lookup: pulls order status and tracking from Shopify.
  • KB Helper: answers product questions from your help center.
  • Transcription: transcribes audio attached to a ticket.

The Lead's instructions do the routing: "For audio, use Transcription. For 'where's my order', use Order Lookup. For product questions, use KB Helper. For anything you can't handle, summarize with Summarizer and hand to a human." A ticket comes in, the Lead reads it and delegates, so one front door serves four specialists. Add a Ticket Created trigger to the Lead and the whole team runs autonomously: every ticket gets routed without wiring each specialist to its own trigger.

Handoffs don't add a charge. Macha bills per ticket, one charge however many messages or tool calls it takes, and a sub-agent's work counts inside the parent ticket rather than as a second one.

What are the best practices for sub-agents?

  • Keep specialists narrow. One clear job per sub-agent makes routing reliable.
  • Be explicit in the routing instructions. Spell out which sub-agent handles which kind of request, and what the lead does when none fits.
  • Reuse your best agents as sub-agents across multiple leads.
  • Test the routing, not just each agent. Run the range of requests you expect and check the handoff cards to see who picked each one up.

Frequently asked questions

What is a sub-agent? An existing agent that you've given another agent access to, so the lead agent can delegate tasks to it.

How does the lead agent decide which sub-agent to use? From its instructions, where you describe when to use each one, plus its own reading of the request.

Do sub-agents keep their own tools? Yes. Each sub-agent keeps its own tools, knowledge and model, scoped to its job.

Why not just build one big agent? Focused agents are easier to write, test, trust and reuse, and a lead agent routes between them.

Can a sub-agent call its own sub-agents? Yes, up to 3 levels deep. Macha blocks an agent from calling itself or forming a loop.

Can I see what a sub-agent did? Yes. Each handoff appears as an expandable card in chat, and the sub-agent's run is saved as its own conversation linked to the parent.

Build your first agent team: create a couple of specialists and a lead to route between them. $50 of free usage, no credit card required. Start free.

Macha

About Macha

Macha is an AI agent platform that works on top of the help desk you already use (Zendesk, Freshdesk, Gorgias, Front, Intercom or HubSpot) and connects to the rest of your stack, even your own internal systems. It is done for you: the Macha team analyzes your past tickets, builds the knowledge base and the agents, and runs them in safe mode until the drafts are right. Pricing is about $0.40 a ticket, and that includes setup and a dedicated success manager who handles your changes. Learn more about Macha →

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Get your AI agents set up for you.

Book a 20-minute call with our team. We'll show you where we would start on your help desk and how the setup works. Setup and a dedicated success manager come with the trial and every plan.

Live in under a week
Safe mode until you approve
About $0.40 a ticket