Skip to content
SQLsaber terminal demo showing natural language query

SQLsaber: AI SQL Assistant for Natural Language Database Queries

Ask questions in plain English. SQLsaber reads your schema, writes SQL, runs it securely, and explains the results.

What SQLsaber does

Schema-aware queries

Automatically introspects your database structure. No manual schema documentation needed.

Safe execution

Read-only by default. SQLsaber won’t modify, delete, or alter your data.

Knowledge base

Store reusable KPI/query definitions and business semantics with saber knowledge add so answers stay consistent.

Conversation threads

Resume past conversations. Ask follow-up questions without repeating context.

Works with your stack

  • Databases: PostgreSQL, MySQL, SQLite, DuckDB, CSV files

  • AI providers: Anthropic, OpenAI, Google, and others

  • Interface: Interactive REPL or single-shot CLI queries

  • Composable: Pipe queries, redirect output, use in scripts

Get started in 2 commands

Terminal window
# Install
uv tool install sqlsaber
# Run (walks you through setup on first launch)
saber