Inspiration

Data is the backbone of every modern business, but it's locked behind a language most people never learn. We built SQL Whisper to break down that barrier — so anyone can ask questions of their data and get answers that drive real decisions.

What it does

SQL Whisper leverages AI to turn plain English prompts into SQL queries, into easy-to-understand responses giving insight of relevant data to the user. It keeps database authentication secure, by passing a unique ID to the AI Agent, which corresponds to credentials stored in our secure database. This way, credentials are never viewed by the frontend or the agent.

How we built it

We built SQL Whisperer around a core principle: the AI agent should never touch raw data directly. When a user asks a question, the agent first reads a compressed snapshot of the database schema and writes a SQL query and calls a secure backend tool to execute it. This keeps the context window lean regardless of database size, and means the agent reasons about structure rather than drowning in rows. On the security side, credentials are encrypted at rest and never exposed to the frontend or the agent, so every request is resolved server-side using an opaque connection ID. The result is a system where Claude iteratively plans, queries, and refines its way to a plain-language answer, without ever having direct access to the underlying data.

Challenges we ran into

It was a challenge to connect our frontend to our backend. Due to time constraints, we stored our database locally on a member's computer, which made agentic workflow testing from other machines difficult. Our project also had a small number of files, so communication to prevent merge conflicts was key.

Accomplishments that we're proud of

We were able to build a smooth, clean implementation of several files operating on different programming languages in a short amount of time. We implemented a relevant process agentically by using Claude to make SQL queries.

What we learned

We learned about SQL querying and agentic workflows, as well as building API endpoints that are accessible and easy to use for frontend developers.

What's next for SQL Whisper

Our next challenge is to give our agent tools to build graphs and charts so that the user can visualize their data and easily explain it to others. On top of this, we want to host the tool remotely so that anyone can use it and access data with a whisper.

Built With

Share this project:

Updates