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-classicagentstypesAGENT_TO_CLASS
    Attributeā—Since v1.0

    AGENT_TO_CLASS

    Copy
    AGENT_TO_CLASS: dict[AgentType, AGENT_TYPE] = {AgentType.ZERO_SHOT_REACT_DESCRIPTION:
    View source on GitHub
    ZeroShotAgent
    ,
    AgentType
    .
    REACT_DOCSTORE
    :
    ReActDocstoreAgent
    ,
    AgentType
    .
    SELF_ASK_WITH_SEARCH
    :
    SelfAskWithSearchAgent
    ,
    AgentType
    .
    CONVERSATIONAL_REACT_DESCRIPTION
    :
    ConversationalAgent
    ,
    AgentType
    .
    CHAT_ZERO_SHOT_REACT_DESCRIPTION
    :
    ChatAgent
    ,
    AgentType
    .
    CHAT_CONVERSATIONAL_REACT_DESCRIPTION
    :
    ConversationalChatAgent
    ,
    AgentType
    .
    STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION
    :
    StructuredChatAgent
    ,
    AgentType
    .
    OPENAI_FUNCTIONS
    :
    OpenAIFunctionsAgent
    ,
    AgentType
    .
    OPENAI_MULTI_FUNCTIONS
    :
    OpenAIMultiFunctionsAgent
    }