Multi-Agent AI

Learn how to build and manage multiple AI agents with Clawdbot. Separate work, personal, and project assistants.

Multi-Agent AI Systems: The Complete Guide

Last updated: February 2026

One AI assistant is useful. Multiple AI agents β€” each with their own personality, memory, and capabilities β€” is transformative.

Imagine a work assistant that knows your professional context, a family helper that manages household logistics, and a project-specific agent focused on your side business. All running simultaneously, all knowing their boundaries, all helping you in different ways.

This guide shows you how to design, build, and manage multi-agent AI systems using Clawdbot. If you haven’t set up Clawdbot yet, start with our complete setup guide.


Table of Contents

  1. Why Multiple Agents?
  2. Architecture Options
  3. Designing Your Agent System
  4. Implementation Guide
  5. Agent Communication
  6. Memory and Context
  7. Security Considerations
  8. Real-World Examples
  9. Troubleshooting
  10. FAQ

Why Multiple Agents?

The Problem with One Agent

A single AI assistant handling everything creates issues:

  • Context confusion β€” Work emails mixed with personal tasks
  • Personality mismatch β€” Professional tone in family chats, casual in work
  • Security concerns β€” All data in one place
  • Information overload β€” One agent knowing everything about everything

The Multi-Agent Advantage

Single Agent Multiple Agents
One personality Tailored personalities per context
Shared memory Isolated or selectively shared memory
All-or-nothing access Granular permissions per agent
Context switching Purpose-built focus
Single point of failure Resilient separation

When Multi-Agent Makes Sense

Good candidates: - Separate work and personal life - Different family members (each with their own assistant) - Distinct business ventures - Client-facing vs internal assistants - Different security requirements

Probably overkill: - Simple personal use - Single small business - Just starting out with AI assistants


Architecture Options

Option 1: Fully Isolated Agents

Each agent is completely separate β€” different workspace, different memory, different channel.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Work Agent    β”‚     β”‚  Family Agent   β”‚     β”‚  Project Agent  β”‚
β”‚                 β”‚     β”‚                 β”‚     β”‚                 β”‚
β”‚ Workspace: work β”‚     β”‚ Workspace: home β”‚     β”‚ Workspace: biz  β”‚
β”‚ Channel: Slack  β”‚     β”‚ Channel: TG     β”‚     β”‚ Channel: TG     β”‚
β”‚ Memory: work/   β”‚     β”‚ Memory: home/   β”‚     β”‚ Memory: biz/    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Pros: Maximum security, clear boundaries Cons: No information sharing, potential duplication

Option 2: Shared Core, Separate Workspaces

Agents share some context (who you are, preferences) but have separate operational memory.

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Shared Context β”‚
                    β”‚   (USER.md)     β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                    β–Ό                    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Work Agent   β”‚    β”‚ Family Agent  β”‚    β”‚ Project Agent β”‚
β”‚  Own memory   β”‚    β”‚  Own memory   β”‚    β”‚  Own memory   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Pros: Consistent identity, reduced duplication Cons: More complex setup, shared file management

Option 3: Hub and Spoke

One primary agent that can spawn or communicate with specialist agents.

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   Main Agent    β”‚
                    β”‚   (Hub)         β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                             β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                    β–Ό                    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Work Spoke   β”‚    β”‚ Research Spokeβ”‚    β”‚ Comms Spoke   β”‚
β”‚  (spawned)    β”‚    β”‚  (spawned)    β”‚    β”‚  (spawned)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Pros: Coordinated, can spawn agents for specific tasks Cons: Most complex, requires inter-agent messaging


Designing Your Agent System

Step 1: Map Your Contexts

List the different contexts in your life/business:

Context Primary Use Who Interacts Sensitivity
Work Email, calendar, projects Just me High
Personal Todo, reminders, misc Just me Medium
Family Household, kids’ schedules Me + spouse Medium
Side Business Leads, clients, ops Just me High
Kids’ Help Homework, revision Kids Low

Step 2: Decide Agent Boundaries

Which contexts need separate agents?

Combine when: - Same sensitivity level - Natural overlap - Same people interacting - Shared information needed

Separate when: - Different sensitivity levels - Different people using - Clear boundaries needed - Different personalities required

Step 3: Design Each Agent

For each agent, define:

  1. Identity β€” Name, personality, tone
  2. Capabilities β€” What tools it can access
  3. Memory β€” What it should remember
  4. Boundaries β€” What it should NOT do
  5. Channel β€” Where it lives (Telegram, Slack, etc.)

