12 Multi-agent Systems
This chapter covers
- Connecting tools to data sources
- Composing multi-agent systems using router and supervisor patterns
- Debugging, testing, and tracing multi-agent interactions
In chapter 11, we explored the foundations of building AI agents by creating a travel information agent capable of answering user queries about destinations, routes, and transportation options. While a single, specialized agent can be powerful, real-world applications often require the coordination of multiple agents, each handling a distinct area of expertise. In this chapter, we’ll embark on that journey—transforming our travel information agent into a robust, multi-agent travel assistant system.
Imagine planning a trip where you not only need up-to-date travel information but also want to seamlessly book your accommodation. Our enhanced multi-agent travel assistant will do just that: it will be able to answer travel questions and help you reserve hotels or bed and breakfasts in your chosen destination. To achieve this, we’ll begin by building a new agent—the accommodation booking agent.