Planning the shape of a multi-agent workflow before you build it

Building a multi-agent system means deciding, up front, which agent holds which tool, when it hands off, and where a loop could start. Most people work that out with a rough diagram or a few scattered notes before they ever open LangGraph, CrewAI or n8n. The guides here walk through that early planning, one pattern at a time.

About Agent Workflow Planner

What it is

Structuring a multi-agent system means deciding, agent by agent, who holds which tool, when a handoff happens, and where a loop could start. Agent Workflow Planner is a set of guides to working that out before you write a line of code. Each guide takes one orchestration pattern and works through an example.

Who it's for

The guides are written for people who already know their way around a large language model. You may have used a framework such as LangGraph, CrewAI, n8n or AutoGen, or be about to. You might be structuring your first multi-agent pipeline, or reworking one that has grown tangled.

Where the patterns come from

The five patterns follow Anthropic's post Building effective agents, published on 19 December 2024. The worked examples in each guide are invented to show the pattern.

One pattern a guide

Each guide covers one orchestration pattern, with a worked example.

Based on published patterns

The five patterns follow Anthropic's post on building effective agents.

Not run by Anthropic

Agent Workflow Planner is not run or reviewed by Anthropic.

In every plan

What a workflow plan needs

Every role in a multi-agent plan needs the same few things written down. Here is the list to work through.

  • Name and description

    Each agent file needs two fields, a name and a description, so you can tell at a glance what that role is for.

  • Tools line

    Give every subagent file a tools line. A file without one lets the subagent use every tool it can reach.

  • Model set to inherit

    Setting model: inherit runs each subagent on the same model as your main session.

  • Trigger condition

    Each role carries the condition under which it activates, so the handoff into it is explicit.

  • Handoff order

    The sequence in which agents pass control to one another is set out directly.

  • A shape your framework reads

    Write the plan in the shape your framework expects, whether that is LangGraph, CrewAI, n8n or AutoGen.

A plan can still give a role a tool or a handoff you did not intend. Check it against the pipeline you actually want before you build from it.

Map your agent workflow before you build it

The guides take one orchestration pattern at a time, each with a worked example of roles, tools and handoff order.