What is TableAI?
TableAI is a native macOS database client for PostgreSQL, MySQL, MariaDB, SQLite, SQL Server and Amazon Redshift, with AI built in. Add your own API key from OpenAI, Anthropic, OpenRouter or another provider to generate SQL in chat or hand longer database tasks to the AI agent.

Connect to your databases
Section titled “Connect to your databases”Connect to local or cloud databases, with SSH tunnels and SSL/TLS for remote access. The tables sidebar shows your tables, columns, keys and indexes; start with connection basics.
Query and edit data
Section titled “Query and edit data”Write SQL in the editor and inspect results in a grid that stays responsive with many thousands of rows. Data edits stay local until Apply, and Preview SQL shows the statements before you commit them. You can also create and change tables in the structure editor, and move data with import and export.
The Admin section puts sessions, locks, slow queries, storage and index information in one place. Available checks depend on your database and permissions.
AI chat
Section titled “AI chat”AI chat uses the schema context you choose to write, explain and fix SQL. You supply your own provider and API key; requests go directly from your Mac to that provider.
The database agent
Section titled “The database agent”The database agent investigates questions by searching your schema, running queries and reading query plans. It executes only read-only SQL; proposed writes and structure changes come back as SQL for you to review.
AI Database Analysis
Section titled “AI Database Analysis”AI Database Analysis produces a report from database statistics and metadata you select, with recommendations such as indexes to add. Recommendations cite their evidence; table rows are never sent for the report.
Security and privacy
Section titled “Security and privacy”Database connections are direct, with no TableAI servers, proxies, telemetry, analytics, third-party data collection services or logs sent elsewhere. TableAI is available only through the Mac App Store: Apple reviews every version, and the app runs in the App Sandbox. Secrets stay in Keychain, and each connection has query guardrails; see security and privacy.
Get started
Section titled “Get started”TableAI requires macOS 14 or later. Install TableAI, then follow the quickstart to query and edit the included demo database.