Project

AI Diet and Meal Planner

Medium
18 completions
~ 6 hours
4.5

In this project, you'll design multi-agent workflows via REST APIs by using FastAPI to structure, validate, and expose agent services. You'll interact with LLM providers using prompts, implement prompt engineering techniques and orchestrate LLM-based agents.

Provided by

JetBrains Academy JetBrains Academy

About

We all love a well-cooked home meal, but the choice of what to prepare is the actual challenge — especially when you are short on time, ingredients, or ideas of what to have. What if you had an AI sous-chef of your own? You will develop a multi-agent AI system using FastAPI where each agent plays a role in designing the perfect recipe depending on what you have in your kitchen and your nutritional needs. You’ll create agents that analyze available ingredients, filter recipes by diet type, and plan a complete step-by-step meal—with structured JSON outputs from LLMs.

Graduate project icon

Graduate project

This project covers the core topics of the Introduction to AI Engineering with Python course, making it sufficiently challenging to be a proud addition to your portfolio.

At least one graduate project is required to complete the course.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Implement your first two AI agents: Inventory Agent and Diet Agent to validate and filter user-provided ingredients according to dietary preferences. Connect these Agents to an LLM via structured JSON-format prompts to ensure reliable, structured responses.
Develop the Manager Agent to orchestrate interactions between Inventory Agent and Diet Agent. Create a unified workflow (POST /ask) that seamlessly handles multiple agent interactions, simplifying the user experience by combining multiple steps into a single request.
Create the PlannerAgent to transform basic meal suggestions into fully detailed, structured cooking recipes. Implement structured prompts to ensure consistent and reliable JSON responses, and expose endpoints (/plan and /recommend) to deliver complete recipes directly to users.
Prepare your AI Diet & Meal Planner for production deployment by adding structured logging for observability and Docker containerization for portability and consistency. Ensure your application is ready for real-world environments.

Reviews

Marcin Borkowski avatar
Marcin Borkowski
1 month ago
Basis of building simple agents from scratch, fast glance at FastApi and project conterization. Very good project, well explained.
Brian Smith avatar
Brian Smith
4 months ago
I built a fully functioning API to interact with various agents to share information between them and produce a more complex response.
JW avatar
JW
6 months ago
overall quite a good project might have benefited from being clearer on the structure of the app from stage 1 as i think i had a main.py file in my root folder and this doesnt align with fast app and also complicated the docker build so i had to move a few files around and rename imports etc

4.5

Learners who completed this project within the Introduction to AI Engineering with Python course rated it as follows:
Usefulness
4.6
Fun
4.5
Clarity
4.5