Example Agent Designs

Work Agent: β€œAlex” - Personality: Professional, efficient, concise - Capabilities: Email, calendar, web research, document drafting - Memory: Work projects, colleagues, meeting history - Boundaries: No personal topics, no family information - Channel: Slack

Family Agent: β€œHome” - Personality: Friendly, helpful, patient - Capabilities: Calendar, reminders, lists, homework help - Memory: Family schedules, preferences, kids’ activities - Boundaries: No work information, no financial decisions - Channel: Telegram group


Implementation Guide

Step 1: Create Workspace Directories

Each agent needs its own workspace:

mkdir -p ~/clawd-work
mkdir -p ~/clawd-personal
mkdir -p ~/clawd-family
mkdir -p ~/clawd-business

Step 2: Set Up Workspace Files

Each workspace needs at minimum:

~/clawd-work/
β”œβ”€β”€ AGENTS.md      # Work-specific instructions
β”œβ”€β”€ MEMORY.md      # Work-related memory
β”œβ”€β”€ USER.md        # Work identity (can be symlinked)
└── memory/        # Daily notes

Example AGENTS.md for Work Agent:

# Work Agent β€” Alex

You are Alex, a professional assistant for work tasks.

## Personality
- Professional and efficient
- Concise responses
- Focus on action and results

## Capabilities
- Email management (read, draft, send with approval)
- Calendar (view and create events)
- Research (web search, summarization)
- Document drafting

## Boundaries
- Never discuss personal/family matters
- No access to personal email or calendars
- Always sign external emails as "Alex, Executive Assistant to [Name]"

## Rules
- External emails require approval before sending
- Flag anything unusual for human review

Step 3: Configure Multiple Agents

In ~/.clawdbot/clawdbot.json:

{
  "agents": [
    {
      "id": "work",
      "name": "Alex",
      "workspace": "~/clawd-work",
      "model": "anthropic/claude-opus-4-5",
      "channels": [
        {
          "type": "slack",
          "token": "xoxb-work-token",
          "allowedChannels": ["C123WORK"]
        }
      ]
    },
    {
      "id": "personal",
      "name": "Felix",
      "workspace": "~/clawd-personal",
      "model": "anthropic/claude-sonnet-4-20250514",
      "channels": [
        {
          "type": "telegram",
          "token": "personal-bot-token",
          "allowedUsers": [123456789]
        }
      ]
    },
    {
      "id": "family",
      "name": "Home",
      "workspace": "~/clawd-family",
      "model": "anthropic/claude-sonnet-4-20250514",
      "channels": [
        {
          "type": "telegram",
          "token": "family-bot-token",
          "allowedUsers": [123456789, 987654321]
        }
      ]
    }
  ]
}

Step 4: Create Telegram Bots

For each Telegram-based agent, create a separate bot via BotFather. See our Telegram setup guide for detailed instructions.

  1. /newbot for Work Assistant
  2. /newbot for Personal Assistant
  3. /newbot for Family Assistant

Each bot gets its own token.

Step 5: Start and Test

clawdbot gateway restart

Message each bot separately. Verify they respond with the correct personality and have access to only their designated tools.


Agent Communication

When Agents Need to Talk

Sometimes information needs to cross boundaries: - Work calendar affects personal availability - Family emergency needs to pause work agent - Project learnings relevant to main business

Option 1: Shared Files (Simple)

Agents can read (but not write) a shared context file:

~/shared/
β”œβ”€β”€ calendar-summary.md    # Read by all agents
β”œβ”€β”€ urgent-flags.md        # Emergency communication
└── contacts.md            # Shared contact list

Update these files manually or via cron.

Option 2: Agent-to-Agent Messaging

Clawdbot supports sessions_send for inter-agent communication:

// Work agent can message personal agent
sessions_send({
  sessionKey: "personal",
  message: "Heads up: work meeting ran late, will be home 7pm not 6pm"
})

Use sparingly β€” too much cross-talk defeats the purpose of separation.

Option 3: Human as Router

The simplest approach: you relay information between agents as needed.

β€œHey Family agent, my work meeting ran late, update the dinner plan.”

Low-tech but maintains clear boundaries.


Memory and Context

Isolated Memory (Default)

Each agent has completely separate memory:

~/clawd-work/MEMORY.md     β†’ Only work agent reads
~/clawd-personal/MEMORY.md β†’ Only personal agent reads
~/clawd-family/MEMORY.md   β†’ Only family agent reads

