Open Format · v1.1 · CC0

One file. The whole pipeline.

ADPL is an open JSON-based file format for describing, sharing, and reconstructing agentic data pipelines. A single .adpl file captures the complete pipeline graph, all agent configurations, embedded setup and monitoring prompts, and the human-readable metadata the Pipeline CAD tool needs to reconstruct it on any machine.

Pipelines are hard to share, reproduce, and hand off

Every data team faces the same friction: a pipeline designed in one tool, documented in a wiki, and impossible to reproduce without tribal knowledge. When agents are involved, the problem compounds — no standard way to embed the prompts that set up or monitor the pipeline alongside the pipeline itself.

📦
Not portable
Pipeline designs live in tool-specific UIs. Moving between engineers or environments means manual re-entry, screenshots, and out-of-date wikis.
🔁
Not reproducible
Without a machine-readable format, "restoring" a pipeline means guessing at config — wrong ports, missing schema names, stale DAG IDs.
🤖
Agents need context
Setup agents and monitor agents need the full pipeline config — hosts, dag IDs, suite names, ports. This context is nowhere near the pipeline file.
🔒
Siloed by tool
Pipeline CAD, git, CI/CD, and LLM agents each have their own representation. There is no single source of truth for "what is this pipeline, right now".

A single file that is the pipeline

ADPL encodes the full pipeline in one self-contained JSON file. Import it into Pipeline CAD to get the canvas back. Give it to the DE Setup Agent and it knows exactly what to run, check, and report. Share it with a colleague and they have everything — no separate docs, no tribal knowledge.

📦
Portable
One file fully describes a pipeline. No external references required. Import it anywhere, get the exact same canvas.
🔁
Reproducible
All config values — hosts, ports, DAG IDs, topic names, suite names — are embedded. Importing produces an identical pipeline graph every time.
🤖
Self-operating v1.1
ADPL v1.1 embeds the full system prompts for the DE Setup Agent and all Monitor Agents. Zero additional configuration needed.
⚙️
Code-gen ready
Contains all config needed to generate Compose files, Airflow DAGs, dbt projects, and agent configs. The file is the infrastructure spec.

File structure at a glance

An .adpl file is valid JSON. Six top-level sections tell the complete story of a pipeline — from graph topology to embedded agent prompts.

// pipeline.adpl — a complete agentic pipeline in one file
{
  "adpl":     "1.1",                       // format version

  "meta": {                              // human-readable metadata
    "name":           "My Pipeline",
    "description":    "...",
    "autonomy_level": "L4",             // L0 | L2 | L4
    "tags":           ["kafka", "dbt", "airflow"]
  },

  "pipeline": {                          // the graph
    "goal":  "Detect anomalies in real-time sensor data",
    "nodes": [ /* sources · transforms · orchestration · agents · serving */ ],
    "edges": [ /* directed connections between node output → input ports */ ]
  },

  "agents": {                  ★ NEW in v1.1   // embedded agent prompts
    "setup":    { /* DE Setup Agent — runs once at deploy */ },
    "monitors": [ /* Monitor Agents — run on schedule/trigger */ ]
  },

  "ahi": {                               // Agent-Human Interface log
    "log": [ /* observations · alerts · orders · approvals */ ]
  },

  "summary": {                          // computed snapshot for display
    "sources":        ["kafka"],
    "transform":      "dbt",
    "orchestration": "dagster",
    "quality":        "great_expectations",
    "serving":        ["dashboard"],
    "agents":         [ /* in-pipeline AI agents */ ]
  }
}

16 node subtypes, 7 categories

Every block on the Pipeline CAD canvas maps to a typed node with a fixed config schema. All config values are strings — making them easy to template, validate, and reference from agent prompts.

Source nodes
postgresql  · kafka  · mongodb
csv         · rest_api  · minio
Transform nodes
dbt  ·  python
Orchestration nodes
airflow  ·  dagster
Agent nodes
mcp_server  ·  ai_agent
Quality nodes
great_expectations
Serving nodes
rest_serve  ·  dashboard  ·  data_warehouse

Embedded agent prompts

Every .adpl file now carries the complete system prompts for the agents that operate around the pipeline — initialising infrastructure, enforcing quality, and monitoring production health. The prompts reference actual config values from pipeline.nodes[].config, so they work without any additional setup.

Four agent types — auto-included based on stack

The H.A.R.L.I.E. pipeline_builder agent and the Pipeline CAD export function determine which monitors to include by inspecting the pipeline graph. No manual configuration.
🔧 DE Setup Agent
Always included · supervised
Starts all services, runs schema migrations, executes dbt, validates quality checkpoints, and declares the pipeline ready. Triggers: on_deploy, on_schema_change, on_demand.
🔄 Orchestration Monitor
If: airflow or dagster node · autonomous
Watches DAG/job run history, flags failures and SLA breaches, compares run duration against 7-day rolling average, and escalates stale data.
🛡️ Data Quality Monitor
If: great_expectations node · autonomous
Reviews Great Expectations validation results, flags regressions vs. prior runs, blocks serving on critical expectation failures (nulls, PK uniqueness).
🤖 Agent Output Monitor
If: ai_agent node · autonomous
Reviews AI agent outputs in exchange.json for completeness, factual grounding, and scope compliance. Pauses agents after 3+ low-quality outputs in 24h.
💧 Data Freshness Monitor
Always included · autonomous
Queries max(updated_at) from every source and mart table daily. Alerts if data is stale beyond the schedule + 1h tolerance. Critical alert at 48h stale.

Three ways to get an .adpl file

01
Download from a case study
Every project blueprint on this site has a ⬇ ADPL button. Click it to download the pipeline as a .adpl file, then import it into Pipeline CAD.
02
Design and export in Pipeline CAD
Open Pipeline CAD, drag nodes onto the canvas, and click Export ADPL. The tool auto-generates all agent prompts from your stack — no manual editing.
03
Let H.A.R.L.I.E. write it
The H.A.R.L.I.E. pipeline_builder agent reads project case study pages and writes fully-formed .adpl files with tailored agent prompts referencing the exact config values for each project.

Full schema reference and examples

The ADPL specification is published as an open repo. It includes the full README with schema reference tables, the JSON Schema Draft-07 for validation, and ready-to-import example files from real-world pipelines.

📘
README — Full spec
Schema reference, field tables, agent prompt conventions, and a minimal valid v1.1 example. github.com/datainsightat/adpl →
JSON Schema v1.1
Validate any .adpl file with the JSON Schema Draft-07. Covers all fields, agent definitions, node subtypes, and port patterns.
Download schema locally
Save schema/v1.1.json and use it with ajv, VS Code, or any JSON validator to lint your pipeline files.
🤖
AGENT_TASK.md
The full task definition for the H.A.R.L.I.E. pipeline_builder agent — how it reads project pages and writes .adpl files with embedded prompts.

See ADPL in action

A walkthrough of the Agentic Data Pipeline Language — how a single .adpl file captures an entire pipeline and how Pipeline CAD imports it.