🔥 BLACK FRIDAY SALE1 course ₹199·any 3 courses ₹399 for 3 months·ALL courses + 1 mock interview ₹599 for 6 monthsClaim offer →

Agentic AI (LangChain and LangGraph) · LangChain Agents in Depth · Intermediate · 32 min read

Short-Term Memory and Context Management: Checkpointers, Trimming and Summarisation

Make agents remember without drowning in tokens. Learn how thread-level memory works with checkpointers, how the context window fills up, how to trim, delete and summarise messages safely (including the tool-call pairing rule), configure SummarizationMiddleware and context editing, and choose a persistent store for production.

Short-Term Memory and Context Management: Checkpointers, Trimming and Summarisation: lesson illustration

A first look

  • Intermediate level · 32 min read
  • 7 interview questions with model answers
  • LangChain Agents in Depth · Agentic AI (LangChain and LangGraph)

You will learn to

  • What "memory" means for an agent, and the difference between short-term and long-term memory
  • Checkpointers and threadid: how conversations persist
  • The context window problem: cost, latency and "lost in the middle"
  • …and 3 more topics inside
Create an account to start

Create a free account to see what this lesson covers

  • Every free lesson in every section, in full
  • Track your progress and pick up where you left off
  • Free practice questions and an incident simulation
  • Takes under a minute: name, email and a password

No card needed. Full access to Agentic AI (LangChain and LangGraph) is a paid upgrade you can choose later.