Skip to content
Get Started

The future ofdata pipelines.

Built on the SQL you already know. Write it yourself or let your agent draft it. pz checks it and runs it anywhere, with no platform needed.

Whether you write it yourself or an agent drafts it, it ends up in the same place — SQL and YAML you can read, diff, and review like anything else your team ships.

pipelines/orders_enriched.sql
INSERT INTO {{ sink('lake', 'orders_curated', strategy: 'replace', format: 'parquet') }}
SELECT
o.id,
o.amount,
c.email
FROM {{ ref('stg_orders') }} AS o
JOIN {{ source('raw', 'customers') }} AS c
ON c.id = o.customer_id
connections.yml
raw:
connector: localfiles
entities:
customers:
read:
path: data/customers.csv
format: csv
lake:
connector: localfiles
root: out # writes land under out/<entity>/

An analyst asks their AI assistant for the data they need. The assistant drafts the pipeline, and pz tells it exactly what’s wrong until it’s right. An engineer reviews a few lines of SQL and merges it.

1 · The ask

Analyst
Can I get daily revenue per region in the warehouse? Refreshed every night.
AI assistant · pz over MCP
On it. Drafting daily_revenue.sql and validating it against the project.
2 · The draft — pipelines/daily_revenue.sql
INSERT INTO {{ sink(‘warehouse’, ‘daily_revenue’, strategy: ‘merge’) }}
SELECT order_date AS day, region, sum(amount) AS revenue
FROM {{ source(‘shop’, ‘orders’) }}
GROUP BY day, region
$ pz validate
error PZ0209: sink ‘warehouse.daily_revenue’ has
strategy: ‘merge’ but declares no keys -- merge needs at
least one key column to match rows by
hint: sink(‘warehouse’, ‘daily_revenue’,
        strategy: ‘merge’, keys: [‘<column>’])
› agent adds keys: [‘day’, ‘region’]
$ pz validate
validation passed (4 pipelines, 3 connections checked)

3 · The approval

The agent opens a pull request like anyone else. Someone who knows the warehouse reads it, and nothing reaches production without that review.

pipelines/daily_revenue.sql+4 -0
+INSERT INTO {{ sink(‘warehouse’, ‘daily_revenue’, strategy: ‘merge’, keys: [‘day’, ‘region’]) }}+SELECT order_date AS day, region, sum(amount) AS revenue+FROM {{ source(‘shop’, ‘orders’) }}+GROUP BY day, region
DE

Keys look right. Merging, it runs with tonight’s batch.

✓ pz validate — passed

pz mcp init connects Claude Code, VS Code, Copilot CLI or OpenCode to a project, and any other MCP client can launch pz mcp directly. The assistant can read, write and validate pipelines; running them stays off unless the server starts with --allow-run.

The same things that make pz easy for you make it safe to hand to an agent.

Credentials stay put

Pipelines name entities, not connection strings. Secrets live in one file an agent never needs to read.

Errors agents can fix

Every error carries a PZ code, the file, the cause and a hint, so a mistake gets fixed before anyone reviews it.

Safe to retry

Incremental loads, retries that pick up where a run failed, and merges that never duplicate rows.

No platform to buy

One binary with DuckDB inside. It runs on a laptop, a VM or in CI.

Install pz, scaffold a project and run it, or point your agent at it and ask.