Sub-Agents

πŸ€– Multi-Agent Architecture & Delegation

The Sub-Agents tab transforms your AI agent from a single assistant into a coordinated team of specialized experts. Here, you configure hierarchical agent relationships, delegation patterns, and collaborative workflows that enable sophisticated multi-agent problem-solving.


🎯 What Are Sub-Agents?

Sub-agents are specialized AI assistants that your primary agent can delegate specific tasks to, creating a hierarchical system where:

  • Primary Agent: Acts as orchestrator and user interface

  • Sub-Agents: Handle specialized functions, domains, or complex sub-tasks

  • Delegation: Intelligent routing of tasks to most appropriate sub-agent

  • Coordination: Results aggregation and workflow management

  • Escalation: Complex cases handled by multiple agents working together


πŸ—οΈ Sub-Agent Architecture Patterns

🎭 Specialization by Domain

Different sub-agents handle distinct subject areas:

Example: Customer Service Agent Hierarchy

πŸ”„ Process-Based Delegation

Sub-agents organized around business processes:

Example: Sales Process Agent Team

⚑ Capability-Based Distribution

Sub-agents with specialized functional abilities:

Example: Content Creation Agent Network


βš™οΈ Sub-Agent Configuration

How to Configure Sub-Agents in Tab 7

In the Visual Agent Builder, Tab 7 allows you to add other agents as "tools" that your primary agent can delegate tasks to. This creates a hierarchical multi-agent system where specialized sub-agents handle specific domains.

Step-by-Step Configuration

1. Navigate to Tab 7: Sub-Agents & Delegation

  • Open your primary agent in the Visual Agent Builder

  • Click on Tab 7 in the configuration interface

  • This is where you'll add and configure all sub-agents

2. Add a Sub-Agent

  • Click "Add Sub-Agent" or similar action button

  • Select an existing agent from your workspace to use as a sub-agent

  • Each sub-agent must be a fully configured agent in your workspace

3. Configure Sub-Agent Tool Settings

For each sub-agent, you configure:

Setting
Description
Configuration Details

Sub-Agent Selection

Choose which agent to use

Select from your existing agents in the workspace

Description

How primary agent should use this sub-agent

Describe the sub-agent's role, expertise, and when to delegate to it

Metadata

Visual positioning (for multi-agent system diagrams)

Optional: Position coordinates for visual representation

4. Write Effective Sub-Agent Descriptions

The description field is critical - it tells your primary agent when and how to use each sub-agent:

Good Description Examples:

Poor Description Examples:

Creating Sub-Agents (Prerequisites)

Before adding sub-agents to your primary agent, you must first create them as standalone agents:

Sub-Agent Definition Example

Delegation Rules Configuration

How Sub-Agent Delegation Works

Runtime Execution Flow

When your primary agent decides to use a sub-agent, here's what happens:

1. Tool Invocation

2. Message Parameters

3. Sub-Agent Execution

4. Response Format

Conversation Thread Management

Single-Turn Delegation:

Multi-Turn Delegation:

Handoff Protocols

Multi-Agent Collaboration

Context Management

Shared Context Pool

Privacy & Access Control


πŸš€ Advanced Sub-Agent Features

Dynamic Sub-Agent Creation

Automatically spawn specialized agents for complex scenarios:

Sub-Agent Performance Optimization

Load Balancing & Scaling

Continuous Learning & Improvement

Specialized Sub-Agent Types

Research & Analysis Agents

Creative & Content Agents

Technical Implementation Agents


πŸ“Š Sub-Agent Analytics & Management

Performance Metrics

Individual Sub-Agent Metrics

Network-Level Analytics

Sub-Agent Lifecycle Management

Creation & Deployment

Maintenance & Evolution


🎯 Sub-Agent Best Practices

Design Principles

Clear Specialization

Seamless User Experience

Implementation Strategy

Gradual Rollout Approach

Change Management


πŸ“ˆ Sub-Agent ROI & Business Impact

Value Creation Metrics

Strategic Advantages


🎯 Sub-Agent Deployment Checklist

Before implementing sub-agent architecture:


πŸ› οΈ Complete Configuration Example

Scenario: Customer Support Multi-Agent System

Here's a complete example showing how to configure a customer support agent with three specialized sub-agents:

Step 1: Create Sub-Agents

Sub-Agent 1: Technical Support Specialist

Sub-Agent 2: Billing Specialist

Sub-Agent 3: Product Expert

Step 2: Configure Primary Agent

Primary Agent: Customer Support Coordinator

Step 3: Add Sub-Agents in Tab 7

Sub-Agent Configuration 1:

Sub-Agent Configuration 2:

Sub-Agent Configuration 3:

Step 4: Test Your Multi-Agent System

Test Case 1: Technical Issue

Test Case 2: Billing Question

Test Case 3: Product Question

Test Case 4: General Question


🎯 Configuration Best Practices

Sub-Agent Description Writing Tips

1. Be Specific About Scope

2. Mention Available Tools/Knowledge

3. Include Example Scenarios

4. Clarify Boundaries

Common Configuration Mistakes

❌ Overlapping Responsibilities

❌ Missing Context in Descriptions

❌ Too Many Sub-Agents

❌ Sub-Agents Missing Required Tools


πŸ“‹ Quick Reference

Configuration Checklist

Before deploying your multi-agent system:

When to Use Sub-Agents

βœ… Use Sub-Agents When:

  • You need specialized expertise in different domains

  • Different tasks require different knowledge bases

  • You want to separate concerns (billing, technical, sales)

  • Different workflows/tools needed for different request types

  • You need to scale specialized capabilities independently

❌ Don't Use Sub-Agents When:

  • Single domain/expertise is sufficient

  • All requests can be handled with same knowledge/tools

  • Adding complexity without clear benefit

  • Sub-agents would just duplicate primary agent's capabilities


Transform your AI agent from a single assistant into an intelligent team of specialistsβ€”each expert bringing deep knowledge and specialized capabilities to solve complex challenges.

Last updated

Was this helpful?