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
    PythonlanggraphAgents

    Agents

    Classes

    Class

    ToolNode

    A node for executing tools in LangGraph workflows.

    Class

    InjectedState

    Annotation for injecting graph state into tool arguments.

    Class

    InjectedStore

    Annotation for injecting persistent store into tool arguments.

    Class

    ToolRuntime

    Runtime context automatically injected into tools.

    Class

    HumanResponse

    The response provided by a human to an interrupt, which is returned when graph execution resumes.

    Class

    AgentState

    deprecated

    The state of the agent.

    Class

    ValidationNode

    deprecated

    A node that validates all tools requests from the last AIMessage.

    Class

    HumanInterruptConfig

    deprecated

    Configuration that defines what actions are allowed for a human interrupt.

    Class

    ActionRequest

    deprecated

    Represents a request for human action within the graph execution.

    Class

    HumanInterrupt

    deprecated

    Represents an interrupt triggered by the graph that requires human intervention.

    Functions

    Function

    tools_condition

    Conditional routing function for tool-calling workflows.

    Function

    create_react_agent

    deprecated

    Creates an agent graph that calls tools in a loop until a stopping condition is met.