<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Short Term Memory &amp;amp; Long Term Memory in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163200#M1950</link>
    <description>&lt;P class=""&gt;Since you're using &lt;STRONG&gt;LangGraph on Databricks Classic Compute&lt;/STRONG&gt;, you don't have Agent Bricks or Managed Agent Memory. I would build the memory layer directly on &lt;STRONG&gt;Delta Lake + Unity Catalog&lt;/STRONG&gt;. This gives you full control, is scalable, auditable, and integrates naturally with Databricks.&lt;/P&gt;&lt;P&gt;In fact, the architecture is almost identical to how Databricks' newer self-managed memory works internally, except they use Lakebase/Postgres instead of Delta. The underlying concepts—thread memory, semantic memory, episodic memory, and memory consolidation—are the same.&lt;/P&gt;&lt;P&gt;I recommend &lt;STRONG&gt;never writing directly to long-term memory from every node&lt;/STRONG&gt;. Instead, add a dedicated &lt;STRONG&gt;Memory Consolidation Node&lt;/STRONG&gt; at the end of the graph.&lt;/P&gt;&lt;P&gt;Memory Layers&lt;/P&gt;&lt;P&gt;Instead of a single table, split memory into specialized Delta tables.&lt;/P&gt;&lt;P&gt;catalog.agent_memory&lt;/P&gt;&lt;P&gt;conversations&lt;BR /&gt;episodic_memory&lt;BR /&gt;semantic_memory&lt;BR /&gt;user_profile&lt;BR /&gt;memory_embeddings&lt;/P&gt;&lt;H1&gt;1. Short-Term Memory (Conversation State)&lt;/H1&gt;&lt;P&gt;Short-term memory should only exist during the current conversation and should be managed by &lt;STRONG&gt;LangGraph State/Checkpointing&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It should contain:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Conversation messages&lt;/LI&gt;&lt;LI&gt;Tool outputs&lt;/LI&gt;&lt;LI&gt;SQL query results&lt;/LI&gt;&lt;LI&gt;API responses&lt;/LI&gt;&lt;LI&gt;Intermediate reasoning&lt;/LI&gt;&lt;LI&gt;Planner outputs&lt;/LI&gt;&lt;LI&gt;Scratchpad/context&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This memory is automatically passed between LangGraph nodes.&lt;/P&gt;&lt;H1&gt;3. Semantic Memory (Long-Term Facts &amp;amp; Preferences)&lt;/H1&gt;&lt;P&gt;This is the most important long-term memory.&lt;/P&gt;&lt;P&gt;Store only durable knowledge about the user.&lt;/P&gt;&lt;H3&gt;Examples&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;User prefers SQL over explanations&lt;/LI&gt;&lt;LI&gt;User prefers charts over tables&lt;/LI&gt;&lt;LI&gt;User works with Databricks&lt;/LI&gt;&lt;LI&gt;User works in Retail Analytics&lt;/LI&gt;&lt;LI&gt;User prefers concise responses&lt;/LI&gt;&lt;LI&gt;User timezone is IST&lt;/LI&gt;&lt;/UL&gt;&lt;H1&gt;Recommended Four-Layer Memory Model&lt;/H1&gt;&lt;P&gt;For a production-grade implementation, I recommend extending beyond just short-term and long-term memory into four complementary memory types:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Memory Type Purpose Storage &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Working Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Current conversation, intermediate reasoning, tool outputs&lt;/TD&gt;&lt;TD&gt;LangGraph State / Checkpoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Semantic Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;User preferences, permanent facts, profile&lt;/TD&gt;&lt;TD&gt;Delta Lake + Vector Search&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Episodic Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Summarized past sessions, important experiences&lt;/TD&gt;&lt;TD&gt;Delta Lake&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Procedural Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Reusable workflows, SQL templates, preferred tool sequences, successful reasoning patterns&lt;/TD&gt;&lt;TD&gt;Delta Lake (versioned)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This design closely aligns with Databricks' self-managed memory concepts while remaining fully compatible with &lt;STRONG&gt;LangGraph running on Databricks Classic Compute&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Reference Links:&lt;/H1&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Databricks Stateful Agents&lt;/STRONG&gt; – &lt;A class="" href="https://docs.databricks.com/aws/en/agents/agent-framework/stateful-agents" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/agents/agent-framework/stateful-agents&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Databricks Self-Managed Agent Memory&lt;/STRONG&gt; – &lt;A class="" href="https://docs.databricks.com/aws/en/agents/agent-memory/self-managed-memory" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/agents/agent-memory/self-managed-memory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;LangGraph Memory Guide&lt;/STRONG&gt; – &lt;A class="" href="https://docs.langchain.com/oss/python/langgraph/add-memory" target="_blank" rel="noopener"&gt;https://docs.langchain.com/oss/python/langgraph/add-memory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;LangGraph Conversation Memory Management&lt;/STRONG&gt; – &lt;A class="" href="https://langchain-ai.github.io/langgraph/how-tos/memory/manage-conversation-history/" target="_blank" rel="noopener"&gt;https://langchain-ai.github.io/langgraph/how-tos/memory/manage-conversation-history/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 16 Jul 2026 15:08:39 GMT</pubDate>
    <dc:creator>Bitrip007</dc:creator>
    <dc:date>2026-07-16T15:08:39Z</dc:date>
    <item>
      <title>Short Term Memory &amp; Long Term Memory</title>
      <link>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163190#M1949</link>
      <description>&lt;DIV class=""&gt;I am building an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Agentic Application&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on Databricks using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;LangGraph&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Classic Compute — Serverless cant be used so Agent Brickscant be used ).&lt;/DIV&gt;&lt;DIV class=""&gt;I want my agent to have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;two types of memory&lt;/STRONG&gt;:&lt;/DIV&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;STRONG&gt;Short-term memory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;→ Remember the current conversation and tool outputs so the next tool/step has full context.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Long-term memory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;→ Remember user preferences and behavior across sessions, so the next time the user logs in, the agent already knows them.&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;What I Need Help With&lt;/H3&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;STRONG&gt;Recommended Delta table design&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for long-term memory (preferences, facts, summaries)? - how to design it&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;How to move data from short-term → long-term&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(when and what to save)?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;How to load long-term memory back&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;into the agent when the user logs in again?&lt;/LI&gt;&lt;LI&gt;Any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reference examples or notebooks&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from Databricks for this pattern?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 16 Jul 2026 13:37:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163190#M1949</guid>
      <dc:creator>prasuanu1222</dc:creator>
      <dc:date>2026-07-16T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Short Term Memory &amp; Long Term Memory</title>
      <link>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163200#M1950</link>
      <description>&lt;P class=""&gt;Since you're using &lt;STRONG&gt;LangGraph on Databricks Classic Compute&lt;/STRONG&gt;, you don't have Agent Bricks or Managed Agent Memory. I would build the memory layer directly on &lt;STRONG&gt;Delta Lake + Unity Catalog&lt;/STRONG&gt;. This gives you full control, is scalable, auditable, and integrates naturally with Databricks.&lt;/P&gt;&lt;P&gt;In fact, the architecture is almost identical to how Databricks' newer self-managed memory works internally, except they use Lakebase/Postgres instead of Delta. The underlying concepts—thread memory, semantic memory, episodic memory, and memory consolidation—are the same.&lt;/P&gt;&lt;P&gt;I recommend &lt;STRONG&gt;never writing directly to long-term memory from every node&lt;/STRONG&gt;. Instead, add a dedicated &lt;STRONG&gt;Memory Consolidation Node&lt;/STRONG&gt; at the end of the graph.&lt;/P&gt;&lt;P&gt;Memory Layers&lt;/P&gt;&lt;P&gt;Instead of a single table, split memory into specialized Delta tables.&lt;/P&gt;&lt;P&gt;catalog.agent_memory&lt;/P&gt;&lt;P&gt;conversations&lt;BR /&gt;episodic_memory&lt;BR /&gt;semantic_memory&lt;BR /&gt;user_profile&lt;BR /&gt;memory_embeddings&lt;/P&gt;&lt;H1&gt;1. Short-Term Memory (Conversation State)&lt;/H1&gt;&lt;P&gt;Short-term memory should only exist during the current conversation and should be managed by &lt;STRONG&gt;LangGraph State/Checkpointing&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It should contain:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Conversation messages&lt;/LI&gt;&lt;LI&gt;Tool outputs&lt;/LI&gt;&lt;LI&gt;SQL query results&lt;/LI&gt;&lt;LI&gt;API responses&lt;/LI&gt;&lt;LI&gt;Intermediate reasoning&lt;/LI&gt;&lt;LI&gt;Planner outputs&lt;/LI&gt;&lt;LI&gt;Scratchpad/context&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This memory is automatically passed between LangGraph nodes.&lt;/P&gt;&lt;H1&gt;3. Semantic Memory (Long-Term Facts &amp;amp; Preferences)&lt;/H1&gt;&lt;P&gt;This is the most important long-term memory.&lt;/P&gt;&lt;P&gt;Store only durable knowledge about the user.&lt;/P&gt;&lt;H3&gt;Examples&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;User prefers SQL over explanations&lt;/LI&gt;&lt;LI&gt;User prefers charts over tables&lt;/LI&gt;&lt;LI&gt;User works with Databricks&lt;/LI&gt;&lt;LI&gt;User works in Retail Analytics&lt;/LI&gt;&lt;LI&gt;User prefers concise responses&lt;/LI&gt;&lt;LI&gt;User timezone is IST&lt;/LI&gt;&lt;/UL&gt;&lt;H1&gt;Recommended Four-Layer Memory Model&lt;/H1&gt;&lt;P&gt;For a production-grade implementation, I recommend extending beyond just short-term and long-term memory into four complementary memory types:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Memory Type Purpose Storage &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Working Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Current conversation, intermediate reasoning, tool outputs&lt;/TD&gt;&lt;TD&gt;LangGraph State / Checkpoint&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Semantic Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;User preferences, permanent facts, profile&lt;/TD&gt;&lt;TD&gt;Delta Lake + Vector Search&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Episodic Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Summarized past sessions, important experiences&lt;/TD&gt;&lt;TD&gt;Delta Lake&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Procedural Memory&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;Reusable workflows, SQL templates, preferred tool sequences, successful reasoning patterns&lt;/TD&gt;&lt;TD&gt;Delta Lake (versioned)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This design closely aligns with Databricks' self-managed memory concepts while remaining fully compatible with &lt;STRONG&gt;LangGraph running on Databricks Classic Compute&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H1&gt;Reference Links:&lt;/H1&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Databricks Stateful Agents&lt;/STRONG&gt; – &lt;A class="" href="https://docs.databricks.com/aws/en/agents/agent-framework/stateful-agents" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/agents/agent-framework/stateful-agents&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Databricks Self-Managed Agent Memory&lt;/STRONG&gt; – &lt;A class="" href="https://docs.databricks.com/aws/en/agents/agent-memory/self-managed-memory" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/agents/agent-memory/self-managed-memory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;LangGraph Memory Guide&lt;/STRONG&gt; – &lt;A class="" href="https://docs.langchain.com/oss/python/langgraph/add-memory" target="_blank" rel="noopener"&gt;https://docs.langchain.com/oss/python/langgraph/add-memory&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;LangGraph Conversation Memory Management&lt;/STRONG&gt; – &lt;A class="" href="https://langchain-ai.github.io/langgraph/how-tos/memory/manage-conversation-history/" target="_blank" rel="noopener"&gt;https://langchain-ai.github.io/langgraph/how-tos/memory/manage-conversation-history/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 16 Jul 2026 15:08:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163200#M1950</guid>
      <dc:creator>Bitrip007</dc:creator>
      <dc:date>2026-07-16T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Short Term Memory &amp; Long Term Memory</title>
      <link>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163668#M1959</link>
      <description>&lt;P&gt;Use &lt;STRONG&gt;two layers&lt;/STRONG&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Short-term&lt;/STRONG&gt;: LangGraph checkpointer for thread/session state.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Long-term&lt;/STRONG&gt;: for your case, prefer &lt;STRONG&gt;Databricks Managed Memory&lt;/STRONG&gt; if available; otherwise use &lt;STRONG&gt;self-managed Lakebase&lt;/STRONG&gt;. Managed memory is the simplest cross-session option and works with LangGraph; short-term should still stay in the LangGraph checkpointer.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;Delta design for long-term memory&lt;/H3&gt;
