See new agent creation docs.

  • Parameters

    • tools: ToolInterface[]
    • llm: BaseLanguageModelInterface
    • Optional_agentType: AgentType
    • Optional_verbose: boolean
    • Optional_callbackManager: any

    Returns Promise<AgentExecutor>