v9.1.1
Menu

Chapter 8: Multi-Agent Frameworks: AutoGen, CrewAI, OpenAI Agents SDK, Claude Agent SDK

PROWeek 7-8

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:

FrameworkStyleMulti-agentStreamingSubagentsVendor
AutoGenActor modelFirst-classYesYesMicrosoft
CrewAIRole-based crewFirst-classLimitedNoOSS
OpenAI Agents SDKLibraryHandoffsYesYesOpenAI
Claude Agent SDKLibrarySubagentsYesFirst-classAnthropic
LangGraphGraph runtimeVia subgraphsYesVia subgraphsLangChain
Agno / MastraRuntimeYesYesYesOSS

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

1
AutoGen

Actor model — agents as message-passing processes. v0.4 rebuilt around async actors and runtimes.

2
CrewAI

Role-based crews — agents with personas, goals, and tools coordinated by sequential or hierarchical processes.

Vendor SDKs follow the OSS frameworks

From the open ecosystem to the first-party SDKs

3
OpenAI Agents SDK

Vendor-native SDK with handoffs, guardrails, sessions. OpenAI-only.

4
Claude Agent SDK

Vendor-native SDK with first-class subagents — context-isolated child agents that return a single summary.

Alternative runtimes for the polyglot stack
5
Agno & Mastra

Open-source production runtimes — Python (Agno) and TypeScript (Mastra).

All converge on a selection rubric
6
Selection Matrix

Capabilities × frameworks — match constraints to candidates, then prototype your top-2.

PRO

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.