Skip to content

Agentic SQL assistant

Ask questions in plain English. SQLsaber reads your schema, writes SQL, runs it read-only by default, and explains the results.

Featured in research

ACM CAIS '26

SQLsaber appears in a paper at the ACM Conference on AI and Agentic Systems (CAIS ‘26).

What SQLsaber does

Schema-aware queries

SQLsaber reads tables, columns, indexes, comments, and relationships from the database. You do not maintain a separate schema file.

Safe execution

SQLsaber allows SELECT only unless you pass —allow-dangerous.

Knowledge base

Save KPI definitions and SQL patterns with saber knowledge add. The agent searches them when a question matches.

Conversation threads

Resume a saved conversation without restating earlier context.

Works with your stack

  • PostgreSQL, MySQL, SQLite, DuckDB, CSV, and Parquet

  • Anthropic, OpenAI, Google, Groq, xAI, and other providers

  • Interactive mode or a single CLI question
  • stdin, redirects, and scripts

Install and run

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