<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Anfath Hifans</title>
    <description>The latest articles on Forem by Anfath Hifans (@anfathhifans).</description>
    <link>https://forem.com/anfathhifans</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3255893%2F541aa4ab-49ee-4f9b-8511-f3dbfa0d7f72.png</url>
      <title>Forem: Anfath Hifans</title>
      <link>https://forem.com/anfathhifans</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/anfathhifans"/>
    <language>en</language>
    <item>
      <title>Ceylon Journey Partner - Real-Time AI Travel Partner for Sri Lanka</title>
      <dc:creator>Anfath Hifans</dc:creator>
      <pubDate>Mon, 01 Sep 2025 01:44:20 +0000</pubDate>
      <link>https://forem.com/anfathhifans/ceylon-journey-partner-real-time-ai-travel-partner-for-sri-lanka-4083</link>
      <guid>https://forem.com/anfathhifans/ceylon-journey-partner-real-time-ai-travel-partner-for-sri-lanka-4083</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/brightdata-n8n-2025-08-13"&gt;AI Agents Challenge powered by n8n and Bright Data&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Ceylon Journey Partner – Real-Time AI Travel for Sri Lanka&lt;/strong&gt;, an AI-powered travel planning workflow that creates a personalized itinerary for tourists visiting Sri Lanka.&lt;/p&gt;

&lt;p&gt;The workflow solves the common problem of overwhelming travel research by automating the process of collecting hotel options from multiple platforms (&lt;strong&gt;Booking.com&lt;/strong&gt;, &lt;strong&gt;Airbnb&lt;/strong&gt;, &lt;strong&gt;Agoda&lt;/strong&gt;) and combining them with user preferences such as travel dates, budget per day, destinations, and activities.&lt;/p&gt;

&lt;p&gt;It ensures travelers get a balanced plan that maximizes good weather, minimizes travel time, fits within budget, and matches personal interests.&lt;/p&gt;

&lt;h2&gt;
  
  
  Preview Workflow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbbdg79c6ojpwvt0kclb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftbbdg79c6ojpwvt0kclb.png" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tbbdg79c6ojpwvt0kclb.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/eYrAGTd9XA4"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  n8n Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/anfathhifans/5dc51464fedaa74e1a83894548951a4b" rel="noopener noreferrer"&gt;GitHub Gist - Ceylon Journey Partner&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Implementation
&lt;/h2&gt;

&lt;p&gt;The workflow is implemented in &lt;strong&gt;n8n&lt;/strong&gt; with the following components:&lt;/p&gt;

&lt;h3&gt;
  
  
  System Instructions (AI Agent Prompt):
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You are a Sri Lanka travel planning expert.  
Using the provided hotel data (Booking.com, Airbnb, Agoda), travel country, destination cities, travel dates, budget per day, traveler count (adults, children, infants, pets), and interested activities:  

Return a complete travel plan that:  
- Covers ALL provided cities between the given dates.  
- Suggests daily activities near each city based on the interests provided.  
- Recommends at least one accommodation option in each city within the budget.  
- Estimates daily costs (accommodation, activities, transport).  
- Highlights potential risks (weather, closures, peak crowd times).  
- Suggests 1–2 backup options if risks exist.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Model Choice&lt;/strong&gt;: &lt;code&gt;Google Gemini 2.5 Flash&lt;/code&gt; (via n8n AI Agent node)&lt;br&gt;
&lt;strong&gt;Memory&lt;/strong&gt;: Stateless (each itinerary generated fresh from real-time inputs)&lt;br&gt;
&lt;strong&gt;Tools Used&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza1w5pbiypzo7p2v1g3c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza1w5pbiypzo7p2v1g3c.png" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/za1w5pbiypzo7p2v1g3c.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Webhook Trigger&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Entry point for user input.&lt;/li&gt;
&lt;li&gt;Captures &lt;strong&gt;country, destination cities, travel dates, budget per day, traveler count (adults, children, infants, pets), and interests&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Collect Inputs&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Normalizes the JSON payload for downstream processing.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Hotel Data Scraping with Bright Data&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Three &lt;strong&gt;Bright Data Verified Nodes&lt;/strong&gt; + custom Code nodes filter hotel listings from:

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Booking.com dataset (&lt;code&gt;gd_m5mbdl081229ln6t4a&lt;/code&gt;)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Airbnb dataset (&lt;code&gt;gd_ld7ll037kqy322v05&lt;/code&gt;)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Agoda dataset (&lt;code&gt;gd_m837ssst155rq3a1xo&lt;/code&gt;)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Each platform uses &lt;strong&gt;filter queries&lt;/strong&gt; based on country and destination cities.&lt;/li&gt;
&lt;li&gt;Snapshots are created, checked for readiness, and retrieved.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Snapshot Management&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Snapshot Status&lt;/strong&gt; node checks if Bright Data snapshot is built.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If + Wait nodes&lt;/strong&gt; ensure retry until dataset is ready.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch Node&lt;/strong&gt; maps dataset IDs to Booking, Airbnb, or Agoda.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Hotel Data Aggregation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aggregate nodes&lt;/strong&gt; collect and unify hotel listings per platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Merge node&lt;/strong&gt; combines Booking, Airbnb, and Agoda data into a single dataset.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;User &amp;amp; Hotel Data Merge&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User preferences and hotel datasets are aggregated into a &lt;strong&gt;structured input&lt;/strong&gt; for the AI agent.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;AI Agent Node (Google Gemini 2.5 Flash)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prompted as a &lt;strong&gt;Sri Lanka travel planning expert&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Generates a &lt;strong&gt;day-by-day itinerary&lt;/strong&gt; that:

