Architecture, Mosaic AI, Agent Framework and Agent Bricks
A map of the platform's agent services, the names that changed in 2026 and a way to choose where to start.
Databricks documents two broad ways in. Developers who write agent code use Agent Bricks, which now covers what was called the Agent Framework, and run that code on Databricks Apps. Teams that want question answering over governed data without writing code configure Genie Agents. Both rely on the same foundations: Unity Catalog for permissions, Unity Gateway for model and tool traffic and MLflow for traces and evaluation.
What you will learn: the layers of an agent solution on the platform, current and former product names, the build paths and their trade-offs, how a deployed agent is put together, which tools it can reuse and how to review a design before building.
Prerequisites: agent anatomy and data and AI platforms.
The example runs in November 2026 with Python 3.13 and only the standard library. Its decision rules are invented for teaching and are not a Databricks tool. Product facts come from Databricks documentation and announcements, checked on November 28, 2026. Names, release status, regions and prices change often, so confirm them for your cloud. OneSmartClick is independent of Databricks.
Why build agents on a data platform
An agent is only as useful as the information and actions it can reach, and only as safe as the limits around them. In many organizations the trusted tables, documents, permissions and audit records already live on a data platform. Building the agent there can mean that it reads data without copying it elsewhere, inherits existing access rules and leaves records next to other operational logs.
That benefit is real only if the design uses those controls. An agent that connects with one broad account can ignore them as thoroughly as any external application. The platform also adds its own costs and dependencies. Compare it with the alternatives in the platform guide and managed versus custom before committing.
The layers of a solution
Read the map from the bottom when designing. Decide who may see what, and how you will know what happened, before choosing a model or a framework. Those two decisions are slow to change later, while a model or prompt can be swapped in an afternoon.
Names that changed
Tutorials, videos and code samples often use earlier names. According to Databricks product name changes, release notes and announcements, these mappings apply:
| Name you may find | Current name or status |
|---|---|
| Agent Framework | Agent Bricks Custom Agents (announced February 2026) |
| Mosaic AI Vector Search | Databricks AI Search |
| Mosaic AI Model Training | Databricks Model Training |
| AI Gateway, Mosaic AI Gateway | Unity Gateway, also written Unity AI Gateway |
| Genie Spaces | Genie Agents |
| Databricks Assistant | Genie Code |
| Databricks Asset Bundles | Declarative Automation Bundles |
Mosaic AI was the umbrella brand under which much of the machine learning and agent tooling appeared. Several features have since taken new names, while some documentation pages and APIs still use the older ones. When you search, try both. When you write internal documentation, record the current name and the former one together, so that a colleague reading old code can connect them.
What Agent Bricks means now
The current developer documentation calls Agent Bricks the platform for developing agents that power products and workflows. The name has widened over time: it first appeared with a narrower, more automated offering, and 2026 announcements describe a broader platform that supports many open-source frameworks and agent harnesses.
In practice, treat it as a collection of capabilities rather than one switch:
- A command-line tool that creates project templates, runs the agent locally and deploys it.
- Managed hosting for your agent server.
- Connections to models, search, data and tools under platform governance.
- Tracing and evaluation through MLflow.
- Optional services such as managed memory and an isolated sandbox for running code.
Some of these are generally available and others are in beta or preview. The managed agent memory service, for example, was announced as beta in June 2026. Check the status of each part you plan to depend on, because a design can be only as stable as its least stable component.
Offerings marked legacy
Fast change has a cost that architects should plan for. The Supervisor Agent, a configured multi-agent service announced as generally available in February 2026, is now described in its documentation as a legacy offering that is not recommended for new systems. The same page points new low-code work to Genie Agents, and multi-agent coordination in code to the Agent Bricks command-line tool. Separately, documentation states that the Supervisor API reached end of life on September 30, 2026. Deploying agents to Model Serving endpoints is also labeled legacy, with a documented path to move them to Databricks Apps.
Keep your business rules, tool definitions, evaluation cases and prompts in your own repository, in plain formats. If a managed layer is retired, you then replace the layer and keep the knowledge.
Choosing a build path
| Path | Suits | You manage | Watch for |
|---|---|---|---|
| Genie Agent | Questions over governed data by business users | Data scope, instructions, verified queries and tests | Less control over the internal logic |
| Custom agent on Databricks Apps | Products, multi-step work and actions | Code, tools, evaluation and releases | Engineering effort and ownership |
| AI steps inside data pipelines | Large volumes processed on a schedule | Prompts, schemas, quality checks | Cost per row and silent quality drift |
| External agent calling platform tools | Agents already running elsewhere | Authentication and network path | Two places to govern and observe |
Start with the least custom option that meets the need. A configured agent that answers questions correctly is a better result than a custom one that does the same with more code to maintain. Move to custom code when you need actions, your own control flow, unusual interfaces or tests that a configured product cannot express. A workflow without any agent is often better still, as when not to use agents explains.
How a deployed agent is put together
The deployment documentation separates three layers, and the distinction helps when something fails.
| Server choice | Documented use |
|---|---|
| DurableAgentServer | Recommended for new agents built with the Agent Bricks CLI |
| Earlier agent servers | Maintaining agents built from application templates |
| Your own server | Custom endpoints, request formats or protocols |
The documented workflow uses commands such as agentbricks init, agentbricks dev and agentbricks deploy, with project templates for LangGraph and the OpenAI Agents SDK. The deploy step is described as provisioning required resources, granting the agent access to them and publishing a stable, authenticated endpoint. Review those grants before you accept them in production. Deployment and delivery covers environments and release gates.
Frameworks and harnesses
A 2026 announcement says teams can bring many frameworks and agent harnesses, naming LangGraph, Agno, CrewAI and agent SDKs from model companies among them. Freedom of framework does not remove the work of choosing one. Prefer the one your team can debug at two in the morning, that produces traces you can read and that does not hide tool calls or retries. Choosing a framework gives a method.
Models
Agents can call models that Databricks hosts, models from external providers routed through the gateway and models you serve yourself. The choice affects data handling, region availability, price and capacity. Keep the model name in configuration, record it in every trace and rerun your evaluation set before switching. Hosted models are retired from time to time, so a pinned model name is a maintenance task with a date. See serving, gateway and cost.
Tools and reusable building blocks
Reuse matters more as the number of agents grows. Three kinds of reusable parts are worth planning:
| Part | What it is | Governance question |
|---|---|---|
| Catalog functions | SQL or Python functions registered in Unity Catalog and offered as tools | Who may execute them, and what do they read or change? |
| MCP services | Tool servers that expose search, data, Genie Agents, SQL or external systems | Which identity calls them, and which policies apply? |
| Skill files and templates | Written instructions, scripts and starter projects that coding agents or developers follow | Who reviews changes, and how are versions tracked? |
The platform documents managed MCP servers for AI Search, Genie, SQL and catalog functions, plus services such as web search and a code sandbox. Check which endpoints are previews. The protocol itself is explained in the MCP introduction, and design advice for tools is in tool schema design.
Treat skill files like code. They shape what a coding agent does with your workspace, so a careless or malicious change can have real effects. Keep them in version control, review them and avoid putting secrets in them.
Make the choice explicit
The program below writes down capability assumptions and effort, then picks the least demanding path that satisfies each need. It also prints why other paths were rejected.
"""Choose a starting build path from stated needs. Rules are illustrative.
"documents" means answering mainly from your own document index.
"""
PATHS = {
"genie_agent": {"custom_code": False, "structured": True, "documents": False,
"writes": False, "batch": False},
"custom_agent": {"custom_code": True, "structured": True, "documents": True,
"writes": True, "batch": False},
"batch_ai_job": {"custom_code": True, "structured": True, "documents": True,
"writes": True, "batch": True},
}
EFFORT = {"genie_agent": 1, "batch_ai_job": 2, "custom_agent": 3}
def choose(need):
"""Return (path or None, reasons each path was rejected)."""
rejected = {}
fits = []
for name, can in PATHS.items():
missing = [k for k in ("structured", "documents", "writes", "batch")
if need.get(k) and not can[k]]
if can["custom_code"] and not need.get("team_can_code"):
missing.append("team_can_code")
if name == "batch_ai_job" and need.get("interactive"):
missing.append("interactive")
if missing:
rejected[name] = missing
else:
fits.append(name)
best = min(fits, key=EFFORT.get) if fits else None
return best, rejected
CASES = {
"sales questions": {"structured": True, "interactive": True},
"ticket triage with updates": {"documents": True, "writes": True,
"interactive": True, "team_can_code": True},
"nightly invoice reading": {"documents": True, "batch": True,
"team_can_code": True},
"policy answers, no coders": {"documents": True, "interactive": True},
}
for title, need in CASES.items():
best, rejected = choose(need)
print(f"{title}: {best or 'no fit - change the plan'}")
for name, why in rejected.items():
print(f" not {name}: lacks {', '.join(why)}")
Output:
sales questions: genie_agent
not custom_agent: lacks team_can_code
not batch_ai_job: lacks team_can_code, interactive
ticket triage with updates: custom_agent
not genie_agent: lacks documents, writes
not batch_ai_job: lacks interactive
nightly invoice reading: batch_ai_job
not genie_agent: lacks documents, batch
not custom_agent: lacks batch
policy answers, no coders: no fit - change the plan
not genie_agent: lacks documents
not custom_agent: lacks team_can_code
not batch_ai_job: lacks team_can_code, interactive
The last case has no fit, which is a useful answer: either the need changes, someone who can code joins, or the team checks whether a configured option has gained the missing capability. Genie documentation, for instance, now describes connecting external documents and tools through MCP connectors in agent mode, so a rule written months earlier can be wrong. Date your capability table and review it before each major decision.
Identity is an architecture decision
Every request reaches data as some identity. A deployed agent can act as its own service principal, or, where enabled, on behalf of the person asking. The first is simpler and gives every user the same reach. The second respects individual permissions but adds consent, scopes and more ways to fail. Mixed designs are common: shared reference material under the application identity, personal or sensitive records under the user's identity. Decide per tool and write it down. Unity Catalog governance explains the permissions.
State, memory and long tasks
Separate three kinds of state. The conversation and run state let a task resume after a failure. Long-term memory keeps preferences or facts across conversations. Business records are the actual systems of truth. Mixing them causes trouble: a memory store that quietly becomes the record of an order will disagree with the order system sooner or later. Give each kind an owner, a retention rule and a deletion path. See agent data services and memory policies.
One agent or several
Add agents only when separate permissions, owners, tools or evaluation sets justify them. With the configured supervisor now marked legacy, new coordination is something you write, which makes the routing rules testable. That is an advantage if you actually test them. Reference designs and projects shows a small supervisor with routing tests, and single versus multi-agent gives the decision criteria.
A reference design for a first production agent
- Curated tables and a search index in a dedicated catalog schema, with named owners.
- Read-only catalog functions for the few lookups the task needs.
- Models reached through gateway services with rate limits, tags and budgets.
- Agent code in a repository, deployed to Databricks Apps by an automated pipeline.
- A dedicated service principal with the smallest grants that work.
- Traces to an MLflow experiment, a reviewed evaluation set and sampled production scoring.
- Any write action behind a separate tool with human approval.
- A switch that disables the agent or a tool without a code release.
This is a starting point rather than an official Databricks reference. Remove parts you do not need and justify the ones you add.
Network, region and data boundaries
Ask where prompts, retrieved text, logs and traces are processed and stored. Model availability differs by region, some features rely on providers outside the platform, and preview features can carry different terms. Record the answers for the exact endpoints you use. Regulated organizations should confirm them with their privacy, security and legal teams; this page is general information.
Design review questions
| Question | A good answer includes |
|---|---|
| Which parts are preview or beta? | A list with fallbacks and review dates |
| Whose identity reads each source? | A table per tool, tested with real users |
| What can the agent change? | Named actions, limits and approvals |
| How is quality measured? | A test set, thresholds and an owner |
| What does a request cost? | An estimate by component and a budget |
| What if a feature is retired? | Portable logic and a migration owner |
Keeping up with change
Assign someone to read release notes on a schedule, and keep an inventory of the platform features each agent uses. When a change is announced, the inventory tells you which agents are affected. Before migrating, freeze the evaluation set, run it on the old system, migrate, run it again and compare traces for important cases. Retire the old path only after real traffic behaves as expected. Agent inventory and release gates describes the record to keep.
Common mistakes
| Mistake | Consequence | Instead |
|---|---|---|
| Following an old tutorial | Building on a legacy path | Check status in current documentation |
| Custom code for a question-answering need | Maintenance without benefit | Try the configured path first |
| One powerful identity for everything | Existing permissions are bypassed | Least privilege per agent and tool |
| Logic trapped in a managed screen | Painful migration | Keep definitions and tests in a repository |
| Adding agents to look advanced | Cost, delay and unclear errors | Start with one |
Checklist
- The need cannot be met more simply without an agent.
- The build path is chosen for stated reasons, with a review date.
- Release status is recorded for every feature used.
- Identity and grants are decided per tool.
- Model names and versions are configuration and appear in traces.
- State, memory and business records are kept separate.
- Tests and definitions can move if a service changes.
Frequently asked questions
Is Mosaic AI gone?
Several features sold under that brand have new names. You will still meet the older wording in some pages, APIs and tutorials, so check the current product name changes list.
Do I need Databricks Apps for every agent?
It is the documented runtime for new custom agents on the platform. Agents hosted elsewhere can still call platform tools and models if authentication and network rules allow it.
Can I move an agent off the platform later?
Logic written in open frameworks can move, but identity, search, tracing and tool connections need replacements. Estimate that work before you depend on them.
Which path should a beginner try?
Configure a small Genie Agent over sample tables and read the SQL it produces. Then build a small custom agent so that you see tools, traces and permissions yourself.
References
- Databricks: what is Agent Bricks?
- Databricks: deploy agents
- Databricks: custom agents announcement, February 2026
- Databricks: Supervisor Agent (legacy)
- Databricks: renamed and deprecated product names
Where to go next
Genie, Genie Agents and Genie MCP
Try the configured path over your tables.
Unity Catalog Governance and Security
Plan permissions before building.
Deployment, CI/CD and Troubleshooting
Ship changes safely.