LangGraph vs CrewAI vs AutoGen
Graphs vs role-based vs conversation-based orchestration — three philosophies of multi-step agents.
Three Big Frameworks
For multi-step / multi-agent systems, three frameworks dominate:
- LangGraph — explicit graph of nodes and edges
- CrewAI — role-based teams of agents
- AutoGen — free-form conversation between agents
LangGraph Style
State machine — you define nodes, edges, and a typed state object. Best when control flow is explicit.
from langgraph.graph import StateGraph, END
g = StateGraph(State)
g.add_node('plan', plan_fn)
g.add_node('act', act_fn)
g.add_edge('plan', 'act')
g.add_conditional_edges('act', router, {'continue': 'plan', 'done': END})
app = g.compile()All lessons in this course
- LangGraph vs CrewAI vs AutoGen
- Letta (formerly MemGPT) for Long-Lived Agents
- OpenAI Assistants API and Threads
- Choosing the Right Framework Per Use Case