Free lesson · Module: Agents in Production

Multi-Agent Systems

A subagent is a clean context

A subagent is a helper the main agent, the orchestrator, launches for one narrow job. Its real value is a separate, clean context window. It digs through files and long logs, spends its own tokens on that, and returns a short digest. All the clutter stays with it. Picture an intern who reads a folder of documents and tells you what matters.

Orchestrator or explicit graph

There are two ways to wire several agents together. Orchestrator: a boss agent where the LLM itself decides which subagents to call and when. Flexible, but you can’t predict the path. Explicit graph: code fixes the steps and transitions, and the model works inside each step. Predictable, but rigid. The costlier a mistake, the more order belongs in code.

More on Way of the Agent

Still in this lesson: 3 more cards, a quiz of 5 questions, XP and stars - in the course.

Continue the lesson on the Path