langgraph/how-tos/react-agent-from-scratch/ #1657
Replies: 4 comments 12 replies
-
Great tutorial, but I'm curious: Where's the explicit reasoning step? Doesn't a true ReAct agent show 'Thought, Action, Observation' cycles? This looks more like a tool-using agent. Shouldn't we see the agent's 'Thought' process before each action? Without explicit thought steps, could this lead to less thorough reasoning and potentially worse performance in complex tasks? |
Beta Was this translation helpful? Give feedback.
-
If there were more than one tool available, then the model in |
Beta Was this translation helpful? Give feedback.
-
Why do you import END twice? from langgraph.graph import StateGraph, END |
Beta Was this translation helpful? Give feedback.
-
This guide is misleading as there is no ReAct prompting and all the reasoning steps are missing. This agent can be called simple "Function calling Agent" or something. |
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/react-agent-from-scratch/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/react-agent-from-scratch/
Beta Was this translation helpful? Give feedback.
All reactions