From One to Many: Multi-Agent Systems

Introducción a los agentes de IA

Adel Nehme

VP of AI Curriculum, DataCamp

Customer Support in the Real World

$$ Types of customer tickets

  • Billing disputes requiring financial knowledge
  • Technical issues needing engineering support
  • Legal compliance questions demanding regulatory knowledge
  • Product recommendations calling for sales acumen
Introducción a los agentes de IA

Customer Support in the Real World

Ticket Type Knowledge Resources Tools to Access
Billing disputes Internal finance documentation, payment policy wiki, transaction logs Secure payment APIs, CRM with billing integration
Technical issues Engineering runbooks, system architecture docs, incident postmortems Observability tools (e.g., Datadog), ticketing system, internal dashboards
Legal compliance questions Legal knowledge base, compliance manuals, GDPR/CCPA documentation Contract management system, legal Q&A assistant, document retrieval tools
Product recommendations Product feature matrix, customer personas, sales playbooks Recommendation engine, CRM with lead tracking, chatbot assistant
Introducción a los agentes de IA

The Problem with Single Agents

Increasingly complex logic

Models using prompts with a high amount of if-else scenarios and edge-cases

$$

Tool overload

Agentic systems where a single model needs to call a wide variety of tools

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

Multi-Agent Systems

Multi Agent Systems

Single Agent Systems

A single model equipped with appropriate tools and instructions executes workflows in a loop

Multi-Agent Systems

Execute workflows across multiple coordinated agents

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

The Manager Pattern

$$

manager_pattern

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

The Manager Pattern Applied

$$

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

The Decentralized Pattern

$$ decentralized_pattern

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

The Decentralized Pattern Applied

$$ decentralized example

1 OpenAI, A Practical Guide to Building Agents, https://cdn.openai.com/business-guides-and-resources/a-practical-guide-to-building-agents.pdf
Introducción a los agentes de IA

Emerging Agent Architectures

1 LangGraph Multi Agent Systems, https://langchain-ai.github.io/langgraph/concepts/multi_agent/
Introducción a los agentes de IA

From One to Many: Multi-Agent Systems

Multi Agent Systems

1 Image generated with GPT-4o
Introducción a los agentes de IA

Let's Practice!

Introducción a los agentes de IA

Preparing Video For Download...