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-classicagentsagent_typesAgentType
    Class●Since v1.0Deprecated

    AgentType

    An enum for agent types.

    Copy
    AgentType()

    Bases

    strEnum

    Used in Docs

    • Bodo DataFrames integration
    • Pandas Dataframe integration

    Attributes

    attribute
    ZERO_SHOT_REACT_DESCRIPTION: str

    A zero shot agent that does a reasoning step before acting.

    attribute
    REACT_DOCSTORE: str

    A zero shot agent that does a reasoning step before acting.

    This agent has access to a document store that allows it to look up relevant information to answering the question.

    attribute
    SELF_ASK_WITH_SEARCH: str

    An agent that breaks down a complex question into a series of simpler questions.

    This agent uses a search tool to look up answers to the simpler questions in order to answer the original complex question.

    attribute
    CONVERSATIONAL_REACT_DESCRIPTION: str
    attribute
    CHAT_ZERO_SHOT_REACT_DESCRIPTION: str

    A zero shot agent that does a reasoning step before acting.

    This agent is designed to be used in conjunction

    attribute
    CHAT_CONVERSATIONAL_REACT_DESCRIPTION: str
    attribute
    STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION: str

    An zero-shot react agent optimized for chat models.

    This agent is capable of invoking tools that have multiple inputs.

    attribute
    OPENAI_FUNCTIONS: str

    An agent optimized for using open AI functions.

    attribute
    OPENAI_MULTI_FUNCTIONS: str
    View source on GitHub