ProductMay 20, 20255 min read
Introducing Kaveri: Natural Language to SQL
Kaveri is our AI-powered SQL assistant that converts plain English questions into precise database queries. Here's how it works under the hood.
Read more
Product updates, engineering deep-dives, and insights from the QueryAI team.
Kaveri is our AI-powered SQL assistant that converts plain English questions into precise database queries. Here's how it works under the hood.
Single-shot SQL generation misses context. We built a multi-turn tool-calling agent that inspects schema, samples data, and iterates to produce accurate queries.
OpenRouter gives us access to Claude, GPT-4o, Llama, Gemini, and Mistral through a single OpenAI-compatible endpoint. Here's how we integrated it.
How we implemented two-layer protection: input topic validation and SQL safety checks that block DROP, DELETE, UPDATE, and other dangerous operations.