LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    Standard Tests
    Text Splitters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicagentsloading
    Moduleā—Since v1.0

    loading

    Functionality for loading agents.

    Attributes

    Functions

    Classes

    View source on GitHub
    attribute
    AGENT_TO_CLASS: dict[AgentType, AGENT_TYPE]
    attribute
    logger
    attribute
    URL_BASE: str
    deprecatedfunction
    load_chain
    deprecatedfunction
    load_chain_from_config
    deprecatedfunction
    load_agent_from_config
    deprecatedfunction
    load_agent
    class
    BaseMultiActionAgent
    class
    BaseSingleActionAgent

    Unified method for loading a chain from LangChainHub or local fs.

    Load chain from Config Dict.

    Load agent from Config Dict.

    Unified method for loading an agent from LangChainHub or local fs.

    Base Multi Action Agent class.

    Base Single Action Agent class.