flowx
Orchestrator-to-Databricks Lakeflow Jobs translator, delivered as agent skills.
flowx converts a source orchestrator's pipelines — Azure Data Factory (ADF) or Apache
Airflow — into Databricks Lakeflow Jobs packaged as Declarative Automation Bundles (DABs). It
deterministically translates known activity/operator types and falls back to agentic (LLM-assisted)
translation for complex or rare types. flowx runs as a set of agent skills usable from
Databricks Genie Code, Claude Code, or any tool that supports the Agent Skills standard.
Both sources emit the same source-neutral Pipeline IR, so the convert-configuration and package
phases are shared; only discovery and translation are source-specific. Pick the source with
--source {adf,airflow} (required for discover/convert; package is source-independent).
Architecture
flowx Pipeline
==================
ADF ARM/JSON (UC Volumes / Workspace) | Airflow DAG .py files
\ | /
v v v
+---------------------------------------------------------------+
| 1. DISCOVER sources/<adf|airflow>/ -> metadata/inventory.json
| (ADF: ARM/JSON parse; Airflow: static ast parse)
+---------------------------------------------------------------+
|
v
+---------------------------------------------------------------+
| 2. CONVERT sources/<adf|airflow>/ -> shared Pipeline IR
| (deterministic mappings + agentic gaps)
+---------------------------------------------------------------+
|
v
+---------------------------------------------------------------+
| 3. PACKAGE bundler/dab_writer.py (source-independent)
| IR -> DAB YAML + notebooks + setup scripts
+---------------------------------------------------------------+
|
v
databricks bundle validate / deploy
The phases are exposed two ways: as skills the agent runs directly (via a Python virtual
environment locally), and as a single MCP tool hosted on a Databricks App (for Genie Code). See
Running flowx as an MCP server.
Installation
flowx installs in one of two shapes depending on where your agent runs. Full, step-by-step
instructions for both are in the installation docs; the
summary:
Databricks Genie Code
The phases run as an MCP server (a Databricks App). Clone the repo into /Workspace/Shared
(so the app's service principal can read the source), copy skills/ into your skills folder, then
run the setup skill:
@flowx-setup
On Databricks, flowx-setup deploys the mcp-flowx app for you. You can also deploy it directly by
running the app/deploy_app.py notebook (SDK-based, works on serverless), or app/deploy.sh
from a workspace web terminal. Then add the app under Genie Code Settings → MCP Servers → Add
Server → Custom MCP server.
Claude Code (and other local agent harnesses)
flowx is a Claude Code plugin distributed through its marketplace:
/plugin marketplace add databricks-solutions/flowx
/plugin install flowx@flowx
Run /reload-plugins, then set up the local runtime once:
/flowx:flowx-setup
This provisions a Python virtual environment (via scripts/bootstrap.sh) and writes a
.migration-venv marker the phase skills read. No uv is required for plugin users.
Usage
Run the end-to-end migration:
/flowx:flowx-migrate
Or run individual phases:
/flowx:flowx-extract-metadata # (ADF) Get the factory's definitions: ADF Studio export, Git, or live Azure API
/flowx:flowx-discover # Parse the source (ADF JSON / Airflow DAGs), produce inventory + complexity report
/flowx:flowx-enrich # Validate and record agent-authored insights on the inventory
/flowx:flowx-convert # Deterministic + agentic translation
/flowx:flowx-package # Generate DABs project
/flowx:flowx-profile # (ADF, optional) Estimate current ADF spend from a live Azure scan
(In Genie Code, invoke the same skills with the @ prefix, e.g. @flowx-migrate.)
Setup
/flowx:flowx-setup keys off the DATABRICKS_RUNTIME_VERSION environment variable
(the same signal the rest of the plugin uses to detect Databricks) and prepares one
of two execution paths:
- Local / Claude Code (virtual environment). The phases run from the plugin's
CLI. Setup runs
scripts/bootstrap.sh, which creates a .venv, installs
requirements.txt, and writes the resolved interpreter path to a
.migration-venv marker file that the phase skills read. Optionally, a local
(stdio) MCP server can be registered to drive the phases through MCP tools
instead of the CLI.