---
title: "Discussion on \"When to add LangGraph to a LangChain app\" | Hashnode"
description: "Discussion on \"When to add LangGraph to a LangChain app\". Originally published at: https://varunyadav.com/when-to-add-langgraph-to-a-langchain-app/\nLangChain got the agent to use tools. That was the first win.\nThe next problem was harder: the agent needed to"
url: "https://hashnode.com/posts/when-to-add-langgraph-to-a-langchain-app/6a077976c013adcbda021891"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [When to add LangGraph to a LangChain app](https://vay.hashnode.dev/when-to-add-langgraph-to-a-langchain-app?utm_source=hashnode&utm_medium=feed)

Originally published at: https://varunyadav.com/when-to-add-langgraph-to-a-langchain-app/ LangChain got the agent to use tools. That was the first win. The next problem was harder: the agent needed to

May 15 · 12 min read · vay.hashnode.dev  
Read the article

## Written by

[Varun](https://hashnode.com/@vay)

@vay

  
[View profile](https://hashnode.com/@vay)

## Responses 2

Markdown supported · ⌘↵ to post

[Mateo Ruiz](https://hashnode.com/@mateoruiz)

[Jun 1](https://hashnode.com/posts/when-to-add-langgraph-to-a-langchain-app/6a077976c013adcbda021891/comment/6a1d85a8cb813002178e88dd)

This really resonates, especially the point about prompts describing behavior but not enforcing it.

I have seen a few teams try to solve workflow problems by continuously refining prompts, and it works right up until there's a partial failure or a workflow that needs to resume mid-execution. That's usually when the distinction between "the model should do this" and "the system guarantees this" becomes very obvious.

The queue processing example is a good one because the output can look completely reasonable even when the workflow itself has failed. Those are often the hardest issues to catch because nothing technically crashes.

The line about LangGraph becoming the owner of completion rules rather than the model is probably the clearest explanation of when to introduce it that I have seen.

[Varun](https://hashnode.com/@vay)

[Jun 2](https://hashnode.com/posts/when-to-add-langgraph-to-a-langchain-app/6a077976c013adcbda021891/comment/6a1d85a8cb813002178e88dd#reply-6a1ed4e6c5484173f87bd0ce)

Thanks Mateo for taking time to read
