← All AI Engineer talks

AI Engineer World's Fair 2025

My AI Thinks I'm Eating My Feelings (and Other Nutritional Insights)

Rami Alhamad· Founder, Alma9:59

Read the talk

Building Alma: Less Work to Log Food, More Context to Guide Choices

Alma’s nutrition companion connects simple meal logging with progressive results, user-controlled memory, and timely guidance. Its development shows how AI reliability and product design depend on each other.

From a talk by Rami Alhamad

Making nutrition tracking worth the effort

How much information should you have to give a nutrition app before it tells you something useful about your eating? Searching for foods, identifying products, and maintaining a detailed log can demand more effort than the resulting guidance justifies. Drawing on his experience in wearables, health, and wellness, Rami Alhamad introduces Alma as an attempt to improve that exchange: simple, personalized nutrition that makes eating well easier. The lessons come from roughly eight months of building the product.

The product vision proceeds through three connected capabilities:

  1. Make tracking natural. Logging a meal should feel like texting a friend, without searching endless product lists or relying on a photo and hoping the interpretation is close enough.
  2. Build useful personal context. Combine the log with a person’s flavor preferences, interests, habits, and hobbies to guide them toward goals they choose.
  3. Connect guidance to food choices. Recommend products, restaurants, and meals that help the person act on those goals. In the talk, this discovery work is planned for the second half of the year.

Easy input supplies the information that personalization needs; food discovery gives that personalization somewhere practical to lead.

Slide titled “Meet Alma: Your AI Nutrition Companion” with three phone screenshots above descriptions of tracking, insights, and discovery.
Alma’s three pillars: effortless tracking, actionable insights, and food discovery.

Alhamad and co-founder Adam favor building in public and learning from users early. Alhamad reports that Alma shipped its beta less than two months after incorporation, spent roughly four months in closed beta, and launched publicly in February 2025. The company’s launch announcement dates that public release to February 5.

0:000:07
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:00 · section reference included

Learning what users need to know

Once people began using Alma, their questions extended beyond calories and macros. They wanted to know how well they were eating overall. A thousand calories can come from very different foods; the energy total alone does not describe dietary quality. Alhamad describes Alma Score as a score out of 100, developed with Harvard academic advisor Dr. Eric Rimm. Its intended function is to steer choices throughout the day, encouraging more foods associated with good health and fewer of those associated with poorer health. The talk describes that purpose, without providing a scoring formula or validation results.

The same need to understand users shaped the team’s approach to evaluating the AI. Alma had explored evals, but Alhamad found immediate user reactions especially useful during the beta. After every interaction, a drop-down toast asks, “How did Alma do?” That puts the feedback request next to the result the user has just experienced, helping the team identify problems and guide improvements as people track their meals. The team planned to reduce the prompt’s frequency after this early learning phase.

2:122:21
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:12 · section reference included

Show the banana before the calories arrive

Alhamad’s next lesson concerns task size. In Alma’s experience, giving an LLM a large, open-ended assignment created too many opportunities for error. The team responded by constraining models to specific tasks and designing the interface around that decomposition. A multistep pipeline can return useful partial results before the entire job finishes.

The example is a simple message: “I had a banana.” Alma processes it in stages:

  1. Recognize the food. A module identifies banana in the phrase and extracts it as a food item.
  2. Display the item. The extracted food goes to the iOS client immediately. The meal timeline can show Banana while other fields remain placeholders.
  3. Enrich the entry. Subsequent processing includes matching against a USDA database to find appropriate caloric content, which reaches the client later.

The important boundary is between knowing what food was mentioned and having its nutritional information ready. USDA matching is part of the later work; the talk does not identify the dataset, endpoint, or matching algorithm.

Phone screenshot showing a meal timeline with a Banana entry and gray placeholders, beside “Trust LLMs to do very specific things. Design around multi-step constraints.”
A Banana entry appears alongside placeholders in Alma’s meal timeline.

A TypeScript representation of this delivery pattern separates recognition from enrichment. The nutrition lookup stays behind a function boundary, while each completed stage produces an update for the client:

typescript

type Food = { id: string; name: string };
type Nutrition = { calories: number };
type MealUpdate =
  | { stage: "recognized"; food: Food }
  | { stage: "enriched"; food: Food; nutrition: Nutrition };

async function* trackMeal(
  text: string,
  extractFood: (text: string) => Promise<Food>,
  matchNutrition: (food: Food) => Promise<Nutrition>,
): AsyncGenerator<MealUpdate> {
  const food = await extractFood(text);
  yield { stage: "recognized", food };

  const nutrition = await matchNutrition(food);
  yield { stage: "enriched", food, nutrition };
}

