Skip to content

Tool Chain

Sometimes a simple answer from the language model is not enough. For this reason, the Cat can exploit a set of custom tools (e.g. API calls and Python functions) coming from the plugins.
The decision on whether and which action should be taken to fulfill the user's request is delegated to an Agent, i.e. the Tool Agent.

The Tool Agent uses the language model to outline a "reasoning" and accomplish the user's request with the tools retrieved from the Cat's procedural memory. The tools selection and usage is planned according to a set of instructions. Finally, the Tool Agent parses the formatting of the tool output.

Schema of the Cheshire Cat memories