0Pricing
AI Agents · Lesson

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

  1. Single-step (one model call, maybe one tool)? -> Hand-rolled.
  2. Multi-step linear (A -> B -> C)? -> LCEL or hand-rolled.
  3. Multi-step with loops/branches? -> LangGraph.
  4. Role-based crew, declarative tasks? -> CrewAI.
  5. Long-lived memory across sessions? -> Letta or Mem0.
  6. Code-execution focus? -> AutoGen or OpenHands.
  7. Managed RAG + code interpreter prototype? -> OpenAI Assistants.
  8. Web browsing / GUI? -> Anthropic Computer Use / Operator / Playwright.

All lessons in this course

  1. LangGraph vs CrewAI vs AutoGen
  2. Letta (formerly MemGPT) for Long-Lived Agents
  3. OpenAI Assistants API and Threads
  4. Choosing the Right Framework Per Use Case
← Back to AI Agents