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:
- Imports the Databricks agents library.
- Initializes the agent memory manager.
- 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.
- agent memory
- agent sessions
- generative ai
- lakebase
- mosaic ai
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
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis