π MASala: Multi-Agent AI That Cooks Up Recipes Just for You
~ From fridge to feast, MASALA plans it all.
- π¨βπ» Dhyey Joshi
- π¨βπ» Ashutosh Gupta
- π©βπ» Vedika Shinde
- π¨βπ» Naman Shah
Our Multi-Agent System intelligently assists users in discovering healthy, personalized recipes using real-time inputs such as available ingredients, dietary restrictions, and allergies. With agents collaborating as an Analyzer, Nutritionist, Chef, and Presenter, the system ensures safe, delicious, and nutrition-aware meals β all generated automatically using modern AI.
By leveraging AI agents to simplify healthy cooking at home, our system:
- Reduces cognitive load on users,
- Promotes food safety through allergy and dietary filtering,
- Encourages smarter, personalized eating habits.
Itβs a modern take on accessible wellness β powered by collaborative intelligence.
MASala AI is a creative, multi-agent system that generates personalized recipes for users by coordinating a set of intelligent agents. It adapts to user preferences, dietary needs, and allergies, delivering healthy and delicious options.
Watch MASala AI in action!
π Click here to view the demo on YouTube
Agent | Role |
---|---|
π§ͺ Web Analyzer | Scrapes and analyzes trending recipes across the web. |
π₯¦ Nutritionist | Filters ingredients based on dietary restrictions and allergies. |
π³ Chef | Crafts creative, personalized recipes based on filtered inputs. |
π£ Presenter | Generates readable recipe JSON and visual prompts for sharing. |
All agents communicate through shared data, orchestrated via CrewAI, ensuring a seamless flow and conflict-free coordination.
- βοΈ CrewAI β Orchestrates agent behavior and logic.
- π§ Gemini (Google AI) β Powers intelligent agent reasoning.
- π LangChain + LangSmith β Memory, observability, and traceable runs.
- π¨ Pollinations API β Generates AI-based food imagery.
- π FastAPI β Powers the backend REST API.
- π‘ React.js β Interactive frontend dashboard.
git clone https://github.com/Naman009/MASala.git
cd MASala
Create a .env
file with the following:
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
LANGSMITH_API_KEY="your_langsmith_key"
LANGSMITH_PROJECT="your_project_id"
GOOGLE_API_KEY="your_google_api_key"
SERPER_API_KEY="your_serper_key"
python -m venv masala_env
source masala_env/bin/activate # Windows: masala_env\Scripts\activate
pip install -r backend/requirements.txt
cd backend
uvicorn main:app --reload
cd frontend
npm install
npm run dev
Endpoint | Description |
---|---|
POST /generate |
Send user input β Get back recipe JSON |
GET /logs |
View LangSmith logs of recent agent runs |
GET /trace |
Fetch public trace link for debugging |
- β View active agents and their current tasks.
- π‘ Real-time communication and trace logs.
- π½οΈ Final JSON response and shareable recipe visual from Pollinations AI.
- π Agent status: Working, Pending, Completed
This project is licensed under the MIT License. See the LICENSE
file for details.