For the banana input, the first update lets the interface acknowledge the recognized item while calories are still pending. The second enriches the same food entry. Alhamad reports that this makes the interaction feel faster and easier than waiting for every processing step to finish before displaying anything; he provides no latency measurement.

3:383:47
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:38 · section reference included

Preserving progress and personal context

A broken feature supplied another kind of feedback. The week before the talk, an engineer broke streaks, prompting a surge of complaints in Alma’s WhatsApp community and Intercom. Users wanted their streaks back. The team had treated streaks as a small, fun addition made toward the end of development; the reaction revealed how much users valued them. Alma consequently planned to invest more in the feature, keeping enjoyment part of the experience for both users and builders.

Continuity also matters inside the agent. Users become frustrated when they have to repeat information during meal tracking or when asking questions. Alma therefore extracts novel information from interactions and adds it to a user-specific knowledge dataset. A visible orb signals an update. Users can inspect the stored information, remove it, or add more themselves. Persistent context is useful when the person it describes can see and control it. Here, getting smarter through interaction means accumulating usable personal context; the mechanism described is a knowledge dataset.

4:585:12
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:58 · section reference included

Reach out, and let users choose how to respond

A companion cannot depend entirely on users opening the app to ask questions. Alma also detects possible insights in what someone eats and proactively surfaces them through pings. Alhamad’s example is an insight claiming that pairing blueberries with dark chocolate increases vitamin C absorption. That specific absorption claim is unsubstantiated here and should not be treated as established nutrition advice. The product mechanism is to turn food logs into timely opportunities to learn, extending the interaction beyond deliberate queries.

That bite-sized learning experience leads into another design question: which input modality should dominate? Alhamad initially favored voice. Alhamad reports that, when busy, he can log breakfast, lunch, and dinner together by voice at the end of the day in under ten seconds, compared with minutes previously. This is his personal logging experience, not a measured end-to-end processing benchmark.

Users changed his view of the question. They valued being able to talk, take a photo, or type depending on their circumstances. The lesson is to support the modalities that make sense for the user’s situation, rather than choosing one winner based on the founder’s preference. A natural interaction is partly a matter of having the right input method available at the moment someone wants to log food.

6:166:27
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:16 · section reference included

Design, trust, and data people create together

Looking ahead, Alma’s priorities begin with brand and design. Alhamad’s premise is that code is becoming a commodity, making a user-centered, visually appealing product increasingly important to standing out. Adam leads this design focus, which Alhamad describes as central to how the company intends to build over time.

The second priority is trust and partnerships. A new product needs to earn confidence, and Alma’s approach starts by asking users where they get information and whom they already trust. Those answers guide the search for partners with aligned missions and a mutually useful reason to collaborate. The partnership strategy follows users’ existing sources of confidence.

The third priority is community and new data. Food is social: people eat together, talk about meals, and become curious about how others eat. Alma members want to learn from one another’s choices and potentially adopt useful habits. That interest motivates planned community features and creates an opportunity to collect information that did not previously exist.

Alhamad connects this community opportunity to the economics of foundation models. His view is that large model companies probably already have much of the information a startup can scrape from the public web. Members creating valuable new information together offer a more distinctive source of data. For Alma, the strategic question becomes how to help people learn from one another’s eating habits while creating something useful that a public-web scrape would not contain.

“Looking forward” slide with three columns labeled “Brand & Design,” “Trust & Partnerships,” and “Community & New Data.”
Alma’s forward-looking priorities: brand and design, trust and partnerships, and community and new data.

The talk closes with an invitation to try Alma and join its WhatsApp community. Alhamad offers the audience the promo code ALMAFAM as part of that invitation; it is a historical offer from the recording.

7:517:58
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

7:51 · section reference included

Resources

From the talk

Updates since the talk

  • Rami Alhamad introduces personalized restaurant recommendations, recipes, products, and community meals in Alma's Explore Food feature.

