How We Built Agent Mode for Genie
Overview
| Experience | In Person |
|---|---|
| Track | Analytics & BI |
| Industry | Enterprise Technology |
| Technologies | Genie |
| Skill Level | Advanced |
| DOWNLOAD SESSION SLIDES | |
Agentic analytics promises to go beyond answering questions enabling AI to investigate, reason, and synthesize insights across complex data. But building systems that do this reliably is far from simple.
Genie Agent Mode introduces a new approach to conversational analytics, where AI can explore multiple hypotheses, interact with data iteratively, and generate structured explanations. Under the hood, this requires careful orchestration of planning, validation, and context management to ensure results are both accurate and trustworthy.
In this session, we’ll go behind the scenes to explore how Genie Agent Mode works and what it takes to make agentic analytics production-ready:
- How Genie Agent Mode plans and executes multi-step analytical workflows
- How the system maintains context and evaluates intermediate results
- How accuracy and reliability are enforced through validation and safeguards
- Key lessons learned building agentic systems for real-world data use cases
Session Speakers
Alan Lee
/Software Engineer
Databricks
Ryan Ziegler
/Software Engineer
Databricks
Full Summary
Lessons from building Genie: Why one smart agent beats a team of specialists
Databricks set out to build a conversational data agent and learned that a single, capable agent with a few sharp tools outperforms a supervisor coordinating many sub-agents.
FAQ
Only when tasks are truly independent and do not need to share evolving context. The default is a single agent with composable tools, and sub-agents are reserved for cleanly separable steps where coordination overhead is justified.
Tools are deterministic, fast, and take structured inputs to perform one action. Sub-agents rely on an LLM, accept unstructured inputs, are slower, and compose multiple actions. Tools are cheaper and more predictable, which made them the right primitive for Genie.
The checklist is drafted early but remains flexible. The agent completes or cancels tasks as data arrives and adds new ones when it finds patterns, so planning informs the work without constraining the path.
Explicit definitions let non-technical users confirm the agent's interpretation before trusting results. They also give the model a concrete spec for SQL generation, which reduces drift and inconsistency across long analyses.
Useful errors are specific and prescriptive, naming the failure and suggesting a next step, such as reducing row counts or changing a join. Vague failures force guessing, while actionable feedback enables self-repair without bloating the system prompt.