A Beta feature that keeps the state of a single interaction in Lakebase, typically the chat history or a framework's state like a LangGraph graph. For anything that should persist beyond one conversation, Agent memory is the right place.
Read more: Databricks docs
In the Ultra Transcenders books
Each book explains Agent sessions in context, with comparison tables and the common traps.
Terms in this definition
- State
A parameter in OAuth that carries custom data through the authorisation flow and back, as with the "Support state parameter" option in APIM.
- Lakebase
Databricks' built-in Postgres service, run entirely for you and intended for transactional applications. Agents may keep their state there too, but managing your own agent memory in it counts as legacy.
- LIKE
Compares strings with a pattern that can contain the % and _ wildcards. Because it only understands character patterns, searching big volumes of text this way is much slower than using full-text search.
- LangGraph
Build tool-calling loops, or apps where an LLM works with state and multiple actors, using this open-source library. A ready-made template comes with the Agent Bricks CLI.
- Agent memory
The past conversation and knowledge an AI agent draws from it, such as summaries, facts and user profiles, saved so the agent keeps context from one turn or session to the next. Azure Cosmos DB and Azure Managed Redis are common places to keep it.
Related terms
- Agent memory
A Beta feature, managed by Databricks and backed by Lakebase, that lets an agent remember facts, preferences and decisions from one conversation to the next. Anything needed only within a single interaction goes in Agent sessions.
- Git worktree
An extra folder linked to one repository, letting you keep several branches checked out, or run agent sessions side by side, with no stashing and no second clone. Git calls the original clone the main worktree; extra ones are linked worktrees.
- GitHub Copilot app
Copilot as an application installed on your computer, running agent sessions there or in a sandbox (local or cloud). Sessions can run side by side, each isolated on its own worktree and branch.