Thinking Tools
The ThinkingTools
toolkit provides Agents with a dedicated space for reflection during execution. This toolkit enables an Agent to use a scratchpad for thinking through problems, listing rules, checking information, verifying compliance, and evaluating results before taking actions.
Unlike approaches that have agents immediately respond or take action, this toolkit encourages thoughtful consideration by giving the Agent space to “think” about its actions, examine its own responses, and maintain a log of its thought process throughout the conversation.
The toolkit includes the following tool:
think
: This tool serves as a scratchpad for the Agent to reason through problems, list applicable rules, verify collected information, and evaluate planned actions for compliance and correctness.
Example
Here’s an example of how to use the ThinkingTools
toolkit:
The toolkit comes with default instructions to help the Agent use the tool effectively. Here is how you can enable them:
ThinkingTools
can be used with any model provider that supports function calling. Here is an example with of a thinking Agent using OpenAIChat
:
This Agent can be used to address complex problems where careful consideration is needed:
or,