← All posts

Keel Data Stack v0.1.0: 18 Single-Binary Rust CLIs for Data Engineering, SQL Auditing & Zero-Python ML

Why I replaced Common Lisp, JVM ER diagrams, and fragmented Python ETL scripts with 18 single-binary Rust CLIs sharing one DX + AX contract — with live zero-CDN demos.

Modern data and analytics workflows suffer from an awkward tool tax. Getting data from REST APIs, spreadsheets, and SQLite into PostgreSQL — then auditing SQL joins, scrubbing PII/FERPA fields, and scoring ML models — routinely means gluing together Common Lisp (pgloader), Java + Graphviz (SchemaSpy), and a dozen fragile Python virtual environments (sqlite-utils, ydata-profiling, openpyxl, datacontract-cli, LightGBM wrappers).

Those tools work, until they don’t: dependency drift breaks CI, interactive [y/N] prompts hang automation, inconsistent ANSI colors poison AI agent context windows, and error tracebacks bury actionable remediation inside 90 lines of stack trace.

Today I’m tagging Keel Data Stack v0.1.0 alongside full documentation at keel.robertguss.com and four zero-CDN interactive demos at keel.robertguss.com/demos.

18 Tools Under One DX + AX Contract

Instead of a single bloated monolith, Keel is 18 focused Rust CLIs spanning ingest, storage migration, schema discovery, static SQL safety, proof-carrying runtime SQL audits, privacy redaction, feature compilation, scoring, drift, evaluation, local NLP, and zero-daemon DAG orchestration:

  • Ingest & Migrate: fetchkeel, dapkeel, sheetkeel, loadkeel, pgkeel, litekeel
  • Quality, Schema, SQL & Privacy: datakeel, sqlkeel, statkeel, mapkeel, maskkeel, auditkeel
  • ML & Local NLP: feakeel, scorekeel, driftkeel, evalkeel, textkeel
  • Orchestration: runkeel

Every binary obeys the same DX + AX contract:

  1. Dual-mode output (--format auto|human|agent|json) — colorized TTY tables for humans, zero-ANSI structured output when piped or called by an agent.
  2. Strict stdout / stderr separation — payloads strictly on stdout, progress and write notices only on stderr.
  3. Actionable error envelopes (E_*) — stable error codes, bounded failure samples, fix_hint, and retryable flags.
  4. Zero interactivity & clean exit codes — 0 clean, 1 data/audit/drift failure, 2 I/O or config error.
  5. Bundled SKILL.md (<tool> skill) — every compiled binary carries its own up-to-date AI agent skill ready to drop into .agents/skills/.

Four Live Zero-CDN HTML Demos (Real CLI Outputs)

Rather than screenshots, I generated standalone zero-CDN HTML artifacts directly from the compiled Rust binaries against deterministic synthetic datasets (scripts/generate-demos.sh):

  • Schema & Implicit FK Catalog (mapkeel) — Mapped a 4-table SQLite database (976 rows), identified 2 declared foreign keys, discovered 1 undeclared implicit edge (courses.instructor_id -> instructors.instructor_id at 100.0% key overlap), and flagged 2 WARN:A002_UNINDEXED_FOREIGN_KEY anomalies.
  • Dataset Profile & Alerts (statkeel) — Profiled 720 synthetic enrollment rows × 8 columns (1.53% missingness, candidate key enrollment_id, skewness and collinearity alerts).
  • Binary Model Card & Fairness Parity (evalkeel) — Evaluated 600 retention predictions across 4 cohorts and 3 terms (PR-AUC 0.7915, ROC-AUC 0.7825, +0.0737 ΔPR-AUC over baseline, cohort max_tpr_gap = 13.9pp).
  • Offline Browser NLP Playground (textkeel) — Trained a (1,2)-gram TF-IDF + L2 logistic classifier on 180 synthetic tickets (424 features) in 7 ms (100.0% held-out macro-F1) and exported a zero-backend interactive classifier UI.

Open all four embedded or full-screen on keel.robertguss.com/demos.

Try Keel Stack v0.1.0

Install prebuilt cross-platform wheels via uv (no Rust toolchain required) or build from source with Cargo:

git clone https://github.com/robertguss/keel-stack
cd keel-stack
./scripts/install.sh --method wheel
./scripts/install.sh --doctor

To install all 18 embedded SKILL.md instructions into a repository for Claude Code, Codex, Cursor, or Antigravity:

./scripts/install-skills.sh /path/to/your-repo/.agents/skills

Explore the full documentation, inspect the v0.1.0 release, or sponsor open-source development.