Read the complete timestamped transcript
  1. 0:00

    Hey everyone, how's it going? So excited to be here with you guys and to share more of some of the lessons I've got Alma over the last eight months or so.

  2. 0:07

    All right, first off, let me introduce you a little bit more to what we're doing. Now, it's our belief at Alma that eating well shouldn't be hard. Good health starts with simple, personalized nutrition.

  3. 0:15

    For the longest time, it's been super challenging to actually get a good sense of how you're eating. And despite all the different apps that are out there, on a personal level and from talking to so many of my friends and users throughout my journey in wearables and health and wellness space, it's become just really obvious that the

  4. 0:32

    equation is off, you know, in terms of how much information you have to share with these apps, and so how little you get back out. So it's our belief that this shouldn't be this difficult.

  5. 0:43

    With AI, we can finally solve this problem and build something that's truly unique and a true nutrition companion to help you kind of strive towards your-- the best self.

  6. 0:55

    So let me tell you a little bit more about what we're up to at Alma. So we believe that at Alma there's three core pillars to this new vision of an AI nutrition companion.

  7. 1:03

    It really boils down to three things. One is make nutrition tracking dead simple. Keep it super easy, make it natural. Make it feel like you're texting a friend versus having to sit there and search through endless lists of different products.

  8. 1:16

    Or, you know, at best, take a picture and cross your fingers that you're gonna get something remotely close to what you actually had. The other aspect is once you make tracking really easy, how do you take that information and build really strong, powerful context around the user, their flavor profile, their interests, their habits, their hobbies, and help

  9. 1:33

    steer them in the direction that they tell you they wanna go in. And then finally, this is what we're excited about kicking off in the second half of this year, is how do we take all that information and get to a point where we're actually connecting you with products and different restaurants and meals that would actually help

  10. 1:48

    you hit your goals. And that's a vision that we're very excited about. Beyond that, we've also discovered through our conversations with users, we, you know, we're-- me and Adam, uh, are-- my co-founder are really big believers in building in public.

  11. 2:02

    Uh, so we actually started-- We shipped our beta less than two months after incorporation, and it was a closed beta for roughly about four months, and then we shipped in February of this year.

  12. 2:12

    And we immediately started learning that users don't just wanna know what calories and macros they're having, but they also wanna get a rough sense of how holistically well they're eating.

  13. 2:21

    They wanna know about the quality of the food. And we realized that, you know, a thousand calories could be had a million different ways, not all of it is equal in terms of quality.

  14. 2:30

    And this is where we developed, uh, the Alma Score concept with, uh, our academic advisor at Harvard University, Dr. Eric Rimm. Alma Score is very simple. It's meant to be a score out of a hundred that can easily steer you throughout the day to just have more of the things that we know through all the research and

  15. 2:46

    decades of science are gonna be fundamentally good for your health and try to nudge you away from some of the things that we know are not great for you.

  16. 2:55

    Beyond that, let's just start talking about building an AI, though. I think that's what we're ultimately all here for. So one of the biggest lessons we learned during the beta is that it's really important to rely on user feedback.

  17. 3:06

    I know we're all obsessed with evals right now. We're certainly looking at some, and we've experimented with some over the last few months. But fundamentally, nothing beats real-time, in-the-moment feedback from your users.

  18. 3:17

    So one of my favorite features that we built to kinda achieve that is this little drop-down toast that pops up that says, "How did Alma do?" after every single interaction with Alma.

  19. 3:26

    Uh, we obviously plan to tone that down eventually, but in the early days, it's been extremely helpful for us in guiding how we build Alma and how we can measure accuracy and improvements with Alma as you track with it.

  20. 3:38

    Uh, the other thing we realized is that LLMs, if you give them an open-ended, uh, very large task, uh, the error rates are just gonna be through the roof.

  21. 3:47

    It's really, really important to figure out a way to make it so that you can constrain the LLM to very specific tasks. And we, instead of kinda being frustrated at that, we realized that we just need to work with that constraint and find the best way that we can get our desired ultimate user experience going.

  22. 4:05

    And one of the things that we executed on that I'm really happy and proud of the team for doing is we actually broke up the process of how we relay the information, uh, back to the user after every single time they track with Alma and track with Alma through steps.

  23. 4:18

    So at every step, we send down certain aspects. So for example, for this screenshot, I just said to Alma, "I had a banana." Immediately recognized in one of our modules that banana was in the phrase.

  24. 4:28

    It extracted that as a food item. It sent it down to the client, the iOS app. And then from there, now it's busy processing through all the different steps, including, uh, getting involved with our USDA database matching system so that it can actually find the right appropriate caloric content and send that down eventually.

  25. 4:46

    This makes the experience feel so much faster for users, and it's much easier for them to interact with than just waiting for the entire process of every single step of our LLMs to actually be, uh, sent down.

  26. 4:58

    So highly recommend you kinda think about how you could do that as well in your process. How do you break up the steps? The other thing is, uh, you know, we [chuckles] actually last week, one of our engineers broke streaks, and I've never seen our WhatsApp community and our intercom blow up the same way since.

  27. 5:12

    Hopefully never again, but I'm okay with it if it happens. We ended up seeing so many users come back and say, "Don't mess with my streaks. What happened to my streak?"

  28. 5:19

    And we realized that even though we thought of this as kinda like a little cute feature that we were just gonna add towards the end, it's clearly something that users really value, and this is something that we are planning to double down on and just really make sure that we're having fun while we're building Alma for us

  29. 5:33

    and for our users. Beyond that, it's really, really important that when you're building an AI agent, we've discovered that it's very important that you're continuing to build context. Users get really frustrated if they have to reiterate the same things, whether it's when it comes to tracking or when it comes to actually asking Alma questions and engaging.

  30. 5:53

    So we built out features like what you see here at the top, that little orb that says, "The value updated." Whenever you interact with Alma, we actually take whatever piece of information, if it's novel, and we add it to our knowledge data set about you.

  31. 6:05

    So Alma's constantly learning, and you can view those yourself and delete and remove them as you wish, but you could also just continue to add to them, and Alma just gets smarter every single time you interact with it because of that.

  32. 6:16

    Finally, we realized that you can only count on your users opening up Alma to ask questions and engage so often, you really wanna be proactive about reaching out to them.

  33. 6:27

    So one of the features we built that was really cool in that regard is to actually have Alma detect certain insights about what you're eating and surface things you might not know about.

  34. 6:37

    For example, I didn't discover that blueberries are really, really good for certain things. Like, if you pair it with dark chocolate, it's actually increases the absorption of vitamin C.

  35. 6:44

    And there's a whole bunch of different things that I've learned through my engagement with Alma throughout, throughout it just kinda reaching out, pinging me, and letting me know certain things about my food that I didn't know about.

  36. 6:53

    So it's-- feels like this constant process of learning about food, but in a bite-sized format. Pun not intended. The other thing we learned, this was something I obsessed about a lot early on in the days of building Alma, is to think through, you know, which modality is gonna be the winning one.

  37. 7:09

    You know, I personally love voice. I love talking to Alma. I just turn it on at the end of the day if I'm busy, and I'll just track, you know, I'll just track my lunch, breakfast, and dinner all in one shot in under ten seconds.

  38. 7:20

    It used to take me minutes and feel like this really laborious exercise I dreaded previously, and now it's that simple with voice. But I learned from engaging with our users and seeing how they interact with Alma, that they actually love the multimodality.

  39. 7:32

    So I've often heard this from our users that they like the fact that Alma makes it really easy to talk to, to take a photo, or to text, and depending on the context.

  40. 7:41

    So instead of really being bullish on one specific modality, I've learned that you really wanna provide your users with as many different modalities that make sense for them.

  41. 7:51

    In terms of looking forward and where we think the space is going, where we're doubling down on Alma is it's really comes down to these three key learnings from our experience.

  42. 7:58

    One is brand and design count for a lot. Code is becoming a commodity, and no matter how great your code is, if you don't have a product that's really user-centric and has a design that's visually appealing, it's gonna be extremely hard for you to stand out.

  43. 8:14

    So we're doubling down on that. It's in our DNA. My co-founder, Adam, is absolutely focused on it, and I trust him fully in it. And then it's really an important part of how we kind of think about building Alma over time.

  44. 8:24

    And then second pillar is, you know, really trust on partnerships. You earn your users' trust, especially when you're new, by seeing who they trust and partnering with them if there is an aligned mission.

  45. 8:34

    So we're really focusing on that right now. We constantly ask our users where do they get their information from? Who do they trust? And we try to focus on seeing how we can bring some of those into the mix and partner with them i-in a win-win type format.

  46. 8:46

    And then finally, community and new data is something that we're really, uh, shifting our focus towards now as well. We're realizing that as our community grows, there are so many interesting things that people wanna learn about how others are eating.

  47. 8:59

    It's just kind of a very curious aspect of food consumption. Like, food is generally something that you-- people like to have in company, and people like to talk about food.

  48. 9:08

    So people are very curious to know how else-- how other Alma members eat and how could they potentially learn from them or adopt some of their habits. So we're doubling down on features like that.

  49. 9:17

    And, you know, I think the reality is most of the LLM foundation model companies and some of the bigger players are hoovering up data. So if there's something online that you're scraping and you're getting access to, there's a high chance that they've already done that.

  50. 9:30

    So you really wanna think about how can you leverage your users and members to create net new data that's actually valuable and interesting, and this is something that we're doubling down on as well so.

  51. 9:40

    I wish you all the best in this journey. We're just getting started at Alma, and if you wanna give it a shot, uh, shot and try it out, just, uh, give it a go.

  52. 9:47

    And just as a thank you for taking the time to listen to this presentation, I wanted to throw you a, a little promo code here. Use ALMAFAM, chip it Alma.

  53. 9:54

    I hope to see you in the Alma WhatsApp community soon. Take care.