Pros: Clean separation, no leakage Cons: Duplication, agents don’t know about each other

Shared USER.md

All agents can share basic identity:

# Create master USER.md
nano ~/clawd/USER.md

# Symlink to all workspaces
ln -s ~/clawd/USER.md ~/clawd-work/USER.md
ln -s ~/clawd/USER.md ~/clawd-personal/USER.md
ln -s ~/clawd/USER.md ~/clawd-family/USER.md

Now all agents know who you are, your timezone, basic preferences.

Selective Sharing

Some information should be shared, some shouldn’t:

Information Share Across Agents?
Your name, timezone Yes
Work projects No
Family birthdays Family + Personal only
Sensitive passwords No agent should store
Calendar free/busy Yes (summary only)

Security Considerations

Data Isolation

The rule: Agents should only access what they need.

Agent Email Access Calendar Access File Access
Work Work email only Work calendar ~/clawd-work
Personal Personal email Personal calendar ~/clawd-personal
Family None Family calendar ~/clawd-family
Kids None None ~/clawd-kids

Credential Separation

Don’t put all API keys in one place: - Work agent: Work Gmail OAuth, work integrations - Personal agent: Personal Gmail OAuth, personal services - Each agent’s credentials in its own workspace or env

Trust Levels

Different agents, different trust:

# Work Agent β€” High Trust
- Can send external emails (with logging)
- Can access client data
- Full calendar control

# Family Agent β€” Medium Trust
- Can send internal messages
- Cannot send external emails
- Read-only calendar

# Kids Agent β€” Low Trust
- No email access
- No calendar modification
- Web search only (with filtering)

Real-World Examples

Example 1: Founder Setup

4 agents for a startup founder:

  1. Main β€” Personal assistant, general coordination
  2. Work β€” Company operations, team communication
  3. Family β€” Household, kids, personal life
  4. Investor β€” Investor relations, board prep (high-security)

Example 2: Family Setup

3 agents for a family:

  1. Family Hub β€” Shared calendar, household tasks, meal planning
  2. Kid 1 Helper β€” Homework, revision, study support
  3. Kid 2 Helper β€” Same, different kid, different grade

Example 3: Agency Setup

5 agents for a service business:

  1. Internal β€” Team coordination, internal ops
  2. Client A β€” Dedicated agent for client A
  3. Client B β€” Dedicated agent for client B
  4. Sales β€” Lead qualification, pipeline
  5. Support β€” Customer service, ticket handling

Troubleshooting

Agents responding on wrong channel

Cause: Bot tokens mixed up in config.

Fix: Double-check each agent’s token matches its intended bot.

Memory leaking between agents

Cause: Shared workspace path, or symlinked files.

Fix: Verify each agent has a unique workspace path. Check for symlinks.

One agent working, others not

Cause: Configuration error for specific agents.

Fix: Check each agent’s config individually. Verify tokens, paths, permissions.

Agent has wrong personality

Cause: AGENTS.md not being read, or wrong workspace.

Fix: Verify workspace path. Check AGENTS.md exists and is readable.


FAQ

How many agents can I run?

Technically, no hard limit. Practically, 3-6 agents is manageable. More than that becomes complex to maintain.

Do agents share API costs?

Agents share your API account, so costs are combined. More agents = more usage = higher costs. Use Sonnet for routine agents, Opus only where needed.

Can agents run on different models?

Yes. Configure each agent with its preferred model: - Work (complex tasks): Claude Opus - Personal (routine): Claude Sonnet - Kids (simple): Claude Haiku

Should each agent have a different voice?

If using TTS, yes β€” different voices reinforce different identities. Configure voiceId per agent.

Can one person use multiple agents?

Yes. You can message your Work bot for work stuff and Personal bot for personal stuff. Same human, different agents.

What if I need to shut down one agent?

Remove it from config or set it to disabled. Other agents continue running.


Summary

Multi-agent AI systems let you:

  • Separate contexts β€” Work vs personal vs family
  • Customize personalities β€” Professional vs casual vs friendly
  • Control access β€” Each agent only sees what it needs
  • Scale intelligently β€” Add agents for new contexts

Start simple (2 agents: work + personal), expand as needed.


Need help designing your multi-agent system? Swarm architects and builds AI assistant systems for businesses. Book a call to discuss your setup.

Need Help Setting This Up?

Swarm builds and manages AI assistants for businesses. Same tech, zero headache.

Book a Free Consultation β†’