When I first started building a product using LLM APIs, I adopted LangGraph. Later, I moved away from it and implemented chat history and state management myself. Here’s what I learned through that process.
LangGraph — a Lifesaver at First
When I first needed to build a chatbot, LangGraph was a huge help. The goal was to create a chatbot that could respond based on existing data — something like a banking app chatbot. At that time, I had no experience with similar systems. The chatbot needed to extract appropriate search keywords from user questions, query the database, and then format the results as proper answers — all of which were difficult to design.