Short Term
the running message history inside one thread
Human message
AI message
Human message
AI message
Message History
LLM
Checkpointer
attached to the thread
load
save
Each thread's history is isolated.
Nothing here is shared with other threads.
Long Term
facts shared across every thread with access
Facts
(persistent,
learned knowledge)
Store
LLM
One persistent store, shared across every thread with access.
Facts written by any thread are available to all of them.
Checkpointer and memory, together
short-term history and long-term facts both feed the same call
Short-term memory
Human message
AI message
Human message
AI message
Human message
Checkpointer
Long-term memory
Store
LLM
← Prev
1 / 3
Next →