AI Hints
Home›LangGraph Tutorial›Command and Multi-Agent
LangGraph · Lesson 68 of 120

Multi-Agent Systems

Why split.

⏱ 2 min read▶ Video at 1:12:33🎓 Free
Watch this lesson in the LangGraph courseWatch on YouTube ↗Full LangGraph course

One agent with twenty tools, and a long prompt, gets confused. It picks the wrong tool, or forgets a rule. Splitting the work between several focused agents often works better, just like a real team.

Multi-Agent Systems
From the video: Multi-Agent Systems
  • One agent, too many tools
  • Confusion
  • A team of focused agents

One agent or a team?

A single agent is simpler, and fine for a handful of tools. A team of agents shines when the work spans different areas. Each specialist has a short prompt, a few tools, and can use a different model. But a team needs coordination.

One agent

  • SimpleA few toolsOne prompt

A team

  • Focused specialistsShort promptsNeeds coordination

Ways to coordinate

There are a few common designs. A supervisor, which routes each request to the right specialist. Handoffs, where agents pass control to each other directly. And a pipeline, where agents work in a fixed order, like research, then writing.

DesignHow it works
Supervisorone agent routes to specialists
Handoffsagents pass control directly
Pipelinefixed order of agents

Summary

Multi agent systems split work between focused specialists. They're coordinated by a supervisor, handoffs, or a pipeline. Next, building a supervisor.

Key takeaways
  • Focused specialists
  • Short prompts
  • Supervisor, handoffs, pipeline
Next up: A Supervisor — one agent routes