LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Graphs
    • Functional API
    • Pregel
    • Checkpointing
    • Storage
    • Caching
    • Types
    • Runtime
    • Config
    • Errors
    • Constants
    • Channels
    • Agents
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewGraphsFunctional APIPregelCheckpointingStorageCachingTypesRuntimeConfigErrorsConstantsChannelsAgents
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    PythonLangGraph

    LangGraph reference

    Welcome to the LangGraph package reference documentation!

    LangGraph is a framework for building resilient language agents as graphs. The langgraph package is the main entrypoint, providing everything you need to define stateful, multi-step agent workflows. The packages below form the LangGraph ecosystem:

    langgraph

    The core framework for building stateful, multi-actor applications with LLMs as graphs.

    langgraph.prebuilt

    Pre-built agents and tool nodes for common patterns like ReAct agents.

    langgraph.checkpoint

    Base interfaces and serialization for graph state checkpointing.

    langgraph.checkpoint.postgres

    PostgreSQL-backed checkpoint storage for persistent graph state.

    langgraph.checkpoint.sqlite

    SQLite-backed checkpoint storage for lightweight local persistence.

    langgraph_cli

    Command-line interface for managing and deploying LangGraph applications.

    langgraph_sdk

    Python SDK client for interacting with deployed LangGraph APIs.

    langgraph_supervisor

    Build multi-agent systems with a supervisor agent that delegates to sub-agents.

    langgraph_swarm

    Build multi-agent systems with swarm-style agent handoff patterns.