a Skelf Research project

SQL that learns.
AI that validates.
Privacy that protects.

l0l1 is a developer toolkit for analytics teams who want LLM help on SQL without letting raw rows leave the room. Validation, PII detection, and pattern learning — running where your warehouse already lives.

~/analytics
$ l0l1 check-pii "SELECT ssn, email FROM customers"
  Found: SSN, EMAIL_ADDRESS
  Anonymized: SELECT <SSN>, <EMAIL> FROM customers

$ l0l1 validate "SELECT * FROM orders WHERE created > NOW() - INTERVAL 7 DAY"
  ok  schema:  orders(id, user_id, total, created)
  warn SELECT * pulls 14 columns; only 3 used downstream

$ l0l1 complete "SELECT * FROM orders WHERE"
  Suggestions based on 47 learned patterns…
01 / VALIDATE

AI as a reviewer, not a writer

l0l1 treats LLM output as a draft. Multi-provider validation (OpenAI, Anthropic) checks queries against your schema before they run.

02 / PROTECT

PII detection on the wire

Presidio-backed detection finds emails, SSNs, phone numbers and credit cards inside queries. Anonymize before sending text to a model.

03 / LEARN

Patterns from your team's queries

Successful queries are stored as patterns per workspace, sanitized of PII first, then surfaced as completions for the next person.

WHAT l0l1 IS NOT
  • — Not a text-to-SQL black box. It validates SQL; it doesn't insist on writing it.
  • — Not a hosted warehouse. l0l1 connects to yours; data stays put.
  • — Not a replacement for your DBA. It's a second pair of (statistical) eyes.
  • — Not a magic compliance tool. PII detection is best-effort, not a legal guarantee.

From the blog

All posts →