Back to projects

DataPrototype2026

Quanta

An AI data analyst that runs in the browser: drop a CSV and DuckDB-WASM turns it into a typed SQL database that never leaves the tab, Claude profiles and charts it, an autonomous Opus agent investigates it, and you can ask follow-ups out loud.

88 s · $0.25
Live deep dive, measured
8
SQL queries the agent ran
$0.001
Measured cost to profile a CSV

Timeline

Oct 2026

Role

Design, data pipeline and agent loops

Team

Solo

Domain

Data analytics · Business intelligence

Status

Prototype

Stack

Next.js 16DuckDB-WASMHighchartsClaude Opus 5.5Claude Haiku 5.5Gemini Live

Source

Section 01

Overview

Most 'chat with your data' tools upload the file to a server. Quanta inverts that: the CSV is staged into DuckDB-WASM inside the browser tab, and the raw rows never leave it. The models see the schema, column statistics and the results of the SQL they ask for, nothing more.

The browser owns every agent loop. API routes only forward model calls; each model-written query passes a read-only guard (single SELECT or WITH statements, no file or URL readers) and runs locally. The result is an analyst you can hand sensitive data to without a data-processing conversation.

Landing: drop a CSV, or try a synthetic dataset
Quanta landing page with the headline 'Your spreadsheets, as an analyst you can talk to', a CSV dropzone and three sample datasets

Section 02

Typed Ingestion

A CSV lands as an all-VARCHAR table, then Claude Haiku reads 20 sample rows and writes the typed schema: column types, roles, date formats and an executive summary. Each column is converted with TRY_CAST, and any column where more than 20% of values fail falls back to text rather than corrupting rows.

I verified the live path with a 388-row cafe-sales CSV generated for the test: Haiku named it 'Cafe Sales Transactions', classified it as food and beverage retail, typed the dates, and the whole profile cost $0.001.

A 388-row test CSV, profiled live for $0.001
Quanta overview of a live-uploaded cafe sales CSV, named and sector-classified by Claude Haiku, with charts and a live token meter in the header

Section 03

Dashboard

The Overview tab renders a dashboard generated from the profile: KPI cards with glowing pill columns and rolling averages, a neon barcode of daily records with the busiest fortnight lit, ranked category rows, and a set of 3D and radar cards, all Highcharts on black, styled after Setproduct's Hyper Charts kit.

Every card is honest about its provenance: each one has a table toggle and a SQL toggle, so the query behind any number is one click away.

Overview: KPI cards and the daily-records barcode
Quanta overview dashboard for the IT support tickets sample with a green barcode chart, weekly KPI cards and category rows
The 3D report cards further down the page
Category landscape, peak days and daily rhythm 3D chart cards on the Quanta overview

Section 04

The Deep Dive Agent

Deep Dive hands the dataset to an autonomous Claude Opus agent with two tools: run_sql and submit_report. It plans, queries, reasons about what it finds and queries again, streaming every step to a live agent log, then delivers an executive report with KPI cards, validated charts, findings and recommendations.

The three sample datasets ship as recorded real sessions that replay instantly, labelled Demo in the header, so the public demo costs nothing. I verified the live loop on my test CSV, which had a deliberate planted pattern: the agent ran 7 steps and 8 queries in 88 seconds for $0.25, and its report led with exactly the planted fact, the University store's revenue run-rate down 71% since mid-September, then went further and tied the drop to falling loyalty-member visits.

Mid-run: the agent log streams reasoning and SQL
Deep dive in progress with an agent log showing reasoning steps, SQL queries with row counts and a skeleton report
The delivered report on the sample dataset
Executive report titled 'Department Bottlenecks: Security Engineering Is Structural, Data Platform Is New' with four KPI cards
Live run on the test CSV: 7 steps, 8 queries, $0.25, planted decline found
Live deep dive report on cafe sales data finding the University store decline, with a cost card showing $0.25

Section 05

Ask, in Text or Out Loud

The Ask tab answers one-off questions: the model writes SQL, the browser runs it, and the answer arrives with an 'Inspect SQL and results' toggle so nothing is a black box.

Voice runs on the Gemini Live API: a real-time, interruptible conversation where Gemini calls a run_sql tool mid-sentence, the query executes on the in-browser DuckDB, and both the SQL and the rows appear in the transcript alongside the spoken answer.

Ask: a cited, inspectable answer next to the voice panel
Ask tab answering an SLA question with Inspect SQL toggle, a Gemini Live voice panel and suggested questions
Quanta overview dashboard on a phone
The dashboard on a phone

Section 06

Results

Quanta is my argument that agentic analytics and privacy are not in tension: put the database in the browser, give the model tools instead of data, and show the SQL behind every number.

  • Raw data never leaves the tab: DuckDB-WASM locally, models see schema, statistics and query results only
  • Every model-written query passes a read-only guard: single SELECT or WITH, no file or URL readers
  • Live verification: a planted revenue decline found autonomously in 88 s for $0.25, 7 steps, 8 queries
  • Recorded demo replays make the public samples free to explore, honestly labelled Demo in the header