Skip to content
All work

03

DATA INTELLIGENCE ENGINE 

Hand an agent a messy dataset and it profiles, cleans and grades it with real scripts. Every claim carries its evidence, and not one row reaches the model.

Role
Solo: product, build, docs, release
Stack
Python · DuckDB · SQLGlot
Year
Nov 2026 → ongoing
Status
Open source, MIT
01

Context

Pointing an agent at a dataset usually means pasting rows into its context. That sends the data to the model provider, costs tokens in proportion to the file, and still leaves the model with no way to actually compute anything — it is reading a sample and inferring the rest.

The second problem is that an agent answers either way. Ask whether a file is clean and you get a confident paragraph back, whether or not a single check ran behind it.

Most of the work I do day to day starts here: someone has an export, something about it looks wrong, and the first hour goes on finding out whether it is wrong or just unfamiliar.

02

Approach

  1. 01

    The skill file is a thin router over 27 intents. A request loads only the methodology that intent names, out of more than fifty modules, so a question pays for the reasoning it uses and nothing else. One request can route to several intents at once, because a pipeline that lost 30% of its rows is a quality check, an anomaly scan and a pipeline debug at the same time.

  2. 02

    Every number comes from a script rather than the model. They profile files, score data health, detect volume and null-rate anomalies, reconcile two versions of a dataset row by row, and statically review pipelines, dbt projects, Airflow DAGs and SQL without running or importing them.

  3. 03

    The model only ever sees aggregates. Rows stay on the machine, which also means the skill is usable on data nobody is permitted to paste anywhere.

  4. 04

    A check that could not run is reported as unverified and is never promoted to a finding — “I could not reach the database” is treated as an answer. A health score computed without business rules is labelled provisional, and the label does not quietly disappear later.

  5. 05

    Every report closes with its coverage: how many rows of how many were actually read, which files, and under what filters, so a clean result cannot be mistaken for a complete one.

03

Results

intents the router handles
27
scripts doing the computing
11
rows sent to the model
0
04

Stack

  • Python
  • DuckDB
  • SQLGlot
  • SQL
  • dbt
  • Airflow
Diagram soon ✱

Architecture sketch: DATA INTELLIGENCE ENGINE

Previous project

NEXUS

Next project

AD CAMPAIGN DATA INTEGRITY