Skip to main content
Maitai supports an infinite recursive hierarchy. A Subagent is another agent that is added as a capability to a “manager” agent.

The Manager Pattern

A high-level agent (e.g., “Customer Support Lead”) can delegate complex tasks to specialized subagents (e.g., “Billing Specialist” or “Technical Troubleshooter”).

Key Features

  • Recursive Nature: Subagents can themselves have their own subagents, allowing you to build deeply nested “Agent Trees.”
  • Shared Context: Subagents inherit relevant context from their parents but operate within their own specialized prompts and capability sets.
  • Modular Design: Build and test specialized agents independently, then compose them together into a powerful multi-agent system.