Gene Library Courses Download Pricing Contact Sign in
GENE-NUTRITIONINTELLIGENCE Health & Wellness

Gene-NutritionIntelligence — Food & Nutrition Data at Your Fingertips

By Reza Rafati

Overview

Gene-NutritionIntelligence is a comprehensive food and nutrition intelligence gene that provides access to food product data, nutritional information, and dietary guidance. It uses the free OpenFoodFacts database — no API key required — and optionally integrates with the USDA FoodData Central for reliable nutrition data.

Users can access:

  • Food product information (ingredients, allergens, additives)
  • Barcode scanning for instant product lookup
  • Nutrition facts (calories, macronutrients, vitamins, minerals)
  • Food label analysis with detailed ingredient information
  • AI-powered nutrition guidance for healthy eating
  • Meal planning based on dietary goals and restrictions

What Makes This Gene Valuable

1. No API Keys Required (For Most Tools)

Three of the five tools use the free OpenFoodFacts API and require no configuration or API keys. You can deploy the gene and immediately start looking up food products and barcodes.

2. AI Prompts Guide Nutrition Decisions

The three AI prompts — nutritionAdvisor, mealPlanner, and dietaryGuide — provide structured workflows for making informed dietary choices. They guide you through understanding nutrition, planning meals, and navigating dietary restrictions.

3. Real Data from Trusted Sources

Every tool returns live food data from real, authoritative sources. OpenFoodFacts is the world's largest open food database, and the USDA FoodData Central is the official U.S. government nutrition database.

4. Immediate Access

The OpenFoodFacts API gives you immediate access to food product data without any configuration or API keys. You can start using the gene right away.

Available Tools

Gene-NutritionIntelligence provides 5 specialized tools organized by function:

Product Information (No API Key Required)

  • productSearch — Search for food products by name
  • barcodeLookup — Look up a product by barcode (most reliable)
  • foodLabel — Get detailed food label information

Nutrition Data (Requires USDA_API_KEY)

  • mealNutrition — Get detailed nutritional breakdown for a meal
  • foodNutritionUSDA — Get nutrition information for a food (reliable alternative)

AI Agent Prompts

nutritionAdvisor

Guided workflow for analyzing food nutrition and making healthy choices. Provides step-by-step instructions for checking nutrition, understanding labels, and making informed decisions.

Parameters:

  • food (required) — The food to analyze
  • depth (optional) — Analysis depth: quick, standard, or full

mealPlanner

Guided workflow for planning meals based on nutritional needs. Helps users select foods, balance nutrients, and create healthy meal plans.

Parameters:

  • goal (optional) — Nutritional goal: weight_loss, muscle_gain, maintenance, diabetes, heart_health
  • dietary_restrictions (optional) — Dietary restrictions: none, vegetarian, vegan, gluten_free, dairy_free

dietaryGuide

Guided workflow for understanding dietary requirements and restrictions. Helps users navigate food labels, allergens, and dietary choices.

Parameters:

  • restriction (optional) — Dietary restriction: vegetarian, vegan, gluten_free, dairy_free, nut_free, low_carb

How Users Can Use This Gene

Use Case 1: Product Information

  1. Run barcodeLookup with a product barcode
  2. Review ingredients, allergens, and nutrition facts
  3. Run foodLabel for detailed label information

Use Case 2: Nutrition Analysis

  1. Run nutritionAdvisor prompt with a food name
  2. Check nutritional content with foodNutritionUSDA
  3. Make informed dietary choices

Use Case 3: Meal Planning

  1. Run mealPlanner prompt with your goals
  2. Research healthy options with productSearch
  3. Check nutritional values with foodNutritionUSDA
  4. Plan balanced meals

Getting Started

Start Immediately (No API Keys Needed)

  1. Deploy Gene-NutritionIntelligence to Feluda
  2. Run barcodeLookup with a product barcode
  3. Run productSearch to find foods
  4. Use nutritionAdvisor prompt for guided analysis

Optional: Add USDA Nutrition Data

  1. Sign up for a free USDA FoodData Central API key
  2. Configure USDA_API_KEY in Feluda Vault
  3. Run mealNutrition or foodNutritionUSDA for reliable nutrition data

Key Benefits

  • Free to use — OpenFoodFacts requires no API key
  • No code required — AI prompts guide users step by step
  • Real data — All tools use live food data from trusted sources
  • 5 tools in one gene — Comprehensive nutrition intelligence toolkit
  • Immediate access — Start using the gene immediately after deployment

Limitations

  • OpenFoodFacts search may experience intermittent 503 errors (barcode lookup works reliably)
  • OpenFoodFacts data is community-driven and may vary in completeness
  • USDA FoodData Central tools require a free API key
  • USDA API has rate limits: 1,000 requests per day on the free tier

Next Steps

  1. Deploy Gene-NutritionIntelligence to Feluda
  2. Test barcodeLookup with a product you have at home
  3. Use nutritionAdvisor prompt for food analysis
  4. Explore mealPlanner and dietaryGuide prompts
  5. (Optional) Sign up for USDA API key for reliable nutrition data
  6. Integrate nutrition intelligence into your daily food choices

Resources

Media

configuration

Frequently Asked Questions

Do I need any API keys to use Gene-NutritionIntelligence?
No. The OpenFoodFacts tools (productSearch, barcodeLookup, foodLabel) require no API key and work immediately after deployment. Only the USDA tools (mealNutrition, foodNutritionUSDA) require a free USDA_API_KEY if you want to access USDA nutrition data.
How long does it take to set up and start using this gene?
Setup takes less than 5 minutes. The gene works immediately after deployment. You can start using the barcode lookup and food label tools right away. If you want USDA data, you'll need to sign up for a free API key.
What food data can I access with this gene?
You can access product information including ingredients, allergens, additives, nutrition facts (calories, macronutrients, vitamins, minerals), and packaging details. The barcode lookup provides comprehensive product data from the OpenFoodFacts database.
Can this gene help me make healthier food choices?
Yes. The nutritionAdvisor prompt provides guided analysis of foods, helping you understand nutritional content and make informed dietary decisions. The mealPlanner prompt helps you plan meals based on your health goals.
How reliable is the food data?
OpenFoodFacts is a community-driven database with over 3 million products. Data quality varies by product but is generally reliable for major brands. The USDA FoodData Central is an official government database with highly reliable nutritional data.