EP 69 6 min with Stella & Liam

LangGraph Remembers the Thread. Vilix AI Remembers the Work

LangGraph remembers only inside one thread. Its checkpointer snapshots graph state after every node and keys it by thread_id, so the same conversation resumes after a crash or a restart, with crash recovery, human-in-the-loop pauses and time travel to earlier checkpoints.

AI Stella and Liam are AI hosts with AI-generated voices. About our AI hosts

Key takeaways

  1. Inside one thread, LangGraph's checkpointer is real memory: it snapshots graph state after every node, keyed by thread_id, giving conversation continuity, crash recovery, human-in-the-loop pauses and time travel to earlier checkpoints.
  2. The tutorial default InMemorySaver keeps checkpoints in RAM and loses everything on restart. Production uses PostgresSaver for the checkpointer, and a Postgres or Redis backed store for cross-thread memory, plus a retention policy because checkpoint tables grow fast.
  3. A new thread_id starts from zero because threads are isolated by design. A nightly job with a fresh thread_id gets a brand-new agent every night: preferences learned on Monday, corrections made on Tuesday and facts gathered on Wednesday are all invisible on Thursday.
  4. The store is LangGraph's cross-thread system, but it is deliberate: nothing lands there unless your nodes call store.put(), with namespaces keyed by user_id, not thread_id, and reads via store.get() or store.search() at the start of each run. Treating the checkpointer itself as long-term memory is the most common LangGraph memory mistake.
  5. Vilix AI gives the agent one memory outside the LangGraph runtime: get_context at the start of every run and save_turn with source labels at the end, failed runs saved, newest wins, full conversation history with semantic recall across threads, sessions and tools, projects, project rules, user rules, skills and the agent inbox, one Vilix AI account per client, cloud hosted with zero infrastructure, export or delete anytime, free forever plan.

Show notes

LangGraph remembers only inside one thread. Its checkpointer snapshots graph state after every node and keys it by thread_id, so the same conversation resumes after a crash or a restart, with crash recovery, human-in-the-loop pauses and time travel to earlier checkpoints. A new thread_id starts with a blank slate, because threads are isolated by design. The tutorial default InMemorySaver keeps checkpoints in RAM and loses everything on restart, so production uses PostgresSaver. Cross-thread memory needs LangGraph’s store, a separate system that saves only what your nodes deliberately write with store.put(), keyed by namespace such as user_id, and read back with store.get() or store.search(). Most production agents run both, plus a Postgres or Redis backed store and a retention job to prune fast-growing checkpoint tables. In this episode of Agentic Pod, Liam and Stella break down why a nightly job with a fresh thread_id gets a brand-new agent every night, and how Vilix AI gives that agent one shared memory across threads, sessions and tools with get_context and save_turn.

What we cover:

  • Inside one thread: the checkpointer snapshots state after every node, keyed by thread_id, giving conversation continuity, crash recovery, human-in-the-loop pauses and time travel
  • InMemorySaver keeps checkpoints in RAM and loses them on restart; PostgresSaver is the durable production choice
  • A new thread_id starts from zero: threads are isolated by design, and a scheduled nightly run with a fresh thread_id gets a brand-new agent every night
  • The common mistake: treating the checkpointer as long-term memory, a drop-in for ConversationBufferMemory, and expecting user preferences to survive across sessions
  • The store: cross-thread, application-defined data saved only when you call store.put(), namespaces keyed by user_id not thread_id, read back with store.get() or store.search(), backed by Postgres or Redis in production
  • The Vilix AI fix: get_context at the start of every run, save_turn with source labels at the end, failed runs saved, newest wins, full conversation history, semantic recall across threads, sessions and tools, projects, project rules, user rules, skills, agent inbox, one Vilix AI account per client, cloud hosted with zero infrastructure, export or delete anytime, free forever plan

Chapters

Questions answered in this episode

Does LangGraph remember between runs?

Within one thread, yes: the checkpointer restores the thread's state, so the same conversation continues across runs and restarts. Across threads, no: each new thread_id starts empty. Cross-thread memory needs the store, or a memory layer outside the runtime like Vilix AI.

What is the difference between a LangGraph checkpointer and a store?

A checkpointer saves thread-scoped graph state automatically after every node. A store persists application-defined data across all threads, but only what you explicitly write to it with store.put(). Production agents typically use both.

Why does my LangGraph agent forget the user on a new conversation?

Because the facts were saved in the checkpointer, which is scoped to the old thread_id. Move user-level facts (preferences, corrections, durable context) into the store keyed by user, or into Vilix AI, and read them at the start of each run.

How does Vilix AI give a LangGraph agent memory across runs?

Vilix AI is a cloud hosted memory layer outside LangGraph, connected over MCP. The agent calls get_context at the start of a run to load prior decisions, corrections and full conversation history, recalled semantically across threads, sessions and tools, and save_turn at the end to write back what it did and decided, with a source label. Failed runs are saved too, and the newest correction wins for every connected tool.

Links & resources

Full transcript

Intro

Liam

