No telemetry, no TableAI server
Privacy-first AI database client
TableAI is a private AI SQL client for Mac: it connects straight to your database and sends AI requests straight to the provider you choose.
Download on App StoreWhat each AI request sends
Each AI tool sends only what its job needs. Pick the tool by how much of your data the question requires.
Write a query for monthly revenue by country
Chat mode
Sends your message, recent messages and the context you leave on: schema, editor SQL and row counts. No table rows unless you attach them.
Only show orders over 100
Ask AI in the grid
Sends your request, the loaded schema and the active tab’s editor SQL. Grid values, chat history and SQL from other tabs stay on your Mac.
Find shipments that were sent but never delivered
Agent mode
Runs read-only queries and sends limited previews of their results, 50 rows and 40 columns by default. TableAI asks before the first preview unless you change Preview Consent.
Why is this query slow?
Explain with AI
Sends the query and its EXPLAIN plan, which can include literal values and filter conditions. EXPLAIN ANALYZE runs only when you confirm.
Which indexes should I add?
AI Database Analysis
Sends the metadata you select, such as table and index statistics and slow-query statistics. It never sends table rows and removes literal values from query text.
Privacy and safety controls in TableAI
Where the app stores your secrets, what it may run on your database, and what it keeps on your Mac.
App Sandbox and the Mac App Store
TableAI runs in the macOS App Sandbox and opens only the files you pick in a file dialog, plus your Downloads folder. It ships only through the Mac App Store, where Apple reviews every version.
Security and privacyRead-only database agent
Agent mode runs only read-only SQL, and the app enforces it. Writes, schema changes, permission changes and admin SQL come back as SQL for you to review.
The database agentPreview Consent
Choose when the agent may preview query results: Ask Once (the default), Always Allow, Always Ask or Never Preview. Previews stop at 50 rows and 40 columns; you can raise the row limit to 500.
Control automatic previewsQuery Protection
Each connection has a Query Protection mode. Safe Mode runs read-only SQL and asks before anything that changes data or schema, including SQL the AI wrote.
Query guardrailsLogs and history stay on your Mac
Diagnostic logs exclude SQL, schemas, query results, AI prompts and AI responses, and are never sent anywhere. Query history and saved chats stay on your Mac too.
Local recordsSSH host keys and SSL/TLS
TableAI checks an SSH server’s host key and asks you when it is unknown or has changed. SSL/TLS supports Verify Full, Verify CA and Require modes, a custom root CA and client certificates.
Connect over SSL/TLS
How to use a private AI SQL client on sensitive data
Settings that limit what reaches your AI provider and what can run on your database.
Prepare a production connectionTurn off context you don’t need
In Settings › Chat, under Context Information, switch off Database Schema, SQL Editor Content or Number of rows. Schema includes column comments, so check those as well.
Limit or stop result previews
Set Preview Consent to Always Ask or Never Preview, or use Chat mode, which reads nothing from the database on its own.
Start a new chat for a new question
Recent messages, and the values attached to them, go with follow-up questions. A new chat leaves the earlier conversation out of new requests.
Connect with a read-only database user
Database permissions are the last line. With a read-only account, no SQL from that connection can change data, whoever wrote it.
Send AI requests to your own server
Set a Custom Endpoint in Settings › Intelligence to use your own proxy or self-hosted service. That service then receives your requests and their database context.
What your AI provider receives
Requests go straight from your Mac to the provider you set up, with your own key. No TableAI server handles them.
- Chat mode
- Your message, recent messages and the context you turn on: schema, the SQL in the editor and grid row counts. No table rows unless you attach them.
- Attached data
- The values you select, as CSV with your message. Attachments in recent messages can be sent again with follow-up questions.
- Ask AI in the grid
- Your request, the loaded schema and the tab’s editor SQL. No grid values and no chat history.
- Agent mode
- The chat context, plus the SQL it runs, limited result rows (50 by default), EXPLAIN plans and database errors.
- Iterate with AI
- Your instruction, the statement under the cursor and the schema.
- Explain with AI
- The query and its EXPLAIN plan, with schema and earlier questions from the chat.
- AI Database Analysis
- The metadata you select: schema, table and index statistics, server settings, slow-query statistics. Never table rows; literal values are removed from query text.
- Your Mac connects straight to the database and to your AI provider. No TableAI server sits in between.
- Database passwords, SSH secrets and AI keys are stored in the macOS Keychain.
- No telemetry, analytics or third-party SDKs.
Everything you expect
from a database client
Work with data
Fast data grid
Stays smooth with many thousands of rows.
SQL autocomplete
Suggests tables, columns and keywords as you type.
Edit data safely
Change, add and delete rows. Nothing is saved until you click Apply.
JSON tree editor
Expand, edit and move nested values without touching raw text.
Tables and trust
Edit table structure
Columns, keys and indexes, with the SQL shown first.
Import and export
CSV, JSON, NDJSON and SQL, with a review before import.
Query guardrails
Changes to data or schema can wait for your approval.
Query history
Search every query that ran, including the AI agent’s.
Safely distributed through the App Store
The Mac App Store is the safest place to get Mac apps, because App Store team reviews every app before you can install it. That’s why TableAI is available only there.
Download on the App StoreApp Store reviewed
Apple reviews every version before it reaches the store.
Code-signed and verified
macOS checks the signature, so you know the app wasn’t changed.
Sandboxed by macOS
TableAI can open only the files you choose.
Start in three steps
Install TableAI
Download it from the Mac App Store. Apple reviews every version, and updates arrive through the App Store.
Download on the App StoreConnect your database
Choose File › New Connection, pick the database type, and enter the host or paste a connection URL. Add an SSH tunnel or SSL certificates if the server needs them.
Connection basicsAdd your AI key
Open Settings › Intelligence, choose OpenAI, Anthropic, DeepSeek, Alibaba or OpenRouter, paste your API key and turn on the models you want.
Set up AI
Privacy-first AI database client: questions
A privacy-first AI database client is a database client with AI built in that sends your data only to your database and to the AI provider you choose. TableAI is a native macOS client for PostgreSQL, MySQL, MariaDB, SQLite, SQL Server and Amazon Redshift with no TableAI server, no telemetry and your own AI key.
Only rows you choose to share: values you attach in chat, or read-only previews in Agent mode, which ask before the first one by default. Chat mode, Ask AI in the grid and AI Database Analysis send no table rows on their own. What each AI action sends.
No. Your Mac connects directly to your database and sends AI requests directly to your provider. The only thing TableAI receives is the in-app feedback form, and only when you click Send.
In the macOS Keychain: database passwords, SSH secrets, AI provider keys and remembered SSH host keys. Deleting a connection in TableAI removes its secrets from the Keychain.
No. The database agent runs only read-only SQL, and the app enforces it. Writes and schema changes come back as SQL for you to review and run under your query guardrails.
No. TableAI has no analytics, no tracking and no third-party SDKs that collect data. It connects only to your databases, the AI provider you choose and Apple services.
No. Sync runs only if you turn it on, and it shares supported connection details through your own iCloud account without database passwords.
Yes. Set a Custom Endpoint in Settings › Intelligence to use your own proxy or self-hosted service. That service then receives your requests and their database context.
OpenAI, Anthropic, DeepSeek, Alibaba and OpenRouter. You add your own API key in Settings › Intelligence and choose which of the provider’s models appear in TableAI. Requests go straight to that provider, and it bills you for them. How to keep AI costs down.
No. Browsing, querying, editing data, changing tables, import and export, and the Admin section all work without an AI provider. To use AI chat, the database agent or AI Database Analysis, add your own key from OpenAI, Anthropic, DeepSeek, Alibaba or OpenRouter in Settings › Intelligence.
Yes, for one saved connection. The free plan includes every feature, including the AI tools, with no time limit. A paid plan adds unlimited saved connections and costs $12.99 to $49.99 a year, depending on your country; monthly and lifetime options are also available.
