Integrating tool use and planning
Most of the earlier work in AI planning and tool usage was done in isolation, focusing on either planning algorithms or tool capabilities separately. However, to achieve truly intelligent agents, there is a need to integrate tool use with planning effectively. As we already saw in the previous section, our travel planner gave us a detailed travel plan but none of the details were factual – that is, it contained information that the LLM simply made up. In order to infuse our system with actual flight, hotel, and activity data so that the travel plan is grounded in facts, we will need to utilize tools along with the planning algorithm. This section will discuss how to combine these two aspects to generate relevant responses and complete tasks accurately.
Reasoning about tools
Agents need the ability to reason about the available tools at their disposal, understanding the functionality, capabilities, and limitations of each tool, as well...