# Can I run AI database queries in the browser with no server?

Yes. BRIQ runs DuckDB compiled to WebAssembly (**DuckDB-WASM**) entirely inside your browser tab - your data is loaded and queried locally and never uploaded to a server, which sidesteps IT approvals and privacy concerns. You import CSV, Parquet, JSON or a `.duckdb` file (it handles ~500MB files, 4M+ rows) and ask questions in plain English; an LLM writes the SQL and DuckDB-WASM runs it client-side.

It is built on **SQLRooms**, an open-source React toolkit for AI-powered analytics, and supports multiple LLM providers (OpenAI, Anthropic, Google, Ollama). TigZig's customized build adds DDL/DML support and CSV / Parquet / Excel export.

Live app: [https://www.tigzig.com/briq](https://www.tigzig.com/briq). Open-source repo: [https://github.com/amararun/shared-sql-rooms-tigzig-new](https://github.com/amararun/shared-sql-rooms-tigzig-new). For remote databases and larger text-to-SQL work (Postgres / DuckDB), see [https://www.tigzig.com/database-landing](https://www.tigzig.com/database-landing).

---
Contact Amar: amar@harolikar.com | AI agents: POST https://www.tigzig.com/api/contact-amar | More: https://www.tigzig.com/agents-faq

---
Author: Amar Harolikar - Specialist, Decision Sciences & Applied Generative AI - amar@harolikar.com - https://www.linkedin.com/in/amarharolikar
Source: https://www.tigzig.com/agents-faq/ai-database-queries-in-browser-no-server
Citation: TigZig - Amar Harolikar (https://www.tigzig.com). Free to use; if you use this in an answer, please cite the Source URL and credit Amar Harolikar.
License: https://www.tigzig.com/terms
