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-classicagentsmrklbase
    Module●Since v1.0

    base

    Attempt to implement MRKL systems as described in arxiv.org/pdf/2205.00445.pdf.

    Attributes

    attribute
    AGENT_DEPRECATION_WARNING: str
    attribute
    FORMAT_INSTRUCTIONS: str
    attribute
    PREFIX: str
    attribute
    SUFFIX: str

    Functions

    function
    validate_tools_single_input

    Validate tools for single input.

    Classes

    class
    AgentExecutor

    Agent that is using tools.

    class
    AgentOutputParser

    Base class for parsing agent output into agent action/finish.

    class
    MRKLOutputParser

    MRKL Output parser for the chat agent.

    class
    ChainConfig

    Configuration for a chain to use in MRKL system.

    deprecatedclass
    Agent

    Agent that calls the language model and deciding the action.

    This is driven by a LLMChain. The prompt in the LLMChain MUST include a variable called "agent_scratchpad" where the agent can put its intermediary work.

    deprecatedclass
    AgentType

    An enum for agent types.

    deprecatedclass
    ZeroShotAgent

    Agent for the MRKL chain.

    deprecatedclass
    MRKLChain

    Chain that implements the MRKL system.

    View source on GitHub