Skip to content

Agentic SQL Assistant

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

Featured in research

ACM CAIS '26

SQLsaber is featured in a paper accepted at the ACM Conference on AI and Agentic Systems (CAIS ‘26). Read the publication for a deeper look at the approach behind the tool.

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