Know what breaks before you merge.
datawright is a local command that reads your data repo's code and tells you, and your AI agent,
the lineage, join paths and column meanings. No warehouse access, no model tokens, one file.
Quick start · What you get · Benchmarks · FAQ · Reference · Roadmap
Why
Agents and reviewers guess. Datawright answers from your repo, with no warehouse access and no model tokens, in seconds.
| Without it | With it |
|---|---|
| "Which tables does this change break?" Nobody knows until a dashboard does. | A comment on every merge request: changed tables, the DAG tasks that run them, downstream tables and dashboards. |
| The agent joins two tables on whatever column names match. | datawright join a b writes the join your code already uses, with casts. |
What does status = 2 mean? Ask someone who left. |
The card says 2 = approved, learned from your own CASE expressions. |
| A rerun silently doubles yesterday's rows. | datawright lint flags appends with nothing clearing the slice first. |
What you get
- Impact on every merge request.
datawright reviewlists changed tables, the Airflow task that runs each, what's downstream (tables, Looker, Superset and Metabase dashboards), broken data contracts, and unsafe patterns. - Lineage down to the column. Which columns feed which. Every table card names the file and line that writes and reads it, and links that were worked out rather than read plainly are marked
(inferred). - Join paths and meanings. How tables join as your code joins them, what codes like
status = 2mean, which key columns nothing uses any more. - Any agent can use it. A command line, plus an MCP server (
datawright serve) for clients with no shell. - 11 agent skills on top (set up, build, change, debug, test, review, optimize, on-call, tickets) that teach your agent to use it like a senior data engineer.
Reads: SQL · dbt · Airflow · Dagster · Spark · Flink · Kafka · Java (MyBatis) · Looker · Superset · Metabase · data contracts (ODCS). Anything else: a small connector. Agents: Claude Code · Codex · Cursor · Gemini CLI · anything that reads Agent Skills.
Quick start
You need uv and git.
1. Try the tool. One minute, no agent needed. From your data repo's root:
uvx datawright-cli init
.data-context/dw card <a table you know>
.data-context/dw impact <that table>
Want dw on your PATH everywhere? uv tool install datawright-cli. On a feature branch, .data-context/dw review --base main prints the merge-request report. .data-context/dw coverage lists what it doesn't read in your repo yet.
2. Give your agent the skills. Claude Code:
/plugin marketplace add clementlemon02/datawright
/plugin install data-eng@datawright
Codex, Cursor, Gemini CLI and others (swap -a):
npx skills add clementlemon02/datawright -a codex
Then tell your agent "set up this repo" and ask: "What breaks if I change orders_daily?", "How do sessions and regions join?", "Review my changes before I open a PR."
No data repo handy? Try examples/shop, a small warehouse with planted bugs.
How well does it work?
| Test | Result |
|---|---|
| Table lineage vs dbt's own manifest, three public dbt projects | 100% precision, 99.5–100% recall |
| Questions agents answered correctly on a hard synthetic warehouse (Sonnet) | 12 of 12 with Datawright, 7 of 12 without |
| Same test, Haiku | 7–8 of 12 with it, 3 of 12 without |
| Index build, 220-file production Airflow repo | under 2 seconds |
Six public repos run in CI at pinned commits, so any change in what it finds is reviewed. The agent benchmark is small and home-made: methods and limits.
How is it different?
| Data catalogs (DataHub, OpenMetadata) | dbt-centric review (Datafold, Recce, SQLMesh) | Datawright | |
|---|---|---|---|
| Where it looks | Metadata ingested from your tools | Your dbt project and warehouse | Your repo's code, read directly |
| Beyond dbt (Airflow, Spark, Java, Kafka) | Through ingestion connectors | No | Yes |
| Comparing the actual data before and after | No | Yes, row and value diffs | Aggregates only |
| Impact comment on every merge request | Not their job | Yes | Yes |
| Built for an agent to query | Some, via MCP | Some | Yes: cards, join, MCP server |
| Setup | A service to run | A warehouse connection, often a paid plan | One file, no service, no credentials |
They coexist: Datawright imports from them and can export to dbt, DataHub and OpenMetadata. If you only run dbt, you may already have most of the lineage; the merge-request report and join paths are what's new.
FAQ
Does it touch my warehouse or send data anywhere? No. datawright reads code, makes no network calls and never writes. Optional read-only queries need a read-only user you set up.
Which warehouse and SQL dialects? Anything sqlglot parses, auto-detected, including Snowflake, BigQuery, Trino, StarRocks, Doris, Spark and DuckDB.
What if it doesn't understand part of my repo? datawright coverage lists what it skips. A connector, usually a few dozen lines, teaches it, and setup can write one for you.
How do I know it's right? Every answer points at the file and line it came from, datawright coverage lists what it can't read and how many links are inferred, and lineage is scored against dbt's own manifest in CI. It's a heuristic parser, so check surprising results and report wrong lineage.
Is it production-ready? It's a first release, tested by its author on public repos and one production platform. Ten minutes and five answers from you would help the most.
More
Skills and every command · Architecture · Roadmap · Landscape · Contributing
MIT license
Metadata
Release files for datawright-cli 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datawright_cli-0.1.3.tar.gz | 134.4 kB | With provenance | Details for datawright_cli-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datawright_cli-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for datawright_cli-0.1.3-py3-none-any.whl |
Total release size: 240.9 kB
Release files / datawright_cli-0.1.3.tar.gz
| Download URL | datawright_cli-0.1.3.tar.gz |
|---|---|
| Size | 134.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dafb58f7697f9a7f66a23d09115323b7b2a24f1c3f3d2a501175a9fa5d249cbc
|
|
BLAKE2b-256 checksum How to use checksums |
2c6158f97425ac982a8ed70114e6f72b1774527fb523f0f1df76233d30ad0e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / datawright_cli-0.1.3-py3-none-any.whl
| Download URL | datawright_cli-0.1.3-py3-none-any.whl |
|---|---|
| Size | 106.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63950fa9ec1d51b0c712cb834ef00507e12b577014eeeceba0c8679c16c52220
|
|
BLAKE2b-256 checksum How to use checksums |
7443d483d5e88ca1af59abe85316288927a52f5caef1fc4ebc203814f24fbd0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for datawright-cli 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for datawright_cli-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.