framework-selection

Originally fromjackjin1997/clawforge
Installation
Summary

Framework selection guide for LangChain, LangGraph, and Deep Agents layered architecture.

  • Layered frameworks where LangChain provides foundation primitives, LangGraph adds orchestration and control flow, and Deep Agents adds planning, memory, file management, and skill delegation
  • Decision table guides framework choice based on task complexity: LangChain for single-purpose agents, LangGraph for custom control flow and loops, Deep Agents for multi-step planning and persistent sessions
  • Deep Agents includes six built-in middleware modules (todo lists, filesystem, subagents, skills, memory, human-in-the-loop) that can be configured or extended
  • Frameworks can be mixed in the same project; LangGraph graphs can be registered as subagents within Deep Agents, and LangChain primitives work across all layers
SKILL.md
┌─────────────────────────────────────────┐
│              Deep Agents                │  ← highest level: batteries included
│   (planning, memory, skills, files)     │
├─────────────────────────────────────────┤
│               LangGraph                 │  ← orchestration: graphs, loops, state
│    (nodes, edges, state, persistence)   │
├─────────────────────────────────────────┤
│               LangChain                 │  ← foundation: models, tools, chains
│      (models, tools, prompts, RAG)      │
└─────────────────────────────────────────┘

Picking a higher layer does not cut you off from lower layers — you can use LangGraph graphs inside Deep Agents, and LangChain primitives inside both.

This skill should be loaded at the top of any project before selecting other skills or writing agent code. The framework you choose dictates which other skills to invoke next.

Related skills
Installs
6.0K
GitHub Stars
678
First Seen
Mar 4, 2026