AI Agents · Concept
ReAct
A ReAct agent uses an LLM to decide when to call tools while processing messages. In LangGraph.js, createReactAgent connects the model and tool list into an executable agent.
Last updated
Syntax
createReactAgent({ llm: model, tools: [tool] })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
toolStateGraphCompiledStateGraphMessagesGraph APIstreaminghuman-in-the-loop