Technology
Two engines inside every plan.
µLayer builds each dish the way a home kitchen does, layer by layer. µSolve chooses the dishes for every meal and sizes every gram against up to 43 ICMR-NIN 2020 targets, inside every limit. Neither is a language model, so every number in a plan traces back to a food and a rule.1
The plan engine · say “micro-solve”
µSolve™ 1.0
Solves each day as a mathematical programme: one plate per meal, every gram sized, every upper limit kept. What a day misses carries into the next, so the week balances.
How µSolve worksThe recipe engine · say “micro-layer”
µLayer™ 1.0
Builds 449 Andhra and pan-Indian dishes in five layers: a protein core, support and outer grain, fibre and helpers, each part with the range a cook would use.
How µLayer works
Nutrient targets solved for
43
From ICMR-NIN 2020, with floors and ceilings, for the client’s own group.
Foods in the table
577
IFCT 2017, with a few staples from USDA, each with its cooking losses.
Dishes, built in five layers
449
269 Andhra, named in Telugu and English, and 180 pan-Indian.
AI credits per plan
0
Plans are solved, not written by a language model, so there is no meter.
µSolve 1.0 · the plan engine
It solves for the numbers. It doesn’t write them.
AI meal planners write a menu and estimate its nutrition as they go. µSolve works the other way round. It starts from the client’s targets and limits and searches real plates for the grams that come closest, so the same food always gives the same numbers.
Step 1
Targets
A floor, a goal and a ceiling for every nutrient, for this client.
Step 2
Candidates
Only the plates a home would serve, that fit the client.
Step 3
The solve
Each day as one problem: plates chosen, grams sized, limits kept.
Step 4
The week
Each day’s shortfall carried into the next, so the week balances.
Step 5
The checks
Every number worked out again from the final grams.
Step 1 · Targets
A floor, a goal and a ceiling.
Energy comes from the Mifflin-St Jeor equation and the client’s activity, or from Katch-McArdle when you enter body fat. Every nutrient then gets ICMR-NIN 2020’s floor (the EAR), goal (the RDA or adequate intake) and ceiling (the tolerable upper limit) for the client’s age, sex, activity, pregnancy or breastfeeding. Conditions, blood work and medicines move a goal or add a cap: 25 condition protocols, 27 blood-work rules and 23 drug-food rules. Your own prescription always wins.
Iron, a woman of 30ICMR-NIN 2020
The same woman, with anaemiahaemoglobin below 12 g/dL
- Below the floor (EAR): short
- Between floor and goal: close
- Goal (RDA) to ceiling: met
- Above the upper limit: never
Step 2 · Candidates
Only plates a home would serve.
µSolve never invents a dish. It works from µLayer’s plates: dishes that fit the client’s diet, allergies, exclusions and your rules, put together the way their cuisine serves them. Each day it draws a fresh set of candidates, weighted towards what the day still needs and away from what the week has already had.
- 449dishes in two cuisine packs269 Andhra and 180 pan-Indian, each one built in layers.
- 5checks for this clientDiet type, allergies by every name, foods you exclude, gluten or lactose, and your Never rules.
- 30candidate lunches a dayPlates drawn by what the day still needs and what the week has not had: 22 breakfasts, 30 lunches, 14 snacks, 26 dinners.
- 1plate per mealChosen and sized by µSolve.
Step 3 · The solve
Each day, solved as one problem.
Each day is a mixed-integer linear programme. µSolve decides which plate each meal gets and how many grams of each ingredient go on it, keeps every hard limit, and makes the weighted shortfalls as small as the food allows. When no plates can keep a limit, the day is flagged for your review with the reason; it is never quietly loosened.2
It decides
- Which plate each meal gets. A yes or no for every candidate, exactly one yes per meal.
y ∈ {0, 1} - How many grams of each ingredient. Any amount inside the recipe’s range, and only on the plate it chose.
lo·y ≤ g ≤ hi·y
It must keep
- Energy within 5% of the day’s target
- Protein at least 97% of the goal
- Every daily upper limit
- The caps for the client’s conditions
- Added salt under 5 g, or 3 g
- Portion limits for every meal
- No dish twice in a day
- Your Must and Never rules
It works to make small
- Every shortfall below a goal, weighted by the nutrient. Below the floor costs three times as much.
Σ w·(d₁ + 3·d₂) - Every overrun of added sugar, saturated fat and sodium.
- Repetition of dishes and foods from earlier days.
Step 4 · The week
Seven days, balanced as a week.
ICMR-NIN 2020 sets vitamin and mineral needs over habitual intake, so µSolve judges them on the week’s average. Days are solved in order, and a day that falls short raises the next day’s target by 60% of the gap, never more than 35% above the goal. Main dishes don’t repeat within seven days.
- 820of 1,000Mon
- 1,090of 1,108Tue
- 1,010of 1,054Wed
- 930of 1,048Thu
- 1,080of 1,090Fri
- 1,040of 1,042Sat
- 1,000of 1,018Sun
- Planned that day, mg
- That day’s target
- Week: 996 mg a day
Step 5 · The checks
Then every number is worked out again.
Before a plan reaches you it passes a final gate that trusts nothing it was handed, not even the solver’s own totals.
From the grams up
Amounts are rounded to kitchen steps of 5 g, 1 g or 0.5 g, and every nutrient is recomputed from them with cooking losses. Totals sent from a browser are never trusted.
Allergens and diet
Every food is matched to a known identity and checked against allergies by every name, exclusions and diet type. A conflict stops the plan.
Medicines
23 drug-food rules across 20 medicines, from warfarin’s steady vitamin K to metformin’s B₁₂, checked across every day.
Limits, again
Upper limits, clinical caps, added sugar and absorption are checked once more, and anything outside them is reported.
The gap report
Each nutrient’s week against its floor and goal, with the reason when food alone can’t reach it, such as vitamin D.
On the record
Each plan records its seed, the version of its target table and its data sources, so you can see what it was built from.
µLayer 1.0 · the recipe engine
Every dish, built in five layers.
A recipe database stores finished recipes at fixed amounts. µLayer builds each of 449 dishes the way a home kitchen does, layer by layer: a protein core, the grain, the vegetables and the helpers that season them. Each layer has its own ranges and its own job, so µSolve can change 45 g of dal to 52 g and the method still reads right.
- 1
Protein coreDals and pulses, peanuts and sesame, curd, milk, paneer, eggs, meat and fish.
A vegetarian lunchMoong dal 30 g, curd 150 g12.4 g proteinA prawn dinnerPrawns 130 g18.5 g protein - 2
SupportGrains and nuts with more protein: wheat atta and rava, bajra, little millet, almonds.
A vegetarian lunchNot in this mealA prawn dinnerWhole-wheat flour 80 g8.5 g protein - 3
OuterThe rest of the grain: rice, jowar, ragi, maize and the other millets.
A vegetarian lunchRice 85 g6.7 g proteinA prawn dinnerNot in this meal - 4
FibreVegetables, greens, tubers and fruit.
A vegetarian lunchAmaranth 165 g, pumpkin 80 g, brinjal 70 g, drumstick 50 g8.4 g proteinA prawn dinnerGongura 90 g1.7 g protein - 5
HelpersOil, the tempering, souring, aromatics and measured salt.
A vegetarian lunchOnion 45 g, mint 25 g, tamarind 11 g, oil 10 g, the tempering, salt 1.7 g5.5 g proteinA prawn dinnerOnion 40 g, tomato 40 g, ginger and garlic 7 g, oil 5 g, spices, salt 1 g1.9 g protein
Layers with a job
When you prescribe more protein than usual, µSolve lets only the protein core grow, up to 1.8 times its range, within each meal’s portion limits. Oil stays a helper, inside each recipe’s small range.
Cooked, not raw
Every dish family maps to a cooking method, and every food to one of 270 USDA retention factors, so a plan counts what is left after cooking. Added salt is measured per dish.
Measures a home uses
Katoris, spoons and pieces from the household-measure tables of the Dietary Guidelines for Indians 2024, beside every gram you see.
Every meal in Pro lists its layers, with the protein each one gives, under Recipe layers.
Inside a dish
Thotakura pappu, layer by layer.
The dal is the protein core, the amaranth is the fibre, and the oil, tempering and souring are helpers. µSolve sizes the three flexible parts inside the ranges a real cook would use. The method is a template that takes whatever amounts µSolve chooses, so the grams in the steps always match the grams in the plan.
తోటకూర పప్పు
Thotakura pappu · amaranth with toor dal · Andhra · 40 min
µSolve sizes
Toor dal kandi pappuProtein core
30–60 g45 g
Amaranth leaves thotakuraFibre
80–128 g104 g
Groundnut oil palli nuneHelpers
3–6 g4.5 g
Helpers µLayer fixes
- Tomato
- 40 g
- Green chilli
- 3 g
- Garlic
- 3 g
- Turmeric
- 0.3 g
- Iodised salt
- 0.8 g
Taalimpu, the tempering
- Mustard seeds
- 0.8 g
- Cumin seeds
- 0.5 g
- Dry red chilli
- 0.6 g
- Curry leaves
- 1 g
- Asafoetida
- 0.05 g
Then it writes
- Rinse 45 g toor dal and cook it with 3 parts water until very soft; pressure-cook for 3–4 whistles. Mash well.
- Cook the leaves with the turmeric, slit green chilli, 40 g chopped tomato and a splash of water, about 5 minutes. Stir in the dal.
- Heat 4.5 g groundnut oil and add the mustard, cumin, red chilli, curry leaves and asafoetida with the garlic. Pour this taalimpu over the pappu.
After cooking losses, one serving
- 243 kcal
- 14.2 g protein
- 393 mg calcium
- 7.1 mg iron
Inside a meal
A plate has rules too.
µLayer knows how a cuisine serves dishes together: what goes beside a pesarattu, when curd finishes a rice meal, and which pairings an Andhra home would never make. µSolve only ever chooses between plates that follow these rules. You set how often a pachadi, chutney or podi comes with each meal.
An Andhra lunch
- అన్నంRiceThe base
- పప్పుPappu, pulusu or curryThe main
- కూరKuraA vegetable beside it
- పచ్చడిPachadiOn the days you set
- పెరుగుPeruguOften, curd to finish
Pairing rules it never breaks
- One main vegetable per plate
- Never two tamarind dishes together
- No fresh pachadi beside a meat curry
- A tiffin comes with its own chutney: pesarattu with allam, idli with kobbari
How often each lunch is drawn
- Rice plate 64%
- Roti plate 16%
- One-pot rice 20%
Your rules
Must, Prefer, Avoid, Never.
Tell both engines what this client’s week needs, on a food, a dish or one part of a meal, for the meals and days you choose. Up to 40 rules a client, and every plan reports how it kept each one.
Must
At least once in the meals you pick, or a number of times a week, spread evenly. A must outranks the variety rule.
Never
Never, at most a number of times, or a gram cap per meal. Never beats Must for the same meal, and the plan names the clash.
Avoid
Kept out unless a day’s targets can’t be met without it. The plan says which meals, if any, it had to use.
Prefer
Drawn more often and costed lower, so it appears wherever it fits.
On every paid plan
Both engines, from Basic.
Every paid plan builds with µSolve and µLayer, with your clinic’s name on the result. What changes is how many targets µSolve works to reach. The limits never change: the same client gets the same safety checks on every plan, Free included.
All 43 targets
Every ICMR-NIN 2020 target, amino acids, fatty acids, and absorption: iron with vitamin C, phytate with zinc.
- Basic
- Standard
- Premium
The essential 8
Iron, calcium, B12, folate, vitamin D, zinc, sodium and potassium.
- Basic
- Standard
- Premium
Energy and macros
Energy, protein, carbohydrate, fat and fibre.
- Basic
- Standard
- Premium
Every safety limit
Upper limits, clinical caps, salt, allergens and drug-food checks. The same on every plan.
- Basic
- Standard
- Premium
- Basic20 clients, plans up to 30 days
- Standard60 clients, plans up to 30 days
- PremiumUnlimited clients, plans up to 30 days
Where AI is used
No language model picks a food or a gram.
µSolve and µLayer are arithmetic over published tables. Where you switch it on, a language model (Google Gemini) drafts the plain-language “Why this plan” note and a patient brief. You read it before your client does, and it never changes a number.
What it doesn’t do
Honest about its edges.
A draft for your review
Every plan is a draft for a qualified professional to check, adjust and approve. It supports your judgement; it is not medical advice.
Two cuisines today
Andhra Pradesh and pan-Indian packs are live, with a blended mode. Tamil Nadu is written and in review; other regions plan from the pan-Indian pack.
Estimated cooked yields
Katori sizes and cooked weights come from published factors. They have not yet been weighed in a test kitchen.
What food can’t reach
Vitamin D, and B₁₂ on a vegetarian week, are often short from food alone. The gap report says so instead of rounding up.
Watch it solve a real week.
Start free with your own clients, no card needed. Or let us show you in a 20-minute demo.