&lt;P&gt;If you specifically want &lt;STRONG&gt;Delta tables&lt;/STRONG&gt;, keep them simple and semantic:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;user_memories&lt;/CODE&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;user_id&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;memory_type&lt;/CODE&gt; (&lt;CODE&gt;preference&lt;/CODE&gt;, &lt;CODE&gt;fact&lt;/CODE&gt;, &lt;CODE&gt;summary&lt;/CODE&gt;)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;topic&lt;/CODE&gt; (timezone, formatting, project, etc.)&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;memory_text&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;source_session_id&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;importance&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;confidence&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;created_at&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;updated_at&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;expires_at&lt;/CODE&gt; nullable&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;is_active&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Optional:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;memory_events&lt;/CODE&gt; for raw append-only writes/audit&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;session_summaries&lt;/CODE&gt; for one summary per conversation/session&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Design rule: store &lt;STRONG&gt;distilled facts/preferences/summaries&lt;/STRONG&gt;, not every message. Databricks internal guidance also separates semantic memory such as facts/preferences from short-term session state and recommends fewer long-term objects than short-term ones.&lt;/P&gt;
&lt;H3&gt;Short-term → long-term: what and when&lt;/H3&gt;
&lt;P&gt;Save to long-term only when the info is:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;stable user preference&lt;/LI&gt;
&lt;LI&gt;reusable fact&lt;/LI&gt;
&lt;LI&gt;durable project context&lt;/LI&gt;
&lt;LI&gt;end-of-session summary&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Do &lt;STRONG&gt;not&lt;/STRONG&gt; save transient tool output or every turn. Internal notes explicitly say long-term write does not need to happen every step and should be smaller than short-term memory.&lt;/P&gt;
&lt;P&gt;Good trigger points:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;explicit user statement: “I prefer…”, “Remember that…”&lt;/LI&gt;
&lt;LI&gt;session end&lt;/LI&gt;
&lt;LI&gt;after task completion&lt;/LI&gt;
&lt;LI&gt;periodic background summarization/consolidation job&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Load long-term on next login&lt;/H3&gt;
&lt;P&gt;At app start:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;identify &lt;CODE&gt;user_id&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;fetch top memories for that user&lt;/LI&gt;
&lt;LI&gt;inject only the most relevant ones into the prompt/context&lt;/LI&gt;
&lt;LI&gt;keep the rest searchable as a tool&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For managed memory, Databricks recommends &lt;STRONG&gt;per-user scope&lt;/STRONG&gt; and searching within that scope; one agent can also read personal scope plus shared org scope.&lt;/P&gt;
&lt;H3&gt;Best references&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://docs.databricks.com/aws/en/agents/agent-memory/managed-memory" target="_blank"&gt;Managed agent memory docs&lt;/A&gt; — best current reference for cross-session memory with scope/path model.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://github.com/databricks/app-templates/blob/main/agent-langgraph-advanced/README.md" target="_blank"&gt;agent-langgraph-advanced template&lt;/A&gt; — shows &lt;CODE&gt;AsyncCheckpointSaver&lt;/CODE&gt; for short-term and &lt;CODE&gt;AsyncDatabricksStore&lt;/CODE&gt; for long-term in LangGraph.&lt;/LI&gt;
&lt;LI&gt;Lakebase AI Integration hands-on lab — explicitly covers short-term with &lt;CODE&gt;CheckpointSaver&lt;/CODE&gt; and long-term with &lt;CODE&gt;DatabricksStore&lt;/CODE&gt; for LangGraph.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Recommendation&lt;/H3&gt;
&lt;P&gt;For &lt;STRONG&gt;classic compute + LangGraph&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;use &lt;STRONG&gt;LangGraph checkpointer&lt;/STRONG&gt; for short-term&lt;/LI&gt;
&lt;LI&gt;if allowed, use &lt;STRONG&gt;Managed Memory&lt;/STRONG&gt; for long-term&lt;/LI&gt;
&lt;LI&gt;if you must build it yourself in Delta, use &lt;STRONG&gt;one distilled &lt;CODE&gt;user_memories&lt;/CODE&gt; table + optional &lt;CODE&gt;session_summaries&lt;/CODE&gt; table&lt;/STRONG&gt;, and write only curated memories&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Jul 2026 00:12:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/short-term-memory-amp-long-term-memory/m-p/163668#M1959</guid>
      <dc:creator>Lu_Wang_ENB_DBX</dc:creator>
      <dc:date>2026-07-22T00:12:48Z</dc:date>
    </item>
  </channel>
</rss>

