Skip to content
All projects
Data EngineeringJul 2026Live

POND: Query Your Life From One Local File

Query Your Life From One Local File

A local-first personal data warehouse. Your exports (Spotify, WhatsApp, Google Takeout, bank statements) go into one DuckDB file on your machine, and you ask questions in plain English. The LLM sees your schema and never your data, and the SQL it writes is sandboxed before it runs.

pond-charan.vercel.app
POND, the live site
Year
Jul 2026
Scope
solo build
Type
Data Engineering
Status
Live

56 tests

All run on synthetic fixtures, so the tool is verified without any real personal data. pond schema prints exactly what an LLM call would send: the schema, your question and optional category names.

01

Overview

Spotify knows what you played at 2am, your bank knows what you ordered afterwards, and Google Fit knows you didn't train that week, but none of them talk to each other. The usual options are a spreadsheet that stops coping around row 40,000 or a SaaS that wants you to upload your bank statements. POND is a CLI that loads every export into one DuckDB file and answers plain-English questions like "how much did I spend on Swiggy in weeks I skipped gym this year?" That question needs three sources joined on a calendar, and half of it is about rows that don't exist.

02

The hard parts

  1. 01

    Answering questions about absence: "weeks I skipped gym" is about rows that were never recorded.

  2. 02

    Trusting an LLM to write SQL against personal data without letting it read that data or run anything dangerous.

  3. 03

    Ingesting messy, inconsistent exports (Android vs iOS WhatsApp dates, every bank's own CSV format) idempotently.

  4. 04

    Keeping re-imports safe so overlapping exports don't double-count.

03

The approach

The LLM only sees the schema. Generated SQL is parsed with sqlglot and validated on the AST: one statement, SELECT only, no DDL/DML/PRAGMA/ATTACH/COPY, no functions that reach the filesystem, and an automatic LIMIT 500. Calendar views for days and weeks supply the rows that gaps don't have, so "skipped gym" becomes a simple WHERE instead of an anti-join. Imports are idempotent in two ways: a sha256 file ledger skips files already processed, and a per-row dedupe_key catches overlap between exports. An unknown bank format asks four questions once, saves a profile keyed on the header signature, and does not ask again.

04

Outcome

Point pond import at a Spotify zip, a WhatsApp .txt, a Google Takeout or a bank CSV, check pond status, then use pond ask in English or pond sql for raw local SQL with no LLM involved. Everything runs on your machine except one clearly labelled network call. 56 tests run on synthetic fixtures, with lint and format enforced in CI.

05

What I'd do differently

The privacy claim only holds if it can't drift from the code, so pond schema prints the exact payload pond ask would send, from the same code path. Deciding what not to build mattered too: bank PDFs and Google location history are out of scope, and the website only describes the tool. POND itself is CLI-only on purpose.

06

Stack

engine
DuckDBsqlglot (AST validation)
ai
Anthropic Claude (schema-only, optional)
cli
TyperRichPydantic
tooling
uvpytest (56 tests)ruffGitHub Actions

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.