1. LangGraph
Explicit state and workflow control for AI agents
LangGraph is an open-source framework for building stateful, long-running AI agents. Developers define workflow steps, transitions, and shared state, making it possible to control which messages, retrieved evidence, and tool results reach each model call. Checkpointing, durable execution, and human-in-the-loop patterns support workflows that must pause or recover. It is especially useful when context changes across multiple actions rather than a single question-and-answer exchange. LangGraph does not replace document ingestion or a retrieval database; teams integrate those components and remain responsible for context policies and application security.
Pros
- Explicit state and transitions make context flow programmable
- Supports checkpointing and human-in-the-loop workflows
- Can work with different models, retrieval systems, and tools
Cons
- Requires substantial application engineering
- Document processing and retrieval infrastructure are separate components
