Topic
LangChain Memory & Conversational State
3 posts on langchain memory & conversational state — part of framework tutorials on the n4n AI blog.
Framework tutorialsTutorial
LangChain RunnableWithMessageHistory tutorial
Hands-on langchain runnablewithmessagehistory tutorial: build stateful LCEL conversational chains with custom memory backends and OpenAI-compatible APIs.
3 min read
Framework tutorialsDefinition
LangChain memory types explained: buffer vs summary
A practical definition of LangChain memory types buffer vs summary: how buffer and summary memory work, code samples, and when to use each for engineers building LLM chat systems.
5 min read
Framework tutorialsHow-to
Add conversational memory to a LangChain chatbot
Step-by-step guide to add conversational memory to a LangChain chatbot using buffer and summary memory, with runnable Python code and verification tips.
3 min read
More topics in framework tutorials
- AutoGen Agent Teams for Research & Automation11
- Choosing an AI Framework by Use Case10
- Framework Tutorials: Legal & Healthcare Document Q&A9
- One Backend, Every Model: Swapping GPT-5, Claude, Gemini & Llama Across Frameworks9
- AutoGen Human-in-the-Loop Workflows8
- LangChain Multi-Model Fallback & Routing8
- AutoGen Getting Started with n4n.ai7
- AutoGen Multi-Agent Conversations & Group Chat7
- Building Chatbots with Vercel AI SDK & Next.js7
- CrewAI Agent Roles & Task Design7
- CrewAI Getting Started with n4n.ai7
- CrewAI Real-World Crew Examples7