Projects & Portfolio

Three projects I'm building now, and the open-source data-engineering work behind them.

Featured

Vitals — Health-Data Medallion Lakehouse

Site: joaoblasques.com/vitals
Code: joaoblasques/vitals
Technologies: Databricks/Delta, dbt, Airflow, PySpark, Kafka, Feast, pgvector, Great Expectations, Terraform

From raw clinical signals to trusted, AI-ready data.

Healthcare data is the messiest data there is: many source systems, competing vocabularies, silent unit drift, PHI everywhere, and free text where codes belong. Vitals is a governed medallion lakehouse that takes raw FHIR, claims, wearable and notes data in, and serves it three ways — because analytics, classical ML and RAG each need something different:

Output Tech Serves
Analytics marts dbt (Kimball star) + MetricFlow BI, cohorts, reporting
Feature store Feast risk features, online + point-in-time
Vector index pgvector RAG / semantic search over clinical notes

Silver conforms to the OMOP CDM, a Great Expectations gate fails the build on any coded-vocabulary violation, and the same silver/gold logic is proven identical across four execution engines (DuckDB, Databricks Delta, PySpark, and a real Kafka streaming path) — a parity check that has already caught a real cross-engine bug.

Status: MVP through Phase 6 shipped — deployed on Databricks (Delta + Unity Catalog), streaming, governed, and CI-gated. Read the write-up →


Corpus — A Knowledge Base That Tends Itself

Site: joaoblasques.com/corpus
Technologies: LLM agents, retrieval, structured knowledge

Sources in. Cited pages out.

Most knowledge systems decay: notes pile up, links rot, nothing is findable a year later. Corpus puts an LLM agent in the role of librarian — it reads everything, writes it into a cross-linked web of citable pages, and keeps that web consistent as new sources arrive.

Five intake channels (email, YouTube, PDF, Obsidian vaults, web articles) feed an inbox; an ingest agent runs collection → clustering → ingestion → verification. Provenance is non-negotiable by design: information without citations can't be audited, and information without cross-links can't be discovered.


Nora — Email-Native AI Executive Assistant

Site: nora-bennett.com
Docs: docs.nora-bennett.com
Technologies: LLM agents, email integration, Astro

An AI executive assistant that lives in email rather than in another app you have to remember to open.

The design constraint that shapes everything: Nora drafts, the human sends. That asymmetry is the product's trust model — an assistant that can send on your behalf is one bad inference away from an incident you can't take back. Read the write-up →

2ndBrain — A Second Brain an AI Can Work In

Page: joaoblasques.com/2ndbrain
Technologies: Obsidian, Claude Code, Python, systemd, rclone, restic

One inbox, a nightly job that empties it, and three rules about what the AI can see, move and undo.

My notes, projects and documents live in one vault that an agent works in every day. A local filter keeps sensitive files out of the vault and away from any model, and every move can be reversed. The page explains how it works, including what broke.

Craft

Terminal-Craft — tmux & nvim Fluency for AI-Coding Work

Site: joaoblasques.com/terminal-craft
Code: joaoblasques/terminal-craft
Technologies: tmux, nvim, zsh, LSP, dotfiles

The bottleneck in AI-coding work is the keyboard, not the model.

A ten-lesson curriculum I built and drilled on myself: tmux for running several agents side by side, nvim for fast review of long generated diffs, plus shell and dotfiles. No plugin manager and no IDE rebuild — nine of the ten lessons ran on an untouched baseline config, and the one that needed real setup took 44 lines.

Every lesson starts from a real scenario and ends with a live drill, and the site logs what went wrong as well as what worked: the lesson that taught macros before it taught undo, a claim I got wrong and caught mid-drill, and a type-checker that caught a planted bug instantly while never once flagging the file's real one.

Status: 10/10 complete. The repo then ended by deleting its own configs — they belonged in my dotfiles repo, and a learning project shouldn't quietly become a config project. Read the write-up →

Data Engineering — Open Source

The pipeline work underneath. All public, each with a write-up.

tabby-dwh — What One Modelling Decision Costs

GitHub: joaoblasques/tabby-dwh
Technologies: BigQuery, dbt, Airflow, Python

Saudi Arabia's central bank requires credit-risk staging at the level of the borrower, not the loan: "a single exposure to a borrower should not be split between stages" (SAMA Circular 42022533 §3.4). Buy-now-pay-later breaks against that rule harder than most lending, because one customer holds several small concurrent orders — so the obvious warehouse grain, one row per order staged on its own arrears, splits a borrower across stages by construction.

It reconciles. It passes every test you would think to write. It also under-provisions by 30%.

This builds the same synthetic book both ways — identical DPD source, identical five-sub-stage ladder, the grain as the only variable — and measures the gap: 30.1% overall, 53.5% in the smallest market, with 16.2% of exposures sitting in a better stage than their borrower deserves. Partitioning and clustering on the regulation's own grain cut bytes scanned 23.8×. Two of the tests carry the argument: one proves the compliant model never splits a borrower, its inverse proves the naive one does, so a book that stopped exercising the rule fails the build instead of quietly producing a comparison that proves nothing.


MBTA On-Time-Performance Lakehouse

GitHub: joaoblasques/mbta-on-time-lakehouse
Technologies: Databricks, GCP, Spark Structured Streaming, Terraform, CI/CD

A self-managing lakehouse answering "is the MBTA late, and where?" — it ingests Boston's live transit feed, computes on-time performance, and runs, heals and improves itself. An agentic layer writes nightly insights and opens its own pull requests. Notably: the failure-monitor caught a real out-of-memory bug in production by itself, and the transformations are tested against a real Spark session including the after-midnight time-reconciliation case that silently corrupts naive implementations. Read the write-up →


Customer Analytics Pipeline

GitHub: joaoblasques/customer-analytics-pipeline
Technologies: Airflow, dbt, Spark, Iceberg, Docker

A daily ELT pipeline identifying high-value customers for sales outreach, using medallion architecture and Apache Iceberg. Read the write-up →


Analytics Engineering with dbt

GitHub: joaoblasques/data-pipeline-transformation-analytics
Technologies: dbt, BigQuery, Looker Studio

Raw NYC taxi data through dimensional models to business intelligence — with testing and deployment strategy. Read the write-up →


Orchestration: Airflow & Kestra

GitHub: airflow · kestra

Orchestrating robust pipelines across local, GCP and Kubernetes deployments with Airflow; and the same problem solved with Kestra, fully containerized. Airflow write-up → · Kestra write-up →


Also public


Interested in any of these, or have a data problem you'd like to talk through? Get in touch.