In the HealthyChef reimagined example, what tools are given to the ChefAgent and DietitianAgent, and why are these tools chosen?
ChefAgent is given a RAG tool that retrieves recipes from a vector database built from The Italian Cook Book, chosen so the recipes are grounded in that specific 1919 source. DietitianAgent is given a URL-reading tool for fetching the EatWell Guide, chosen so it can consult official nutritional guidelines when reviewing and revising the recipe.
In the HealthyChef reimagined example, the ChefAgent is equipped with a RAG tool. This tool is created by ingesting the Italian Cook Book text, splitting it into chunks, embedding them into a vector database, and then toolifying the FAISS retrieval component. The tool lets the chef agent run semantic searches over the cookbook content rather than relying on simple keyword matching. It was chosen because the user may either name a recipe or provide ingredients, and the chef needs to find relevant recipes from that specific book to use as inspiration. The DietitianAgent is equipped with a URL component switched to Tool Mode, which allows the agent to fetch content from any webpage. In practice, it is intended to fetch the EatWell Guide at tiny.cc/eatwellguide. This tool was chosen so the dietitian can always retrieve the latest official dietary guidelines before producing its response. The two agents are connected in sequence: the chef first creates a recipe using the RAG tool, then the dietitian receives that recipe and uses the URL tool to consult the guidelines and revise the recipe. The tools were selected to support specialization, keeping each agent focused on one clear task and making the generation-then-review workflow transparent.
Key points
- ChefAgent receives a RAG tool based on a vector database of The Italian Cook Book.
- The RAG tool enables semantic retrieval of relevant recipes from the cookbook.
- DietitianAgent receives a toolified URL component for fetching webpages, mainly the EatWell Guide.
- The URL tool was chosen so the dietitian can consult official nutritional guidelines before responding.
- The tools enforce a sequential agentic workflow: chef generates from the book, dietitian revises against health standards.
Related questions
AI Agents and Applications
Andrea De Mauro
MEAP Edition Version 7 · Manning Publications