FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Books & courses

The LangGraph course that explains why agents forget corrections

Harrison Chase's 84-minute course splits memory into semantic, episodic and procedural, and that split tells an FDE where to fix an error that keeps coming back.

ShareLinkedInFacebookX

In brief

  • A short intermediate course, 1 hour 24 minutes long according to the course page, taught by Harrison Chase, built around an email assistant.
  • The three memory types are added one at a time: episodic memory is few-shot examples at the triage step, and procedural memory is a system prompt tuned with feedback.
  • The course does not teach error diagnosis, but FDEs can use the three memory types to do it. Memory ownership across many users is a problem left for you to solve.
Large orange figure: 2 fewer wrong emails in net terms. On the right, rows of dots show that across a hypothetical 100 emails, the baseline got 15 wrong; prompt tuning fixed 6 but broke 4 that were previously right, leaving 13 wrong; two hollow orange dots mark the net reduction.
Clients may see only the 6 cases that were fixed; counting the 4 that were broken, wrong emails fall from just 15 to 13. Source: hypothetical example in the article, based on 100 labelled emails.

In 1 hour 24 minutes, Harrison Chase, co-founder and CEO of LangChain, walks learners through a very ordinary exercise: build an email assistant, then give it three kinds of memory, one at a time. For an FDE, the library matters less than the three-way split itself. When an agent keeps repeating a mistake, the split tells you where to fix it.

Long-Term Agentic Memory with LangGraph is a short intermediate course on DeepLearning.AI, made with LangChain.

Take the third week of a deployment. The client corrects the agent on the same mistake for the third time and asks why it doesn’t remember. The course gives you a name for the problem and a ready implementation pattern to answer with, which beats patching one more line into the prompt.

One email assistant, three upgrades

The project throughout is an email assistant. The lessons run in sequence: the baseline, then semantic memory, then episodic, then procedural.

Because each lesson builds on the last, you see where each kind of memory attaches inside the same agent, rather than learning three separate concepts. The prerequisites are light: familiarity with Python and a basic grasp of prompting and LLM application development.

A repeated error: which memory is the agent missing?

The course does not teach error diagnosis, but its three-way split works well for it. LangMem’s conceptual guide has definitions good enough to start with.

Semantic memory stores the facts that ground an answer; the course’s example is important birthdays for a calendar agent. Episodic memory keeps successful past interactions as examples for later ones. Procedural memory governs how the agent should behave and respond.

These three definitions are enough to break a vague complaint into three different fixes. Consider a hypothetical support inbox at a logistics company:

Type The client complains What to store
Semantic “It still quotes the wrong turnaround commitment for this customer” Each customer’s contractual commitments
Episodic “It handled an email like this correctly last time, so why did it misfile this one?” That email together with its correct classification
Procedural “We already said refunds must go to an approver” The approver-routing rule in the agent’s instructions

So the first job at the client comes before choosing any storage tool. Collect the times users corrected the agent, label each one using the table above, and tackle the most frequent type first.

Few-shot examples and system prompts are memory too

In the course, episodic memory is the few-shot examples at the triage step, and procedural memory is the system prompt tuned with feedback. Technically you already know both; what changes is that they grow gradually from what the agent experiences.

In his blog post on agent memory, Chase also writes that episodic memory is in practice implemented with few-shot examples, and that some agents update their own system prompts.

Once an agent’s behavior changes with feedback, though, you need a fixed measurement. Say that on 100 labeled emails the baseline misclassifies 15. After tuning the prompt, 6 of the wrong ones are fixed, but 4 that were right now break.

Counting both directions, 13 emails are still wrong, a drop of only 2, while the client is likely to notice only the 6 fresh fixes. The 4 new failures will come back as new complaints if nobody measures.

Before switching on any optimization loop at a client, have this test set ready and save every prompt version so you can roll back.

Who should take it, and in what order

The course suits engineers who have already built a working agent or are about to take one to a client. If you have never written an LLM application, learn the basics first, since the course assumes them.

The sensible order is to follow the lessons in sequence and not jump straight to the procedural part. Then read the LangMem conceptual guide to check each memory type’s definition, and redo the exercise with data other than email. The course page lists an update date of July 17, 2026, so check the library’s current documentation as you work.

Should one person’s memory spread to the whole team?

Remember the exercise’s limit: it revolves around a single email assistant. In a company you also have to decide who memory belongs to, whether one employee’s preferences should spread to colleagues, and who may view and delete it.

The LangGraph documentation describes a structure you can use to discuss this: each memory sits in a custom namespace, like a folder, and has its own key, like a file name.

Before go-live, sketch the namespaces per employee and per team with the client, because drawing them forces both sides to answer those questions.

On your CV, list error counts, not the course name

When you put this project on your CV, don’t just list the course title. State which memory types you added, how many samples you measured on, and how the error count changed.

When a job description mentions agents, ask the interviewer how they handle long-term memory; the answer often tells you whether their product has run for a long time at clients or is still a demo.

Clients will not ask which memory library your agent uses. They care about one thing: whether the mistake fixed last week comes back.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
6 sources
Read next on the roadmap · Stage 3: Applied AIThe 19 minutes worth keeping from a two-hour LLM systems courseDeepLearning.AI's short course teaches FDEs to chain and measure model calls, but it is no ticket to production.