Role-Based Agents
A multi-agent design where each agent is defined primarily by a role, goal, and backstory — 'researcher,' 'analyst,' 'writer,' 'reviewer' — and a coordination layer orchestrates who does what and how their outputs combine. Popularized by CrewAI (its 'crews') and classic AutoGen conversation patterns, the role-based model is the fastest way to stand up a team of specialized agents with minimal boilerplate: you describe the roles and hand the crew a task rather than authoring the control flow yourself. The trade-off versus Graph-Based Orchestration is less deterministic control over the exact sequence — you're trusting the coordinator. Frameworks add escape hatches (CrewAI's Flows) to reintroduce graph-like control when a pure crew is too loose. Best when the work divides cleanly by role and speed-to-prototype matters more than step-level control.
Example
A content pipeline as a crew: a Researcher agent gathers sources, a Writer agent drafts from the research, and an Editor agent critiques and revises. You define three roles in a few lines and hand the crew the topic; the framework routes the research to the writer and the draft to the editor without you wiring the transitions.
Frequently asked questions
- When should I pick role-based agents over a single agent?
- Only when the work genuinely divides by specialization and the division improves reliability — e.g. separating research from writing so each agent has a focused context and prompt. If one agent with the right tools can do the job, a crew adds coordination overhead and new failure modes (agents talking past each other) for no benefit. Reach for a crew when a single agent's context gets overloaded, not by default.