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
Action Steps
- Implement agents using LangChain and LangSmith for agent observability
- Use FastAPI and React to build a web app for the health application
- Diagnose agent bugs using LangSmith
- Test and refine the agents to improve their performance
- 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------------------)

# Kitchen Nightmares: LangChain agents edition
[](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

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
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------------------)

# Kitchen Nightmares: LangChain agents edition
[](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

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
DeepCamp AI