Optional logger: LDLoggerOptional Private _agentPrivate Optional _loggerReturn the underlying compiled LangChain agent.
Run the agent with the given prompt.
Delegates to the compiled LangChain agent, which handles the tool-calling loop internally.
The user prompt to send to the agent.
Optional _outputType: Record<string, unknown>Reserved for future structured output support; currently ignored by the agent runner.
Optional Generated using TypeDoc
Runner implementation for a single LangChain agent.
Wraps a compiled LangChain agent graph (from
langchain'screateAgent) and delegates execution to it. Tool calling and loop management are handled internally by the graph, matching the Python SDK's approach.Returned by LangChainRunnerFactory.createAgent.