&lt;ul&gt;
&lt;li&gt;Covers all destination cities within travel dates.&lt;/li&gt;
&lt;li&gt;Suggests activities aligned with user interests.&lt;/li&gt;
&lt;li&gt;Recommends budget-matching accommodations (Booking.com, Airbnb, Agoda).&lt;/li&gt;
&lt;li&gt;Estimates daily costs (hotel, transport, activities).&lt;/li&gt;
&lt;li&gt;Highlights risks (weather, closures, crowds).&lt;/li&gt;
&lt;li&gt;Suggests backup options.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output format:&lt;/strong&gt; Gmail-compatible HTML (tables, headings, booking links).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Email Delivery&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Final travel plan sent to the user via the &lt;strong&gt;Gmail Node&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;HTML itinerary is styled and directly viewable in email.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft1upfb2slnlumv8mz6hm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft1upfb2slnlumv8mz6hm.png" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t1upfb2slnlumv8mz6hm.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Bright Data Verified Node
&lt;/h3&gt;

&lt;p&gt;Bright Data’s Verified Node was used to scrape &lt;code&gt;hotel availability&lt;/code&gt;, &lt;code&gt;pricing&lt;/code&gt;, and &lt;code&gt;location details&lt;/code&gt; from &lt;strong&gt;Booking.com&lt;/strong&gt;, &lt;strong&gt;Airbnb&lt;/strong&gt;, and &lt;strong&gt;Agoda&lt;/strong&gt; in real-time.&lt;br&gt;
This ensures itinerary recommendations are always up-to-date with accurate prices and availability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcoek5bs1jvop2agi4b32.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcoek5bs1jvop2agi4b32.png" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/coek5bs1jvop2agi4b32.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F10fxltc1vcvo2prwp5t4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F10fxltc1vcvo2prwp5t4.png" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/10fxltc1vcvo2prwp5t4.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;I wanted to solve a real-world tourism problem in Sri Lanka — how to plan trips without juggling dozens of tabs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The first challenge was merging heterogeneous data. I overcame this by using n8n’s Merge Node and custom function nodes to structure everything.&lt;/li&gt;
&lt;li&gt;Next, I crafted an AI Agent prompt that balanced flexibility with structure, so itineraries are clear but still personalized.&lt;/li&gt;
&lt;li&gt;Finally, integrating Bright Data ensured the agent works with real-world, ever-changing data rather than static APIs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key challenges I overcame:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Merging different hotel data sources into a &lt;strong&gt;single dataset&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Normalizing budget and traveler preferences into a &lt;strong&gt;scalable filter&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Generating itineraries that balance weather, budget, and travel time&lt;/li&gt;
&lt;li&gt;Automating the entire process into a &lt;strong&gt;single n8n workflow&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Through this, I learned how powerful Bright Data + n8n can be when combined with AI — enabling real-time decision-making for travelers.&lt;/p&gt;

&lt;p&gt;🚀 With Ceylon Journey Partner, anyone can instantly generate a real-time, AI-powered Sri Lanka itinerary — combining the magic of travel with the reliability of structured data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Future Extention
&lt;/h2&gt;

