Kitchen Nightmares: LangChain agents edition

📰 Medium · Python

Learn how to use LangChain and LangSmith to create and debug agents for a health application, and how to diagnose agent bugs using LangSmith

intermediate Published 24 Jun 2026
Action Steps
  1. Implement agents using LangChain and LangSmith for agent observability
  2. Use FastAPI and React to build a web app for the health application
  3. Diagnose agent bugs using LangSmith
  4. Test and refine the agents to improve their performance
  5. Use the insights from LangSmith to optimize the agent's decision-making process
Who Needs to Know This

Developers and engineers working on AI-powered health applications can benefit from this article, as it provides a real-world example of how to implement and debug agents using LangChain and LangSmith

Key Insight

💡 Using LangSmith can help diagnose agent bugs and improve their performance, leading to a more effective health application

Share This
💡 Debug your LangChain agents with LangSmith and build a better health app! #LangChain #LangSmith #AI

Key Takeaways

Learn how to use LangChain and LangSmith to create and debug agents for a health application, and how to diagnose agent bugs using LangSmith

Full Article

Title: Kitchen Nightmares: LangChain agents edition

URL Source: https://kristian-roopnarine.medium.com/kitchen-nightmares-langchain-agents-edition-ea86fcf64233?source=rss------python-5

Published Time: 2026-06-24T23:44:05Z

Markdown Content:
[Sitemap](https://kristian-roopnarine.medium.com/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1: Unknown user](https://miro.medium.com/v2/resize:fill:32:32/1*dmbNkD5D-u45r44go_cf0g.png)

# Kitchen Nightmares: LangChain agents edition

[![Image 2: Kristian Roopnarine](https://miro.medium.com/v2/resize:fill:32:32/2*DFKjlGddd0QTxRLQ8l1RDg.jpeg)](https://kristian-roopnarine.medium.com/?source=post_page---byline--ea86fcf64233---------------------------------------)

[Kristian Roopnarine](https://kristian-roopnarine.medium.com/?source=post_page---byline--ea86fcf64233---------------------------------------)

Follow

8 min read

·

1 hour ago

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Fea86fcf64233&operation=register&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&user=Kristian+Roopnarine&userId=23e2056e1f0&source=---header_actions--ea86fcf64233---------------------clap_footer------------------)

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Frepost%2Fp%2Fea86fcf64233&operation=register&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&user=Kristian+Roopnarine&userId=23e2056e1f0&source=---header_actions--ea86fcf64233---------------------repost_header------------------)

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fea86fcf64233&operation=register&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&source=---header_actions--ea86fcf64233---------------------bookmark_footer------------------)

[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Dea86fcf64233&operation=register&redirect=https%3A%2F%2Fkristian-roopnarine.medium.com%2Fkitchen-nightmares-langchain-agents-edition-ea86fcf64233&source=---header_actions--ea86fcf64233---------------------post_audio_button------------------)

Share

My agents are idiot sandwiches and its all my fault

![Image 3](https://miro.medium.com/v2/resize:fit:600/1*sG-C1zpFvHp8sf5I_Rl5GA.jpeg)

source: [https://makeameme.org/meme/wheres-the-lamb-5a052a](https://makeameme.org/meme/wheres-the-lamb-5a052a)

## TLDR?

* Health application to parse recipes, create meals and meal plans
* Implemented agents using LangChain and LangSmith for agent observability, FastAPI and React for web app
* How using LangSmith can help diagnose agent bugs
* I fired the idiot sandwich agent

## Who doesn’t love a good
Read full article → ← Back to Reads

Related Videos

WhatsApp adds AI agent for businesses in India, it is free for everyone and works 24/7
WhatsApp adds AI agent for businesses in India, it is free for everyone and works 24/7
Vskills Certification
Types of AI Agents explained in Tamil | AI Agent Types | Beginner-Friendly AI Guide | Karthik's Show
Types of AI Agents explained in Tamil | AI Agent Types | Beginner-Friendly AI Guide | Karthik's Show
Karthik's Show
Multi-Agent AI in Action: How Agents Collaborate Using LangGraph Demo in Tamil | Karthik's Show
Multi-Agent AI in Action: How Agents Collaborate Using LangGraph Demo in Tamil | Karthik's Show
Karthik's Show
LangChain vs LangGraph | Difference between LangChain & LangGraph | Tamil | KarthiksShow
LangChain vs LangGraph | Difference between LangChain & LangGraph | Tamil | KarthiksShow
Karthik's Show
AI Agent Demo in Tamil | Create Basic Multi AI Agents Using Phidata & Deep Seek | Karthik's Show
AI Agent Demo in Tamil | Create Basic Multi AI Agents Using Phidata & Deep Seek | Karthik's Show
Karthik's Show
AI Agents vs Generative AI | Difference between AI Agents & Generative AI | Tamil | Karthik's Show
AI Agents vs Generative AI | Difference between AI Agents & Generative AI | Tamil | Karthik's Show
Karthik's Show