Skip to main content

Less than three weeks before Data Outpost. Get your ticket before they sell out.Join AI and Data builders Nov 4-5 in SF

Introducing Flights: Agent-Native Data Pipelines in MotherDuck

Jun 17, 2026Featuring: ,

What is MotherDuck Flights?

Flights is MotherDuck's built-in Python runtime for data pipelines. You write Python code, it runs inside MotherDuck on a schedule, and the output lands directly in your databases. It works with AI agents through the MCP server — you describe the pipeline you want, and an agent like Claude or Cursor writes and deploys it. Any pip-installable package works in a Flight: DLT, pandas, API clients, whatever you need.

Three ways to create a Flight

MCP server — this is the primary interface. Point Claude, Cursor, or any MCP-compatible agent at the MotherDuck MCP server and describe what you want. The agent writes the Python, creates the Flight, and schedules it.

SQL table functions — call md_run_flight() from any SQL interface to trigger a Flight directly. Useful for chaining Flights together or triggering them from dbt and other SQL-based orchestrators.

MotherDuck UI — a lightweight interface for creating and monitoring Flights without touching code.

From prompt to scheduled pipeline

The webinar demo shows the full path in one session: Doo types a prompt asking for an ingest pipeline from a public API, the agent writes the Python using DLT, creates the Flight, and schedules it on a recurring cadence. The data lands in MotherDuck, and a Dive dashboard gets built on top of it — all without leaving the chat.

The cookbook has ready-to-use prompts for common ingest patterns you can replicate with your own sources.

What else can you do with Flights?

Beyond ingestion, Flights handles a few other categories of work:

  • Enrichment — call an LLM mid-pipeline to classify, tag, or summarize records
  • Orchestration — use md_run_flight() in SQL to build DAGs that chain multiple Flights
  • Automation — send Slack notifications, write to external systems, trigger any process that has a Python library
  • AI workloads — the demo included image processing via Modal, showing that Flights can coordinate with GPU-backed infrastructure through pip-installable SDKs

Availability

Flights is on Business and Enterprise plans and available to anyone on a trial. Static IP support for firewall whitelisting is not yet available. Private Python libraries can be included by referencing them in your requirements file or packaging them alongside your scripts.

FAQS

Flights is MotherDuck's built-in Python runtime for data pipelines. You write Python code, it runs inside MotherDuck on a schedule, and the output lands directly in your databases. It works with AI agents through the MCP server — you describe the pipeline you want, and an agent like Claude or Cursor writes and deploys it. Any pip-installable package works in a Flight: DLT, pandas, API clients, whatever you need.

There are three ways. Most people use the MCP server — connect an agent like Claude or Cursor to the MotherDuck MCP server, describe what you want, and the agent writes the Python and creates the Flight. You can also use SQL table functions. md_run_flight() triggers Flights from SQL, which works well if you're chaining pipelines or integrating with dbt. Or you can just use the MotherDuck UI to create and monitor Flights without writing code.

Yes. You can bring private Python libraries into a Flight by referencing them in your requirements file or packaging them alongside your scripts. They don't need to be on PyPI. The documentation on setting this up is thin, though — if you have a specific setup in mind, it's worth asking the MotherDuck team about your configuration. For publicly available packages, anything you can pip install works out of the box.

Flights handle ingestion and transformation — they get your data into MotherDuck. Dives are the visualization layer, where you build live dashboards on top of that data through the MCP server. The demo in the webinar shows both in sequence: a Flight ingests data from a public API on a schedule, then a Dive gets built on that database in the same chat session. You go from raw source to live dashboard without switching tools.

Related Videos

"Aligned on Numbers: How Our Chief of Staff Builds Internal Data Apps with Agents at MotherDuck" video thumbnail

44:21

Oct 15, 2026

Aligned on Numbers: A Chief of Staff's Data Apps

Zoey Weaver interviews Kaitlyn Henry, MotherDuck's Chief of Staff, as she walks through two internal data apps: an AI token spend tracker built on a Flight and a weekly business review Dive. She explains how Guides, markdown files that define the company's key metrics, keep everyone's numbers consistent.

Stream

MotherDuck Features

AI ML and LLMs

"Jev for Analytics: 5 Use Cases on Real Data" video thumbnail

43:57

Oct 8, 2026

Jev for Analytics: 5 Use Cases

Mehdi Ouazza uses MotherDuck's prompt_jev() to turn text columns into columns you can GROUP BY. He classifies 100,000 consumer complaints, then walks through five use cases on real data: AI agent logs, Hacker News sentiment, sales calls, and two kinds of job-ad analysis.

Stream

MotherDuck Features

AI ML and LLMs

"Virtual Workshop: Build a Data Agent in 60 Minutes" video thumbnail

51:58

Oct 1, 2026

Build a Data Agent in 60 Minutes

Jacob Matson walks through a working data chat agent he built: MCP tools, an agentic loop, a tuned system prompt, hard-coded read-only guardrails, and telemetry. He demos it live against a real dataset, walks through the actual codebase, then shows the same backend re-platformed into a Slack bot.

Stream

MotherDuck Features

AI ML and LLMs

Data Pipelines