Skip to content
Lucas Lessa
Voltar para as notícias
DatabricksBetaImpacto: Alto

Managed agent memory and sessions in Databricks

Databricks now provides managed long-term memory and conversation history for AI agents, featuring semantic search and Lakebase backing.

O que mudou

Use cases

Imagine you are building an AI assistant that needs to remember user preferences across different conversations and keep a durable history of interactions. You can use this feature to:

  • Store persistent long-term memory with semantic search.
  • Keep durable conversation session history.
  • Integrate with agents built on any framework.

How to use

import os
from databricks_agents import AgentMemory

memory = AgentMemory()
memory.add_memory(
    agent_id="my-agent",
    user_id="user-123",
    content="The user prefers short answers in Portuguese."
)

What happens in this code:

  1. Imports the Databricks agents library.
  2. Initializes the agent memory manager.
  3. Adds a durable fact associated with the user for future semantic search.

Limitations and requirements

  • The feature is in Beta.
  • Backed by managed Lakebase (Postgres) storage.
  • Compatible with agents built on any framework.
Ver nota oficial do Databricks

Managed agent memory and sessions are in Beta

Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.

Relacionadas