ggaytan901 / agentic-db-query
PublicNatural language to SQL in TypeScript β LLM text-to-SQL agent with schema injection, validation, Vercel AI SDK, REST API & CLI.
A TypeScript library that converts natural language questions into safe, executable SQL queries for PostgreSQL, SQLite, and MySQL databases using AI language models.
How It Works
You find a handy tool online that lets you chat with your database using everyday words instead of tricky commands.
You download and prepare the tool on your computer so it's all set up for use.
You link the tool to your database, like telling it where your information is stored.
You connect a thinking service so the tool can understand and answer your questions wisely.
You type a simple question like 'How many customers joined last month?' and hit go.
It instantly figures out the right way to fetch your data, runs it safely, and shows the answers with a clear explanation.
Now you easily get insights from your data anytime, feeling empowered without needing expert skills.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.