Mosaic AI Agent Framework and Agent Bricks for the Databricks GenAI Engineer Exam
Databricks GenAI Engineer · Concept Explained

Mosaic AI Agent Framework and Agent Bricks for the Databricks GenAI Engineer exam

The Mosaic AI Agent Framework is the code path for agents on Databricks: author the agent in any framework, wrap it in MLflow's ResponsesAgent interface, trace it and deploy it to Model Serving. Agent Bricks is the no-code path: Knowledge Assistant, Multiagent Supervisor and Information Extraction. The Databricks Generative AI Engineer Associate exam tests both, and when to pick which.

Last updated October 2026.

What the Mosaic AI Agent Framework is

You build the loop in LangGraph, the OpenAI SDK or plain Python, then subclass MLflow's ResponsesAgent and call your agent inside its predict method. That one wrapper gives the agent a standard request and response contract and an inferred signature, which AI Playground, mlflow.genai.evaluate() and Agent Monitoring are all built against (Chapter 25).

The exam names four more pieces:

What Agent Bricks is, and its three products

Agent Bricks are prebuilt, declarative agents: you configure a use case with data, instructions and examples through a UI, and Databricks builds, auto-tunes and evaluates the agent behind it with LLM judges and the feedback you provide. The result is a governed endpoint with MLflow Tracing. The guide names three, and each solves one problem shape (Chapter 7).

Framework or brick: the decision the exam keeps asking

The objective reads "determine how and when to use Agent Bricks", and knowing when not to is half of it. Reach for a brick when the problem matches one of the three shapes: you trade code-level control for speed, built-in evaluation and auto-optimization. Drop to the Agent Framework when you need custom orchestration logic, unusual output contracts, or a framework your team already owns. The two also mix: a Multiagent Supervisor can route to a custom Agent Framework endpoint alongside its bricks.

 Mosaic AI Agent FrameworkAgent Bricks
You supplyAgent code in any framework, wrapped in ResponsesAgentData, instructions and examples through a UI
OrchestrationYours: tools, routing and prompts in codeDatabricks builds and auto-tunes it
Evaluationmlflow.genai.evaluate() with judges and custom Scorers over tracesBuilt in, with LLM judges plus your SME feedback
DeploymentRegister to Models in Unity Catalog, then agents.deploy()An endpoint, created for you
Reach for it whenCustom logic, unusual output contracts, an existing frameworkThe problem is Q&A over documents, routing across specialists, or documents to columns

Comparison as taught in Chapters 7 and 25 of the Certified course, from the official exam guide's objectives and the Databricks documentation.

Where Genie Spaces and MCP servers fit

When a question is about what your numbers say rather than your documents, the agent needs a tables specialist, and on Databricks that is a Genie Space: a curated natural-language interface over selected Unity Catalog tables. Code reaches it through the asynchronous Conversation API (start a conversation, poll to COMPLETED, read the rows), wrapped as a GenieAgent subagent inside an Agent Framework agent, or with no code as a Genie Space specialist behind the Multiagent Supervisor. Unity Catalog still executes the SQL, so the agent's reach ends where its table permissions end (Chapter 26).

MCP servers are how agents reach tools over the Model Context Protocol, and the guide names three kinds. Managed servers are hosted by Databricks and already expose Unity Catalog functions, Vector Search, Genie and SQL, so they come first. Custom servers are yours, typically hosted as a Databricks App, for proprietary logic nothing managed covers. External servers are third-party services reached through governed OAuth. One of the guide's two select-two sample questions lives here (Chapter 39).

How the exam tests it

Agents run through four of the six sections. Section 1 (Design Applications) asks you to define and order tools for multi-stage reasoning and to determine when to use Agent Bricks. Section 3 (Application Development) has "utilize MLflow and Agent Framework for developing agentic systems" and "enable multi-agent systems to leverage Genie Spaces or the conversational API". Section 4 (Assembling and Deploying Applications) adds integrating managed, external and custom MCP servers, testing individual components of an agent in CI/CD (Chapter 41), and building a user-facing interface in Databricks Apps, Slack or Teams, where the app backend calls the endpoint and a token never sits in browser JavaScript (Chapter 42).

Section 6 (Evaluation and Monitoring) closes the loop: evaluate agent performance with MLflow scoring and tracing, use custom Scorers, use inference tables and Agent Monitoring on a live endpoint, and use AI Gateway to track an agent deployed through the Agent Framework. That is a dozen of the 56 objectives, so the framework-versus-brick judgment is worth getting right.

FAQ

What is the Mosaic AI Agent Framework?

The Mosaic AI Agent Framework is the Databricks path for building agents in code. You author the agent in any framework, wrap it in MLflow's ResponsesAgent interface, trace it with MLflow Tracing, evaluate it with mlflow.genai.evaluate(), register it to Models in Unity Catalog and deploy it to Model Serving with agents.deploy().

What are the three Agent Bricks?

Knowledge Assistant, Multiagent Supervisor and Information Extraction. Knowledge Assistant answers questions over your documents with citations, Multiagent Supervisor routes one request across specialist agents and composes a single answer, and Information Extraction turns a corpus of documents into a structured Delta table from a schema you describe.

When should I use Agent Bricks instead of the Agent Framework?

Use an Agent Brick when the problem matches one of its three shapes: question answering over documents, routing across specialists, or documents to columns. Drop to the Agent Framework when you need custom orchestration logic, an unusual output contract or a framework your team already uses, and remember a Multiagent Supervisor can route to a custom agent endpoint too.

How do Genie Spaces fit into a multi-agent system on Databricks?

A Genie Space is the structured-data specialist: a curated natural-language interface over selected Unity Catalog tables. An Agent Framework agent reaches it through the Conversation API as a GenieAgent subagent, and a Multiagent Supervisor can add a Genie Space as a specialist with no code, so one front door answers both document and table questions.

What are managed, custom and external MCP servers on Databricks?

Managed MCP servers are hosted by Databricks and expose Unity Catalog functions, Vector Search, Genie and SQL with no server to run. Custom servers are ones you build and host, typically as a Databricks App, for proprietary logic. External servers are third-party services that speak MCP, reached through governed OAuth, and all three are governed through Unity Catalog.

Work the agent chapters with exam-style scenarios

Chapter 7 (Agent Bricks) sits in the free Unit 1 of Certified's Generative AI Engineer Associate course, and Chapters 25, 26, 39 and 50 carry the Agent Framework, Genie Spaces, MCP servers and agent evaluation. Units 1 and 2 are free to start.

Open Chapter 7 →