Databricks Genie Agents(データベースごとに調整された自然言語エージェント、旧称Genie Spaces)を作成・管理・検索できます。エージェントの構築、エクスポート/インポート、ワークスペース間での移行、および特定のエージェントへの質問(Conversation APIを通じて)が可能です。 一般的なデータに関する質問やワークスペース全体からのデータ検索については、databricks-data-discovery(Genie One)をご使用ください。
Create, manage, and query Databricks Genie Agents — curated, per-data natural-language agents (formerly Genie Spaces): build, export/import, migrate across workspaces, and ask questions of a *specific* Agent via the Conversation API. For general data questions or finding data across your workspace, use databricks-data-discovery (Genie One) instead.
Genie Agents(かつてはGenie Spacesと呼ばれていた自然言語インターフェース)を作成、管理、クエリして、SQLベースのデータ探索を行います。
Genie Agentsは、Unity Catalogに保存された構造化データについて、ユーザーが自然な言葉で質問できるシステムです。質問を自動的にSQLクエリに変換し、SQLウェアハウスで実行して、結果を会話形式で表示します。
Genie Agentは、特定のデータに限定された管理されたエージェントです。テーブル、サンプル質問、指示は特定のビジネス領域向けに作成されます。これはGenie One(一般的な「Geniに聞く」データ探索機能、databricks-data-discoveryスキルを参照)とは異なり、Genie Oneはデータ全体について質問に答えます。
| フェーズ | 参考資料 | 読み込むタイミング | 典型的なコマンド |
|---|---|---|---|
| 設計と作成 | create-genie-agent.md | 作成または更新する前に必ず読む。 要件の整理、データの確認、画面設計、承認取得を行ってからコマンド実行 | discover-schema → create-space / update-space |
| クエリと検証 | query-genie-agent.md | Conversation APIまたはAgent mode APIでクエリ実行、またはMetric View源のSQL作成 | start-conversation / get-message |
| 診断 | diagnose-genie-agent.md | エージェントが誤った結果を返す、または結果が出ない場合 — スペースID、失敗した質問、実際の動作を最初に収集 | get-space --include-serialized-space; system.query.history |
| 最適化 | optimize-genie-agent.md | ベンチマーク(基準値)に基づいた品質改善 — スペースID、最適化目標、目標値を最初に収集 | genie-create-eval-run; update-space |
| エクスポートと移行 | genie-agent-cicd.md | エクスポート、インポート、ワークスペース間の移行、一括移行、DABs/CI-CD | get-space → 再マッピング → create-space |
| — | serialized-space.md | serialized_spaceペイロードの構築またはデバッグ — フィールドスキーマ、制約、Pythonヘルパー |
— |
| — | uc-persistence.md | 複数回の最適化履歴を保存するUnity CatalogのDeltaテーブル設定 — CREATE TABLE DDLのみ | — |
典型的な流れ: 作成 → クエリと検証 → 診断 → 最適化
MEASURE()クエリルールについてはquery-patterns.mdを参照Create, manage, and query Genie Agents (formerly Genie Spaces) - natural language interfaces for SQL-based data exploration.
Genie Agents allow users to ask natural language questions about structured data in Unity Catalog. The system translates questions into SQL queries, executes them on a SQL warehouse, and presents results conversationally.
A Genie Agent is a curated agent scoped to specific data — its tables, sample questions, and instructions are authored for a particular business area. This is distinct from Genie One / the general "ask Genie" data-discovery path (see the databricks-data-discovery skill), which answers questions across your data without a curated, per-scope agent.
| Phase | Reference | Load when | Typical CLI |
|---|---|---|---|
| Design + Create | create-genie-agent.md | Always load before creating or updating. Gather requirements, profile data, design surfaces, get approval — before any CLI | discover-schema → create-space / update-space |
| Query / validate | query-genie-agent.md | Querying via Conversation API or Agent mode API; authoring SQL for Metric View sources | start-conversation / get-message |
| Diagnose | diagnose-genie-agent.md | Agent gives wrong/empty answers — gather space ID + failing question + observed behavior first | get-space --include-serialized-space; system.query.history |
| Optimize | optimize-genie-agent.md | Benchmark-driven quality tuning — gather space ID + optimization goal + benchmark target first | genie-create-eval-run; update-space |
| Export / migrate | genie-agent-cicd.md | Export, import, cross-workspace migration, batch migration, DABs/CI-CD | get-space → remap → create-space |
| — | serialized-space.md | Constructing or debugging serialized_space payloads — field schemas, constraints, Python helper |
— |
| — | uc-persistence.md | Setting up UC Delta tables for multi-pass optimization history — CREATE TABLE DDL only | — |
Typical flow: create → query/validate → diagnose → optimize.
MEASURE() query rules Genie must follow.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。