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

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

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

    loading

    Functionality for loading agents.

    Attributes

    attribute
    AGENT_TO_CLASS: dict[AgentType, AGENT_TYPE]
    attribute
    logger
    attribute
    URL_BASE: str

    Functions

    deprecatedfunction
    load_chain

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

    deprecatedfunction
    load_chain_from_config

    Load chain from Config Dict.

    deprecatedfunction
    load_agent_from_config

    Load agent from Config Dict.

    deprecatedfunction
    load_agent

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

    Classes

    class
    BaseMultiActionAgent

    Base Multi Action Agent class.

    class
    BaseSingleActionAgent

    Base Single Action Agent class.

    View source on GitHub