Choosing the Right Framework Per Use Case
A decision tree: single-step? long-running? multi-agent? coding? Each branch points to a different tool.
There Is No Best Framework
Each framework excels at different patterns. Pick based on the SHAPE of your task, not the hype cycle.
Decision Tree
- Single-step (one model call, maybe one tool)? -> Hand-rolled.
- Multi-step linear (A -> B -> C)? -> LCEL or hand-rolled.
- Multi-step with loops/branches? -> LangGraph.
- Role-based crew, declarative tasks? -> CrewAI.
- Long-lived memory across sessions? -> Letta or Mem0.
- Code-execution focus? -> AutoGen or OpenHands.
- Managed RAG + code interpreter prototype? -> OpenAI Assistants.
- Web browsing / GUI? -> Anthropic Computer Use / Operator / Playwright.
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