-
Book Overview & Buying
-
Table Of Contents
AI Agents in Practice
By :
As we’ve seen in earlier chapters, a single AI agent will typically be provided with tools such as web APIs, databases, web services, and more. These tools extend the agent’s functionality beyond text generation, enabling it to interact with the world and perform goal-driven tasks. For example, in the previous chapter, we explored how an AI agent for an Italian restaurant can be integrated with the backend database containing in-stock products, retrieve relevant insight from a vector database, and even perform actions such as adding an item to the user’s cart.
But what if we took this one step further?
Just as a single agent can call a tool, an agent can also call another agent. In fact, from the perspective of a higher-level agent, another agent is a tool, as long as it is provided with a natural language description of its capabilities. This gives rise to multi-agent systems, where intelligent entities communicate...