The future ofdata pipelines.
A pipeline is a file in your repo.
Section titled “A pipeline is a file in your repo.”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.
INSERT INTO {{ sink('lake', 'orders_curated', strategy: 'replace', format: 'parquet') }}SELECT o.id, o.amount, c.emailFROM {{ ref('stg_orders') }} AS oJOIN {{ source('raw', 'customers') }} AS c ON c.id = o.customer_idraw: connector: localfiles entities: customers: read: path: data/customers.csv format: csv
lake: connector: localfiles root: out # writes land under out/<entity>/From a question to a pipeline.
Section titled “From a question to a pipeline.”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
daily_revenue.sql and validating it against the project.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
An engineer still signs off.
Section titled “An engineer still signs off.”The agent opens a pull request like anyone else. Someone who knows the warehouse reads it, and nothing reaches production without that review.
+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
Keys look right. Merging, it runs with tonight’s batch.
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.
Why pz is the safe layer
Section titled “Why pz is the safe layer”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.
Connects to what you already use.
Section titled “Connects to what you already use.”Fifteen connectors ship inside pz. Eleven more install as packages, and the
connector SDK lets you write your own.
- Local filesFiles
- Amazon S3Object storage
- Azure BlobObject storage
- Cloud StorageObject storage
- SFTPFiles
- HTTP APIsREST
- PostgreSQLDatabase
- MySQLDatabase
- SQL ServerDatabase
- SQLiteDatabase
- DuckDBDatabase
- DuckLakeLakehouse
- MotherDuckWarehouse
- IcebergLakehouse
- QuackRemote DuckDB
- SnowflakeWarehouse · package
- BigQueryWarehouse · package
- DatabricksLakehouse · package
- Delta LakeLakehouse · package
- ClickHouseWarehouse · package
- MongoDBDatabase · package
- Cosmos DBDatabase · package
- ElasticsearchSearch · package
- KafkaStreaming · package
- Event HubsStreaming · package
- GitHubSaaS · package
Start with one pipeline.
Section titled “Start with one pipeline.”Install pz, scaffold a project and run it, or point your agent at it and ask.