Agent Review We built a router. * Our chat model will decide to make a tool call or not based upon the user input * We use a conditional edge to route to a node that will call our tool or simply end Goals Now, we can extend this into a generic agent architecture. In the above router, we invoked the model and, if it chose to call a tool, we returned a ToolMessage to the user. But, what if we simply pass that ToolMessage *back to the model*? We can let it either (1) call another tool or (2) respond directly. This is the intuition behind ReAct, a general agent architecture. * act - let the model call specific tools * observe - pass the tool output back to the model * reason - let the model reason about the tool output to decide what to do next (e.g., call another tool or just respond directly) This general purpose architecture can be applied to many types of tools.
Autonomy
Semi-autonomous
Sandbox-aware
No declared sandbox guidance
Network access
Unspecified
Filesystem access
Unspecified
Permissions declared
Not declared
Pattern
Single agent
Models
gpt-4oclaude-3-5-sonnetgpt-3.5-turbo