Natural Language to SQL
Query Generator

SQL Agent converts your questions into SQL queries. Connect to PostgreSQL, MySQL, or SQLite and explore your data instantly — in your terminal or right in the browser.

The live demo runs real natural-language queries against a sample database — no signup, no install.

Create a free account to use the Web Workspace and download the CLI.

sql-agent

$ sql-agent connect --url "postgresql://localhost/mydb"

✅ Connected to postgresql

📊 Found 12 tables

🤖 SQL Agent ready! Type 'exit' to quit, 'help' for commands.

Prompt: Show me all users created this week

📝 Generated SQL:

SELECT * FROM users

WHERE created_at >= CURRENT_DATE - INTERVAL '7 days'

ORDER BY created_at DESC;

Execute this query? [y/N]: y

✓ 23 rows returned

One Tool, Two Ways to Work

Query your databases from the terminal or from the browser — whichever fits the moment. Same AI agent, same safety rules, same account.

Use it in your terminal

A lightweight CLI that lives where you already work. Local connection profiles, query history, and offline-capable LLM providers — your credentials never leave your machine.

  • Runs entirely on your machine
  • Works with Ollama for fully offline use
  • Windows, macOS, and Linux installers
Download the CLI →

Use it in your browser — no install

The Web Workspace gives you the full agent from any machine: connection profiles, a schema browser, query history, saved queries, and CSV/JSON/XLSX exports — with credentials encrypted at rest.

  • Nothing to install — works on any machine
  • Schema browser, history, saved queries, exports
  • Bring your own LLM key or use ours
Explore the Web Workspace →

One license unlocks both.

Every plan — including the 14-day free trial — activates the CLI and the Web Workspace with the same API key. No separate tiers, no add-ons.

What is SQL Agent

SQL Agent is an AI-powered natural language to SQL converter that transforms everyday questions into precise database queries. Use it in the Web Workspace or from the CLI, whether you're a developer, data analyst, or database administrator.

Simply type what you want to know — like "show me all orders from last month" — and our intelligent SQL query generator creates the correct query for your database. The AI SQL assistant understands context, handles joins, aggregations, and complex filters automatically.

SQL Agent works with PostgreSQL, MySQL, and SQLite out of the box. Connect from the browser or terminal, ask questions in plain English, and get instant results. Built-in read-only mode and query validation help you explore data with confidence.

View pricing plans Compare natural language SQL vs manual SQL Read the FAQ Request a demo

Why SQL Agent?

Natural Language

Skip learning complex SQL syntax — just ask questions in plain English. SQL Agent is perfect for SQL beginners and experienced developers alike. Describe what data you need, and the AI instantly generates the correct SQL query. No need to memorize SQL commands or study SQL programming basics.

Safe by Default

Your data stays protected with built-in safety features. Read-only mode prevents accidental modifications, while the query validator blocks dangerous SQL commands like DROP and TRUNCATE. Execute SQL queries with confidence knowing that database management is secure and reversible actions are clearly flagged.

Multi-Database

Connect to PostgreSQL, MySQL, or SQLite databases with a single tool. SQL Agent automatically detects your database type and generates compatible SQL syntax. Whether you're working with a local SQLite file or a remote PostgreSQL server, the same simple SQL interface works everywhere.

Why Choose SQL Agent?

SQL Agent bridges the gap between natural language and database queries. Whether you're a developer speeding up your workflow, an analyst looking for quick insights, or new to databases, you can work in the browser or terminal on your own terms.

Choose the Web Workspace for access from any browser, encrypted connection profiles, visual schema browsing, history, saved queries, and exports. Choose the local CLI when you want terminal-native workflows, local credential storage, or fully offline operation with Ollama.

Stop wasting time looking up SQL syntax or debugging malformed queries. SQL Agent understands context: ask follow-up questions, refine your results, and explore your data conversationally. Complex joins, aggregations, subqueries, and window functions are generated automatically based on your database schema.

Get started free with no credit card required. One account unlocks the Web Workspace and CLI, so you can run a quick browser query, build complex reports, or continue from your terminal.

Download SQL Agent CLI

Version 1.06 • Choose your platform

Create a free account to use the Web Workspace and download the CLI.

Linux penguin logo

Linux (Universal)

sql-agent-linux.tar.gz
41.8 MB

Download
Linux penguin logo

Linux (RedHat/CentOS)

sql-agent-1.0.0-1.x86_64.rpm
41.8 MB

Download
Linux penguin logo

Linux (Debian/Ubuntu)

sql-agent_1.0.0_amd64.deb
41.5 MB

Download

macOS

sql-agent-installer-signed.pkg
36.0 MB

Download

Windows

sql-agent-installer.exe
40.5 MB

Download

Quick Start

# After installation, activate your license:

$ sql-agent login YOUR-LICENSE-KEY

# Connect to your database:

$ sql-agent connect --url "postgresql://user:pass@host/db"

# Start asking questions!

Prompt: Show me the top 10 customers by revenue

Supported Databases

SQL Agent works seamlessly with the most popular relational databases. Connect in the Web Workspace or CLI and start querying with natural language.

PostgreSQL elephant logo

PostgreSQL

Full support for PostgreSQL databases including advanced features like JSON queries, window functions, CTEs, and array operations. Connect to local or remote PostgreSQL servers.

MySQL dolphin logo

MySQL

Complete MySQL and MariaDB compatibility. SQL Agent generates optimized queries for MySQL-specific syntax, stored procedures, and handles connection pooling automatically.

SQLite

Perfect for local development and embedded databases. Query SQLite files directly without any server setup. Ideal for prototyping, testing, and lightweight applications.

Need help choosing? Check our FAQ or request a demo.

Ready to simplify your database queries?

Start with a free trial. No credit card required.

Have questions? Read our FAQ or contact support.