Skip to content

Keel Data Stack

An 18-tool suite of single-binary Rust CLIs for modern data engineering, SQL auditing, FERPA/PII scrubbing, spreadsheets, and zero-Python ML — built for both Humans (DX) and AI Agents (AX).
18 CLIs
Single-binary Rust tools under one contract
0 JVM / Lisp
Replaces pgloader, SchemaSpy, sqlite-utils & more
DX + AX
–format auto|human|agent|json across all 18 tools
18 SKILL.md
Every binary embeds its own <tool> skill installer
Terminal window
git clone https://github.com/robertguss/keel-stack
cd keel-stack
./scripts/install.sh --method wheel

Most SQL and analytics environments glue together Common Lisp (pgloader), Java + Graphviz (SchemaSpy), Python ETL trees (sqlite-utils, ydata-profiling, openpyxl, datacontract-cli), and ad-hoc ML scripts—each with different exit codes, logging conventions, and brittle dependency chains.

Keel gives you one consistent, zero-runtime-bloat binary per job, engineered for both terminal ergonomics and AI agent reliability:

  1. Dual-mode output (--format auto|human|agent|json) — colorized TTY tables for humans; token-budgeted, zero-ANSI structured output when piped or driven by an agent.
  2. Strict stdout / stderr separation — payloads only on stdout; progress and write notices only on stderr.
  3. Actionable error envelopes (E_*) — stable error codes, bounded sample rows, fix_hint, and retryable flags.
  4. Zero interactivity & clean exit codes — never hangs on [y/N]; 0 clean, 1 data/audit/drift failure, 2 I/O/config error.
Sources (REST APIs · Canvas Data 2 · CSV / JSONL / Parquet / Excel · SQLite / MySQL)
│
├─► Ingest & Migrate ──► fetchkeel · dapkeel · sheetkeel · loadkeel · pgkeel · litekeel
│
├─► Storage ───────────► PostgreSQL · SQLite + FTS5
│
├─► Quality & Privacy ─► datakeel · sqlkeel · auditkeel · mapkeel · statkeel · maskkeel
│
└─► ML & Local NLP ────► feakeel · scorekeel · driftkeel · evalkeel · textkeel
▲
runkeel (Zero-daemon parallel DAG orchestrator)

Complete 18-Tool Catalog

Ingest & Migrate (6)

fetchkeel

#2

Declarative REST API extractor to JSONL with Link/cursor/page pagination, rate-limit backoff, and incremental watermarks.

Replaces: Python REST pagination scripts

Commands: fetch, plan, watermark

GitHub ↗

dapkeel

#3

Blazing-fast Rust CLI for Instructure Data Access Platform (Canvas Data 2) with ODCS contract export and PostgreSQL COPY replication.

Replaces: instructure-dap-client (Python)

Commands: list, schema --to-contract odcs, initdb, syncdb

GitHub ↗

loadkeel

#5

JSONL, CSV, and Parquet to PostgreSQL binary/CSV COPY and atomic ON CONFLICT upsert bulk loader.

Replaces: pandas.to_sql / custom ETL loaders

Commands: load, plan, --evolve

GitHub ↗

pgkeel

#9

Zero-Lisp PostgreSQL migrator: move SQLite, MySQL/MariaDB, CSV, JSONL, and Parquet into Postgres with DDL translation, parallel COPY, and verification.

Replaces: pgloader (Common Lisp)

Commands: plan, migrate, verify

GitHub ↗

litekeel

#10

Single-binary Rust drop-in for sqlite-utils: ingest CSV/TSV/JSON/JSONL/Parquet into SQLite with --alter, --flatten, upserts, FTS5 search, extract, and analyze.

Replaces: sqlite-utils (Python)

Commands: insert, upsert, enable-fts, search, extract, transform

GitHub ↗

sheetkeel

#12

Single-binary Excel (.xlsx/.xls/.xlsb/.ods) Swiss-army CLI: inspect workbooks, forward-fill merged cells (--unmerge), export to CSV/Parquet/SQLite, pack, and diff.

Replaces: openpyxl / pandas.read_excel

Commands: inspect, export, pack, diff

GitHub ↗

Quality, Audit & Privacy (6)

datakeel

#4

Data contract, schema drift, quarantine, and codegen CLI with native ODCS v3.2.0 support.

Replaces: datacontract-cli

Commands: infer, check, diff, lint, codegen

GitHub ↗

sqlkeel

#6

Contract-grounded PostgreSQL SQL semantic bug analyzer, migration lock safety checker, dbt/Jinja preprocessor, and column-level lineage tool.

Replaces: sqlfluff / manual migration reviews

Commands: check, lineage, schema

GitHub ↗

statkeel

#7

EDA data profiler with offline SVG HTML reports, cross-source join health checker, live read-only SQL trust auditor, and snapshot drift comparator.

Replaces: ydata-profiling

Commands: profile, join, audit, compare

GitHub ↗

mapkeel

#8

Zero-Java, zero-Graphviz PostgreSQL/SQLite database cataloger with inline SVG & Mermaid ER diagrams, schema anomaly checks, and implicit FK discovery.

Replaces: SchemaSpy (Java + Graphviz)

Commands: map, edges, diff, init-contracts

GitHub ↗

maskkeel

#11

Deterministic, referentially-intact PII/FERPA data scrubber (keyed HMAC-SHA256) across CSV, TSV, JSONL, Parquet, SQLite, and PostgreSQL with HTML compliance receipts.

Replaces: Ad-hoc masking SQL/Python scripts

Commands: scan, mask, verify

GitHub ↗

auditkeel

#13

Proof-carrying SQL Analysis Auditor for PostgreSQL: read-only CTE row waterfalls, join fan-out & coverage probes, grain spot-checks, live query diffs, and HTML receipts.

Replaces: Manual CTE row-count debugging

Commands: run, check, diff, skill

GitHub ↗

ML & Local NLP (5)

scorekeel

#14

Zero-Python pure-Rust LightGBM scorer and exact Lundberg TreeSHAP explainer for CSV, JSONL, Parquet, and HTTP microservices.

Replaces: Python LightGBM + shap inference containers

Commands: inspect, score, serve, bench, skill

GitHub ↗

driftkeel

#15

Zero-Python ML feature, prediction, and concept drift monitor (PSI, KS, Jensen-Shannon, missingness spikes, calibration ECE & offline HTML drift receipts).

Replaces: Evidently / Python drift notebooks

Commands: snapshot, check, skill

GitHub ↗

evalkeel

#16

Model-agnostic ML backtest, calibration, conformal coverage, subgroup fairness parity, and tamper-evident HTML Model Card engine.

Replaces: scikit-learn + Fairlearn eval scripts

Commands: binary, regress, skill

GitHub ↗

textkeel

#17

Zero-Python, zero-PII local Rust TF-IDF (1,2)-gram + L2 Multinomial Logistic text classifier with phrase attribution and offline HTML playground export.

Replaces: Cloud NLP APIs / heavy Python scikit-learn pipelines

Commands: train, classify, export-browser, skill

GitHub ↗

feakeel

#18

Leak-free point-in-time ML feature store compiler and static temporal leakage linter for PostgreSQL LATERAL queries.

Replaces: Feast / leak-prone feature SQL scripts

Commands: init, validate, compile, run, skill

GitHub ↗

Orchestration (1)

runkeel

#1

Zero-daemon parallel Rust DAG pipeline runner for the Keel Data Stack and shell/SQL workflows.

Replaces: Airflow / Prefect / custom bash wrappers

Commands: run, plan --mermaid, history

GitHub ↗