Chapter 8: Multi-Agent Frameworks: AutoGen, CrewAI, OpenAI Agents SDK, Claude Agent SDK
The five major frameworks for orchestrating multiple LLM agents — AutoGen's actor model, CrewAI's role-based crews, OpenAI Agents SDK and Claude Agent SDK as native runtimes, and Agno/Mastra as alternative production environments. A side-by-side framework selection matrix.
- Topics
- 6
Chapter Overview
The frameworks below are the production-grade options for building agents in 2025. Each makes different trade-offs around state, multi-agent coordination, streaming, subagents, and ecosystem.
The frameworks at a glance:
| Framework | Style | Multi-agent | Streaming | Subagents | Vendor |
|---|---|---|---|---|---|
| AutoGen | Actor model | First-class | Yes | Yes | Microsoft |
| CrewAI | Role-based crew | First-class | Limited | No | OSS |
| OpenAI Agents SDK | Library | Handoffs | Yes | Yes | OpenAI |
| Claude Agent SDK | Library | Subagents | Yes | First-class | Anthropic |
| LangGraph | Graph runtime | Via subgraphs | Yes | Via subgraphs | LangChain |
| Agno / Mastra | Runtime | Yes | Yes | Yes | OSS |
The selection matrix at the end of the chapter helps you pick.
This chapter covers:
- AutoGen actor model — agents as message-passing actors
- CrewAI role-based crews — agents with personas, tools, and goals coordinated by a process
- OpenAI Agents SDK — first-party SDK with handoffs, guardrails, sessions
- Claude Agent SDK & subagents — first-class subagent isolation
- Agno & Mastra runtimes — alternative open-source production runtimes
- Framework selection matrix — which to pick when
Chapter Roadmap
Click any topic to jump in
AutoGen
Actor model — agents as message-passing processes. v0.4 rebuilt around async actors and runtimes.
CrewAI
Role-based crews — agents with personas, goals, and tools coordinated by sequential or hierarchical processes.
From the open ecosystem to the first-party SDKs
OpenAI Agents SDK
Vendor-native SDK with handoffs, guardrails, sessions. OpenAI-only.
Claude Agent SDK
Vendor-native SDK with first-class subagents — context-isolated child agents that return a single summary.
Agno & Mastra
Open-source production runtimes — Python (Agno) and TypeScript (Mastra).
Selection Matrix
Capabilities × frameworks — match constraints to candidates, then prototype your top-2.
Sign up to unlock this chapter
This chapter is part of PixelBank Premium. Create a free account, then upgrade to read the full lesson — concepts, walkthroughs, and exercises.