AskDB

JSON →
library 1.0.0-beta.20 ·javascript
verified Jun 5, 2026

AskDB is a CLI tool that converts natural-language questions into validated SQL queries for configured SQL dialects (e.g., PostgreSQL). It connects to a local or remote database, uses an LLM (OpenAI by default) to generate SQL, and returns results or a dry-run of the query. Currently at version 1.0.0-beta.20, it requires Node >=20 and is under active beta development. Key differentiators: it validates generated SQL against the database schema, supports dry-run mode, and focuses on CLI-first interaction.