Hey hey hey, welcome to Agentic Pod! I'm Liam.

Stella

And I'm Stella! Your LangGraph agent learns a user's preferences on Monday, takes a correction on Tuesday, and on Thursday knows none of it.

Liam

Not the preference, not the correction, not the facts from Wednesday.

Liam

Thursday is a new thread, and a new thread starts blank. LangGraph remembers the thread. Vilix AI remembers the work.

Inside one thread, the checkpointer works

Stella

Start fair. Inside one thread, what does LangGraph actually remember?

Liam

A lot. The checkpointer snapshots graph state after every node.

Liam

It keys every snapshot by thread_id, the conversation's own ID.

Stella

So the same conversation resumes after a crash?

Liam

Exactly. Crash recovery, human review pauses, even time travel.

Liam

Pause a thread, let a person edit the pending state, resume it.

Liam

Rewind to any earlier checkpoint when you debug.

Stella

That sounds like real memory.

Liam

Inside the thread, it is. It remembers where this conversation was.

Liam

One catch. The tutorial default, InMemorySaver, keeps checkpoints in RAM.

Liam

Restart the process and every checkpoint is gone.

Stella

So production swaps it for PostgresSaver.

Liam

Right. LangGraph's own docs call the in-memory one a development tool.

A new thread starts from zero

Stella

Okay, so where does it break?

Liam

Threads are isolated by design. Each thread_id is its own island.

Liam

The new thread's checkpointer cannot reach the old thread's snapshots.

Liam

It answers one question: what was happening in this conversation?

Stella

And never: what do I know about this user?

Liam

Never. Now run that agent on a schedule.

Liam

A nightly job starts a fresh thread_id every night.

Liam

So it gets a brand-new agent every night.

Stella

Preferences Monday, corrections Tuesday, facts Wednesday, all invisible Thursday.

Liam

That is pain one, and teams hit it in production.

Liam

A real user reports the agent forgot everything about them.

Stella

Because the facts landed in the checkpointer, scoped to a dead thread.

Liam

A September 2026 field guide named the mistake exactly.

Liam

Developers use the checkpointer as a drop-in ConversationBufferMemory.

Liam

Then they expect user preferences to survive across sessions. They do not.

The store helps, and it is all on you

Liam

LangGraph does ship a second system for this. The store.

Stella

Cross-thread memory, built in?

Liam

Built in, but deliberate. Nothing lands there automatically.

Liam

Your nodes call store.put() with a namespace and a key.

Liam

Namespace by user_id, never by thread_id. One user has many threads.

Stella

And reading it back?

Liam

store.get() or store.search() at the start of each run.

Liam

Production agents run both systems at once.

Liam

Checkpointer for the thread's working state, store for durable facts.

Stella

Plus the database bill.

Liam

Plus the database. Postgres or Redis behind the store.

Liam

And checkpoint tables grow fast under real traffic.

Liam

You prune them yourself, a retention job deleting old checkpoints.

Stella

And that memory still lives inside LangGraph only?

Liam

Only inside the LangGraph runtime. Your other tools cannot read it.

Liam

So what does an agent actually need across every run and every tool?

The Vilix AI fix and the verdict

Liam

It needs the reasoning and the facts, wherever the run happens.

Stella

In Vilix AI, I assume.

Liam

In Vilix AI. A cloud hosted memory layer, zero infrastructure to run.

Liam

No Postgres to host, no checkpoint tables to prune.

Stella

Walk the run for me.

Liam

At run start, the agent calls get_context in Vilix AI.

Liam

Prior decisions, corrections and full conversation history come back.

Liam

Vilix AI recalls semantically, across threads, sessions and tools.

Liam

End of run, it calls save_turn in Vilix AI with a source label.

Stella

So Thursday's run knows which thread wrote what?

Liam

Exactly. Source labels in Vilix AI, and failed runs get saved too.

Stella

A failed nightly run teaches Friday instead of repeating silently.

Liam

And correct something once in Vilix AI, the newest version wins.

Stella

Everywhere meaning beyond LangGraph?

Liam

The same Vilix AI memory serves the LangGraph agent and Claude.

Liam

And Codex, and your n8n workflows, over MCP in Vilix AI.

Liam

A headless agent connects to Vilix AI with an API key.

Stella

Standing instructions, like always use bullet points for this user?

Liam

Projects and project rules live in Vilix AI. User rules live in Vilix AI.

Liam

Repeat workflows become skills in Vilix AI. Agents leave notes in the Vilix AI agent inbox.

Stella

Agencies running LangGraph agents for several clients?

Liam

One Vilix AI account per client, so each client's memory stays separate.

Stella

And leaving Vilix AI one day?

Liam

List, edit or delete memories in Vilix AI. Export everything, or wipe it.

Liam

Start free forever with Vilix AI, or try Pro for 7 days, no credit card.

Stella

My verdict: keep the checkpointer for the thread. Just stop asking it to be the memory.

Liam

Same. LangGraph remembers the thread. Vilix AI remembers the work. Which of your agents woke up blank this morning? Tell us below. See you next time!