Skip to main content

AI and ML

AI agents and ML models both need fast reads and writes against small amounts of data at request time. Agents read and write conversation state on every turn. Models look up the latest feature values for each prediction. Lakebase handles both workloads as a managed Postgres backend. It scales with request traffic, scales to zero when idle, and uses Unity Catalog for governance and Databricks authentication.

    • Agent state and memory
    • Persist short-term and long-term memory for agents built with LangGraph or the OpenAI Agents SDK, deployed on Databricks Apps or Model Serving.

Find the right starting point​

Goal

Start here

Decide between short-term and long-term agent memory

Agent state and memory

Add memory to an agent on Databricks Apps

Agent memory

Add checkpointed memory to an agent on Model Serving, with the ability to resume or fork a conversation

Agent memory (Model Serving)

Look up feature values for a model at inference time

Feature Store and Model Serving

Serve feature values to an application without a model

Serve feature tables

Retrieve relevant documents for an agent with vector and keyword search

Lakebase Search

Goal

Start here

Decide between short-term and long-term agent memory

Agent state and memory

Add memory to an agent on Databricks Apps

Agent memory

Add checkpointed memory to an agent on Model Serving, with the ability to resume or fork a conversation

Agent memory (Model Serving)

Look up feature values for a model at inference time

Feature Store and Model Serving

Serve feature values to an application without a model

Serve feature tables

Retrieve relevant documents for an agent with vector and keyword search

Lakebase Search

Additional resources​