QuestionQ17

VerifiedMemory Architecture with Lakebase and MLflow

A context engineer maintains a Databricks-based assistant for a fraud investigation team. Each investigation is a long-running thread that the team works on across many sessions over weeks or months. Investigations are typically handled by two or three analysts who rotate in and out as new evidence arrives, and any one analyst is usually working several open investigations at the same time. The assistant runs on Agent Bricks Custom Agents with a single retrieval tool over a Databricks AI Search index of the team’s case file corpus (incident reports, suspect dossiers, transaction logs, exhibits), synced nightly from the source Delta tables that the case management system writes to. The retrieval tool is called with num_results=50. The system has been in production for nine months.

The team begins reporting that the assistant treats every new session as a cold start. The most recent example: on Friday, analyst A and the assistant work together on an active investigation. By the end of the session, they have eliminated two suspects on alibi evidence, confirmed a third as the likely actor, and identified two specific accounts as the transfer pathway for the funds in question. On Monday, analyst B opens the assistant against the same investigation to draft the next subpoena request. The assistant responds by asking who the suspect is, what the eliminations were, and which accounts are in scope. The engineer reproduces the pattern across other investigations: within a single session, the assistant reasons well; the next session, regardless of which analyst opens it, starts cold.

What change should the engineer make to address this pattern?

Explanation

Case-scoped persistent memory preserves session conclusions under the investigation’s case_id, making them available to any authorized analyst who resumes that case. Loading structured conclusions at session start supplies the eliminated suspects, confirmed actor, and relevant accounts across sessions. Analyst-scoped history would not reliably follow a case between analysts, while broader retrieval or faster index synchronization cannot ensure that conclusions from conversations are stored in the source corpus. (docs.databricks.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!