&lt;p&gt;💡 This is just the start — I'm exploring ways to extend it with:&lt;/p&gt;

&lt;h3&gt;
  
  
  Future Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Local Accommodation 🏨: Hotels, 🏝️Resorts, 🏖️Beach Bungalows, 🏡Villas, ⛺Glamping Sites, 🏕️Camping Sites, and 🏠Homestays.&lt;/li&gt;
&lt;li&gt;Real-time Weather Data ☀️: Providing up-to-the-minute weather forecasts for destinations.&lt;/li&gt;
&lt;li&gt;Event Suggestions 🎶🎊: Curated lists of local events and festivals.&lt;/li&gt;
&lt;li&gt;Travel Optimization ✈️: Intelligent routing for flights, trains 🚆, buses 🚌, and taxis 🚕.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>n8nbrightdatachallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>🍽️ NutriGuard AI: An Intelligent Meal Planner with Toxic Food Combo Alerts and Condition-Based Food Warnings</title>
      <dc:creator>Anfath Hifans</dc:creator>
      <pubDate>Mon, 07 Jul 2025 04:12:41 +0000</pubDate>
      <link>https://forem.com/anfathhifans/nutriguard-ai-an-intelligent-meal-planner-with-toxic-food-combo-alerts-and-condition-based-food-3dd9</link>
      <guid>https://forem.com/anfathhifans/nutriguard-ai-an-intelligent-meal-planner-with-toxic-food-combo-alerts-and-condition-based-food-3dd9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/runnerh"&gt;Runner H "AI Agent Prompting" Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 Concept Overview
&lt;/h2&gt;

&lt;p&gt;A multi-agent AI system that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Plans meals&lt;/strong&gt; based on dietary preferences, goals, and schedule.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flags harmful food combinations&lt;/strong&gt; (e.g., dairy + citrus, iron + calcium blockers).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warns against foods based on medical conditions&lt;/strong&gt; (e.g., “avoid grapefruit if on statins” or “no nightshades for arthritis”).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  ✅ Why It’s Unique &amp;amp; Useful
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Combines &lt;strong&gt;meal planning, dietary safety, and personalized health guidance&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Solves a &lt;strong&gt;real-world daily problem&lt;/strong&gt; — what to eat safely, deliciously, and conveniently.&lt;/li&gt;
&lt;li&gt;Useful for people with &lt;strong&gt;diabetes&lt;/strong&gt;, &lt;strong&gt;hypertension&lt;/strong&gt;, &lt;strong&gt;thyroid issues&lt;/strong&gt;, &lt;strong&gt;heart-issues&lt;/strong&gt;, &lt;strong&gt;PCOS&lt;/strong&gt;, &lt;strong&gt;alergic&lt;/strong&gt;, or on specific meds.&lt;/li&gt;
&lt;li&gt;Stands out by not only recommending &lt;strong&gt;what to eat&lt;/strong&gt;, but also &lt;strong&gt;what not to combine or consume&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NutriGuard AI&lt;/strong&gt; is a prompt-engineered multi-agent workflow designed to provide &lt;strong&gt;personalized meal planning, toxic food combination detection, and health-condition-aware dietary filtering&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This Runner-H AI system solves a common yet critical problem:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“What should I eat that’s safe, healthy, and suited to my condition?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;NutriGuard allows users to input dietary preferences (e.g., vegetarian, keto), medical conditions (e.g., heart-issues, thyroid, PCOS, diabetes), and dislikes/allergies. The system:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Creates a smart daily or weekly &lt;strong&gt;meal plan&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Warns about &lt;strong&gt;harmful food pairings&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Flags ingredients that may worsen the user's health condition&lt;/li&gt;
&lt;li&gt;Generates a &lt;strong&gt;shopping list&lt;/strong&gt; with safe substitutions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each function is &lt;strong&gt;powered by dedicated prompt-driven agents&lt;/strong&gt;, making the system modular, transparent, and adaptable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Example User Flow&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;User Input:&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“I’m vegetarian with thyroid issues. I don’t like mushrooms. Plan my meals for the next 3 days, and avoid foods that interfere with my medication.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Output:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Meal Plan:

&lt;ul&gt;
&lt;li&gt;✅ Breakfast: Oatmeal with almonds and berries (no soy or broccoli)&lt;/li&gt;
&lt;li&gt;⚠️ Lunch: Lentil salad with lemon — replaced spinach (high in oxalates)&lt;/li&gt;
&lt;li&gt;✅ Dinner: Paneer tikka with quinoa and turmeric vegetables1. Actual numbers don't matter, just that it's a number&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;🛑 &lt;strong&gt;Warning&lt;/strong&gt;: Avoid soy, cabbage, and cauliflower — they can suppress thyroid function.&lt;/li&gt;
&lt;li&gt;🛒 &lt;strong&gt;Shopping List&lt;/strong&gt;: Includes safe alternatives and quantities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Screenshot&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqzf2rqrhstmo16lhmdj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqzf2rqrhstmo16lhmdj.jpg" alt="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kqzf2rqrhstmo16lhmdj.jpg" width="800" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Link&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://runner.hcompany.ai/chat/4819c15f-43ca-4f18-83a9-63855ba4539d/share" rel="noopener noreferrer"&gt;https://runner.hcompany.ai/chat/4819c15f-43ca-4f18-83a9-63855ba4539d/share&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  How I Used Runner H
&lt;/h2&gt;

&lt;p&gt;I used &lt;strong&gt;Runner H&lt;/strong&gt; to build a multi-step, prompt-based automation where each stage of the meal planning process is handled by a dedicated &lt;strong&gt;AI agent&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agents:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;🧠 &lt;strong&gt;Meal Planner Agent&lt;/strong&gt; – Generates meals based on user preferences, schedule, and dietary needs.&lt;/li&gt;
&lt;li&gt;⚠️ &lt;strong&gt;Toxic Combo Checker&lt;/strong&gt; – Detects food pairings that may be harmful (e.g., milk + citrus).&lt;/li&gt;
&lt;li&gt;🚫 &lt;strong&gt;Condition Filter Agent&lt;/strong&gt; – Flags and substitutes foods harmful to medical conditions.&lt;/li&gt;
&lt;li&gt;🛒 &lt;strong&gt;Shopping List Agent&lt;/strong&gt; – Compiles a clean, ingredient list optimized for nutrition and safety. &lt;/li&gt;
&lt;li&gt;📚 &lt;strong&gt;Nutrition Explainer (Optional)&lt;/strong&gt; – Explains flagged items and nutritional choices.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Workflow in Runner H:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Each step is chained using clear prompt-based tasks.&lt;/li&gt;
&lt;li&gt;User input is parsed once, then passed through each agent.&lt;/li&gt;
&lt;li&gt;Agents respond with structured JSON blocks for easy integration with UI or PDF generation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Sample Prompt for the &lt;strong&gt;Toxic Combo Agent&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You are a food safety expert. Analyze the above-provided meal and flag
any known harmful food combinations. Use evidence-based knowledge 
(e.g., high-iron foods mixed with calcium inhibit absorption, 
citrus + milk may cause digestion issues, etc.).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Sample Prompt for &lt;strong&gt;Condition Filter Agent&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You are a clinical nutritionist. Based on the condition: “Hypothyroidism”,
scan the above-provided ingredients and remove or replace any foods
that negatively affect this condition or common medications related
to it. Explain your choices briefly.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This modular approach allows other users to replicate, extend, or plug in their own use cases (e.g., low-FODMAP diet, PCOS-safe foods).&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Case &amp;amp; Impact
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NutriGuard AI is built for:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Individuals with chronic conditions&lt;/strong&gt; (diabetes, thyroid issues, hypertension, PCOS)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Health-conscious eaters&lt;/strong&gt; seeking personalized meal planning&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Caregivers or nutritionists&lt;/strong&gt; creating plans for others&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Anyone overwhelmed by conflicting online food advice&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Real-World Impact:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reduces the risk of &lt;strong&gt;harmful food interactions&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Ensures &lt;strong&gt;condition-specific dietary compliance&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Makes meal planning &lt;strong&gt;easy and safe&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Saves time and avoids misinformation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s like having a &lt;strong&gt;personal dietitian&lt;/strong&gt; + &lt;strong&gt;food scientist&lt;/strong&gt; + &lt;strong&gt;chef&lt;/strong&gt; all in one AI flow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Social Love
&lt;/h3&gt;

&lt;p&gt;Sharing this on X/Twitter and LinkedIn&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>runnerhchallenge</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
