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.

BeginnerIntermediateExpert · 14 min read · Last updated:

In short

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.

Versions used

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.

Beginner The big picture

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

People and applicationsChat apps, Genie and APIs
AgentsCustom code or configured Genie Agents
Unity GatewayRoutes and limits model and MCP traffic
Data, models and toolsTables, AI Search, Lakebase, functions
Unity Catalog and MLflowPermissions, lineage, traces and evaluation
A teaching map. The governance and observability layer applies to every layer above it.

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 findCurrent name or status
Agent FrameworkAgent Bricks Custom Agents (announced February 2026)
Mosaic AI Vector SearchDatabricks AI Search
Mosaic AI Model TrainingDatabricks Model Training
AI Gateway, Mosaic AI GatewayUnity Gateway, also written Unity AI Gateway
Genie SpacesGenie Agents
Databricks AssistantGenie Code
Databricks Asset BundlesDeclarative 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.

Design for replacement

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.

Intermediate Build paths and runtime

Choosing a build path

PathSuitsYou manageWatch for
Genie AgentQuestions over governed data by business usersData scope, instructions, verified queries and testsLess control over the internal logic
Custom agent on Databricks AppsProducts, multi-step work and actionsCode, tools, evaluation and releasesEngineering effort and ownership
AI steps inside data pipelinesLarge volumes processed on a schedulePrompts, schemas, quality checksCost per row and silent quality drift
External agent calling platform toolsAgents already running elsewhereAuthentication and network pathTwo 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.

FrameworkYour agent logic, for example LangGraph or an agent SDK
ServerReceives requests and manages runs
RuntimeManaged compute on Databricks Apps
Change one layer at a time and you can tell which one caused a difference.
Server choiceDocumented use
DurableAgentServerRecommended for new agents built with the Agent Bricks CLI
Earlier agent serversMaintaining agents built from application templates
Your own serverCustom 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:

PartWhat it isGovernance question
Catalog functionsSQL or Python functions registered in Unity Catalog and offered as toolsWho may execute them, and what do they read or change?
MCP servicesTool servers that expose search, data, Genie Agents, SQL or external systemsWhich identity calls them, and which policies apply?
Skill files and templatesWritten instructions, scripts and starter projects that coding agents or developers followWho 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.

Expert Reference choices and review

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

  1. Curated tables and a search index in a dedicated catalog schema, with named owners.
  2. Read-only catalog functions for the few lookups the task needs.
  3. Models reached through gateway services with rate limits, tags and budgets.
  4. Agent code in a repository, deployed to Databricks Apps by an automated pipeline.
  5. A dedicated service principal with the smallest grants that work.
  6. Traces to an MLflow experiment, a reviewed evaluation set and sampled production scoring.
  7. Any write action behind a separate tool with human approval.
  8. 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

QuestionA 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

MistakeConsequenceInstead
Following an old tutorialBuilding on a legacy pathCheck status in current documentation
Custom code for a question-answering needMaintenance without benefitTry the configured path first
One powerful identity for everythingExisting permissions are bypassedLeast privilege per agent and tool
Logic trapped in a managed screenPainful migrationKeep definitions and tests in a repository
Adding agents to look advancedCost, delay and unclear errorsStart 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

Where to go next