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

    BaseMultiActionAgent

    Base Multi Action Agent class.

    Copy
    BaseMultiActionAgent()

    Bases

    BaseModel

    Attributes

    attribute
    return_values: list[str]

    Return values of the agent.

    attribute
    input_keys: list[str]

    Return the input keys.

    Methods

    method
    get_allowed_tools

    Get allowed tools.

    method
    plan

    Given input, decided what to do.

    method
    aplan

    Async given input, decided what to do.

    method
    return_stopped_response

    Return response when agent has been stopped due to max iterations.

    method
    dict

    Return dictionary representation of agent.

    method
    save

    Save the agent.

    method
    tool_run_logging_kwargs

    Return logging kwargs for tool run.

    View source on GitHub