December 1, 2026

Agent Memory on Databricks: Managed Recall Without Losing Project Truth

Understand Databricks Agent Memory, secure its scopes, and add readable project truth with a practical six-case production drill.

Agent memory on Databricks now separates two jobs that agent applications often mix together: session continuity inside one conversation and durable knowledge recalled across later conversations. Databricks manages both stores on Lakebase, while memory pipelines can distill conversations into longer-lived facts.

That solves useful infrastructure problems. It does not decide which extracted facts should become authoritative project knowledge. A user preference can live in managed recall. A deployment procedure, security rule, or architecture decision should usually also exist as a file people and multiple agents can inspect, correct, version, and self-host. This guide explains the boundary and adds a production drill missing from the current product pages.

What Databricks Agent Memory actually stores

The current Databricks managed memory reference describes Agent Memory as a beta feature backed by Lakebase. It uses three core resources:

  • Session stores preserve ordered conversation state for one interaction, including messages, tool calls, results, or framework state.
  • Memory stores hold durable entries that an agent can recall in separate conversations.
  • Memory pipelines read sessions and distill durable facts into memory entries, either on demand, on an approximately daily schedule, or as conversations accumulate.

A memory entry contains free-form content, a retrieval description, an actor_id, an optional session_id, and a filesystem-like path. Databricks supports exact listing and natural-language search. Search combines full-text and semantic matching, so this is more than a transcript archive.

The separation matters. Deleting a session does not remove a fact already distilled into the memory store. A pipeline can also merge, split, rewrite, or delete entries while consolidating an actor's memory. Your retention and deletion design must therefore cover both stores and every derived copy.

The security boundary is the store, not actor_id

actor_id partitions retrieval, but Databricks explicitly says it is not access control. Any principal with access to a memory store can reach entries across its actors. Strict tenant isolation therefore requires separate stores at the security boundary, not a model-selected actor value.

Set actor and session identifiers in trusted application code from authenticated request context. Never let a prompt choose them. If identity is missing, reject the request rather than falling back to a shared actor. This follows the official tutorial and prevents one malformed request from turning private memory into shared memory.

A practical layout looks like this:

InformationRecommended ownerScope
Current conversation and tool stateDatabricks session storeActor plus session
User preferences and conversation-derived factsDatabricks memory storeActor inside a tenant-safe store
Reviewed decisions, runbooks, architecture, approved researchReadable project wikiProject with explicit readers and writers
Source code and production configurationRepository and deployed systemExisting engineering controls

The last row remains authoritative. Memory should explain a deployment decision and link to evidence, not silently override the code or configuration that enforces it. The broader AI agent memory architecture guide develops this authority rule across working, episodic, semantic, procedural, and project memory.

Use a promotion contract between recall and project truth

Do not copy every extracted memory into a wiki. Promotion should be deliberate. A candidate belongs in shared project memory only when it is useful beyond one user or session, supported by a source, safe for the project's readers, and likely to matter after the current task ends.

For each promoted item, preserve five fields:

title: Stage deployment artifacts before stopping production
scope: payments-api
status: current
source: incident-2026-11-18 and deploy workflow
reviewed: 2026-12-01

Then write the current rule and rationale in the page body. The Databricks entry may keep a pointer to that page, but it should not maintain a second, independently editable version of the rule. If conversational recall and the page disagree, the reviewed project page wins until a person or trusted workflow changes it.

Meshnote provides this readable layer as Markdown wikis exposed over MCP. Agents can search, read, write, and inspect page history, while humans can browse and correct the same source. It complements Databricks managed recall rather than pretending to replace session state or high-volume extraction.

How the main approaches differ

ApproachStrongest fitTrade-off
Databricks Agent MemoryLakehouse teams needing managed sessions, durable recall, pipelines, and workspace governanceStore-level security and beta limits require careful tenancy design
Mem0Extracted user or agent facts with broad framework integrationsAutomatic extraction still needs correction, provenance, and deletion policy
Zep / GraphitiTemporal relationships and point-in-time contextGraph extraction adds operational and interpretation complexity
LettaLong-lived stateful agents that manage memory as part of their runtimeKnowledge is more closely coupled to the agent runtime
Native ChatGPT or Claude memoryPersonal continuity inside one productConvenient, but not a shared project system across arbitrary agents
Readable Markdown over MCPReviewed decisions, runbooks, and cross-agent project knowledgeDeliberate curation is less automatic than extraction-first memory

A robust system can use more than one. The Vertex AI Memory Bank guide applies a similar boundary to Google's managed recall, while the Bedrock AgentCore Memory guide covers AWS event and strategy scopes.

A six-case Databricks memory production drill

Run this in a disposable tenant before production. Record exact store IDs, actor IDs, paths, and expected results.

  1. Persistence: save a harmless preference, end the session, start another session for the same actor, and confirm memory search returns it.
  2. Tenant isolation: repeat the query through a principal attached to a different tenant store. It must not reach the first store, even if it guesses the actor ID.
  3. Correction: replace a preference, run the pipeline, and verify retrieval presents the correction as current without returning the old statement as equally valid.
  4. Provenance: promote one shared decision into a readable page with source and review date. Confirm the agent can identify the page rather than citing only an extracted sentence.
  5. Deletion propagation: delete the source session and verify the distilled memory remains, as documented. Then delete the memory explicitly and confirm list and search no longer return it.
  6. Pipeline and provider exit: let a pipeline consolidate overlapping entries, export the useful knowledge, and reconstruct current policy without running Databricks or the original agent.

The sixth case catches two failures at once: automated maintenance may rewrite records you expected to remain stable, and durable data may still be hard to understand outside its provider. Keep raw conversation evidence where required, but maintain shared truth in a form that survives the retrieval system.

Recommended architecture

  1. Use session stores for conversation continuity and framework state.
  2. Use one or more memory stores for scoped conversational facts. Choose stores by real authorization boundaries.
  3. Use pipelines for extraction and consolidation only after testing corrections and deletion.
  4. Promote reviewed cross-session decisions into a readable project wiki.
  5. Keep repository code, tests, and deployed configuration authoritative.
  6. Test restart, isolation, correction, provenance, deletion, and exit before launch.

Databricks Agent Memory is a strong managed option when your application already lives in that ecosystem. The important decision is not whether managed recall or readable files win. It is which facts each layer may own.

If your agents need shared project truth they can read, edit, and carry across tools, Start syncing - $8/mo. Teams can also choose Self-hosted for teams from $10/seat/month.

Related Reading

Your agent's memory should be files you can read and own

Meshnote is readable, self-hosted memory for AI agents — markdown wikis your agents maintain over MCP. Hosted from $8/month.

Start syncing — $8/mo

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.