🧠 SmartBite: AI That Cooks
SmartBite is an agentic AI assistant that helps users plan whole food plant-based (WFPB) meals by reasoning across preferences, dietary constraints, and recipe sources. It uses Langflow to orchestrate retrieval and lays the foundation for personalized food intelligence.
✨ Inspiration
As someone who follows a whole food plant-based (WFPB) lifestyle, I constantly faced decision fatigue: What do I eat today? Most apps are rigid, repetitive, and fail to remember what I like, dislike, or avoid due to allergies. Static filters like “vegan” or “gluten-free” don’t address more nuanced needs like “no tofu this week” or “oil-free dinners.”
I wanted to build an assistant that felt like a personal chef and nutritionist in one — something that could plan meals intelligently and adaptively, not just spit out static recipes.
🍽️ What It Does
SmartBite lets users:
- 🧠 Ask for plant-based recipes or weekly meal plans through chat or structured input
- ✅ Specify allergies and dietary preferences (e.g., oil-free, soy-free), along with health goals (weight management, boost energy, etc.)
- 🔍 Retrieve results using Tavily AI Search for real-time web results
- 🧾 Get a structured meal plan with no repeated meals, honoring all constraints
- 🔁 Automatically fall back to an AI model to generate recipes when no results are found
It’s the first step toward a truly adaptive, memory-aware food assistant.
🛠️ How We Built It
SmartBite is powered by Langflow and built using:
- Langflow for orchestrating agents and toolchains
- Tavily AI Search for real-time recipe search
- LLM (OpenAI) as a fallback generative layer when no suitable recipes are found
The agent filters all results by:
- Allergy safety
- Diet type
- Repetition avoidance
- Health goals
Conditional routing is designed to prioritize:
Tavily → LLM
🚧 Challenges We Ran Into
1. Source Switching & Quality Control
Balancing real-time Tavily results with fallback LLM generations required tight filtering and output validation. Designing graceful fallbacks without overwhelming users was key.
2. Langflow Constraints
Langflow is powerful but has limitations: timeouts, UI quirks, and chaining issues forced multiple iterations and prompt rewrites.
3. Personalization vs Simplicity
We wanted SmartBite to feel personal, but adding too many inputs made the UX clunky. Finding the right balance took effort.
🏆 Accomplishments That We're Proud Of
- ✅ Built a working recipe assistant with smart fallback logic
- ✅ Integrated Tavily AI Search and OpenAI LLM as complementary sources
- ✅ Delivered a functional demo that tailors weekly meal plans based on user preferences
- ✅ Designed the architecture for future agents: meal swaps, grocery lists, and memory
SmartBite isn’t just a demo — it’s the foundation of a full-stack, food intelligence system.
📚 What We Learned
- Agentic systems aren’t just chains — they’re modular, goal-driven problem solvers
- Langflow is great for orchestration but requires creative prompt and logic design
- Personalization is only as good as memory, feedback, and iterative learning
- Relying on a mix of retrieval and generation increases robustness
🚀 What's Next for SmartBite
- 🔁 Meal Swap Agent – Easily replace meals while keeping nutritional goals
- 🛒 Smart Grocery List Agent – Generate grouped, deduplicated shopping lists
- ❤️ Preference Memory – Learn from likes, dislikes, and plan history
- 🥗 Nutrition Coach – Track macros and adjust future plans automatically
- 📱 UX Layer for Consumers – Wrap it all in a delightful, mobile-first experience
We’re just getting started. SmartBite aims to make food feel joyful, not exhausting — and agentic AI is the secret ingredient.
Built With
- bolt
- gpt4mini
- langflow
- tavilyaisearch



Log in or sign up for Devpost to join the conversation.