# What is a ReAct agent in LangGraph?

A prebuilt graph that runs [the ReAct pattern](/answers/tool-calling/whats-the-difference-between-tool-calling-and-the-react-pattern) on structured tool calls: a model calling tools in a loop until a given task is complete, instead of a graph you wire node by node. It's the quickest way to get a working agent, and the one most people reach for before they need a custom graph for branching, human approval, or multiple cooperating agents.

Its name has changed. `create_react_agent`, imported from `langgraph.prebuilt`, is deprecated as of LangGraph v1 in favor of LangChain's `create_agent`, imported from `langchain.agents`. The call shape is almost identical, model and tools in, a runnable agent out, but the `prompt` argument is renamed `system_prompt`, and dynamic model or tool selection moves from a callable passed to `model` into the newer middleware interface instead.

What stays the same across the rename is the loop itself: the graph keeps calling the model and running whatever tools it returns until the model stops asking for one, which is the behavior the "ReAct" name describes regardless of which function builds the graph.

---

Published: 2026-10-26

Sources:
- LangChain docs: Migrate to LangGraph v1 (create_react_agent deprecation): https://docs.langchain.com/oss/python/migrate/langgraph-v1 (fetched 2026-10-26)
- LangChain docs: Agents (create_agent): https://docs.langchain.com/oss/python/langchain/agents (fetched 2026-10-26)

Source: https://tessary.ai/answers/langgraph-evals/what-is-a-react-agent-in-langgraph
More on LangGraph evals: https://tessary.ai/answers/langgraph-evals
From Tessary, agent reliability for AI agents in production: https://tessary.ai
