SQL Analytics and Decision-Support Playground

Ask a clearer question.Inspect the SQL. Understand the result.

Natural-language SQL and analytics playground with optional provider generation. Explore deterministic sample schemas, inspect SQL, and run supported queries locally in SQLite.

SQLite
Local Engine
FastAPI
Backend Framework
Next.js 15
Frontend
TypeScript
Type Safety

Product workflow and boundaries

Explore synthetic datasets with reviewed query templates, local SQLite execution, and visible validation

Reviewed local matching

Browser-local intent matching separates supported, ambiguous, unsupported, and exploratory requests

Input Validation

Typed requests plus a narrow, tested read-only SQLite policy

Schema Context

Table grains, columns, keys, and relationship cardinality remain inspectable

Typed workflow states

TypeScript keeps clarification, supported answers, and exploration distinct

Async Architecture

Separate generation, review, and explicit local execution states

Documented boundaries

Synthetic fixtures and browser policy are scoped honestly; the provider backend is optional

System Architecture

FastAPI Backend

Optional typed generation API; provider output is returned as not executed

Browser SQLite

Deterministic synthetic schemas with explicit, read-only local execution

Visible Provenance

Generation source, schema, execution status, and truncation stay visible

Explore an Inspectable SQL Workflow

Choose a sample schema, inspect curated or generated SQL, then run it explicitly against local fixture data.

Portfolio Demo Notice

This portfolio project demonstrates analytics and applied-AI engineering. Curated examples need no key; optional live generation requires configured backend credentials. Accepted SQL executes locally only against bundled synthetic sample data. No aggregate usage or model-accuracy metrics are claimed. View the full implementation at github.com/cbratkovics/sql-genius-ai