Frameworks

Lessons in this group, roughly in build order:

  • langchain — A Python/JS framework that wraps models, tools, and prompts behind common interfaces so you compose agents…
  • langgraph — A library for building agents as an explicit stateful graph of nodes and edges, so control flow —…
  • llamaindex — A data framework focused on retrieval over your own data: it ingests documents, indexes them, and exposes…
  • haystack — An open-source framework (by deepset) for building LLM apps as explicit pipelines of typed components,…
  • crewai — A framework for role-based multi-agent teams: you define agents with a role, goal, and backstory, hand…
  • autogen — Microsoft’s framework for multi-agent systems built around conversation: agents solve tasks by sending…
  • smol-depot — A deliberately tiny agent library (Hugging Face’s smolagents lineage) whose defining idea is the code…