LangGraph excels at complex graph-based workflows. Agents Squads focuses on persistent, CLI-first agent teams. This guide helps you understand when to choose each.
| Feature | Agents Squads | LangGraph |
|---|---|---|
| Primary Use Case | CLI orchestration for dev teams | Graph-based stateful agent workflows |
| Abstraction | Squads and agents (flat, file-based) | Directed graphs (nodes + edges) |
| Memory | File-based persistent (Markdown/JSON) | Checkpointers (SQLite, Postgres, Redis) |
| Setup | npm install -g squads-cli | pip install langgraph |
| Language | TypeScript CLI + any agent language | Python (JS SDK in beta) |
| Learning Curve | Low (CLI commands) | High (graph theory concepts) |
| Deployment | Local-first, works anywhere | LangGraph Cloud or self-hosted |
| Pricing | Open source (MIT) | Open source + LangGraph Cloud (paid) |
Organizes agents into domain-aligned squads (e.g., engineering, marketing, customer). Each squad contains specialized agents with persistent memory and clear responsibilities.
.agents/memory/Models agent behavior as a directed graph. Nodes are functions (tools, LLM calls), edges define flow. State is passed between nodes and can be checkpointed.
File-based persistent memory that survives restarts, is version-controlled with Git, and can be read/edited by humans or other agents.
Why it matters: Agents remember across sessions, learnings accumulate over time, and memory is transparent (you can read/audit it).
Checkpointer-based persistence backed by databases (SQLite, Postgres, Redis). State is typed and scoped to a thread (conversation/run).
• Thread-scoped: Each run has a thread_id
• Checkpoints: Stored at every node transition
• Time-travel: Replay from any past checkpoint
Why it matters: Excellent for long-running workflows that need to pause, resume, or branch from past states.
CLI-first workflow designed for terminal users and IDE integrations like Claude Code or Cursor.
Debugging: Read agent memory files, check execution logs, trace through Git history.
Python-first with typed state definitions, graph compilation, and LangSmith observability.
Debugging: LangSmith traces, graph visualizations, checkpoint inspection.
Try Agents Squads for CLI-first, transparent agent orchestration with Claude Code.