Kaleidb

Kaleidb quick-start

From install to your first query in about five minutes.

To get started with Kaleidb, install it, press Ctrl or Cmd Shift N, paste a connection URL such as postgres://user@host/db, and open a table. Edits wait in a pending-changes tray that shows the SQL, and Ctrl or Cmd K opens the command palette for everything else.

How do I install Kaleidb?

Download an installer from GitHub releases or use a package manager. Details and first-launch warnings are on the download page.

How do I connect to a database?

Press Ctrl/Cmd Shift N and paste a URL. Kaleidb recognizes these schemes and fills in the form:

postgres://user:pass@localhost:5432/mydb
mysql://root@localhost:3306/shop
mariadb://user@host/db
mongodb://localhost:27017/app
redis://localhost:6379/0
http://localhost:6333   # Qdrant or Chroma

SQLite connections open a local .db file. Give each connection an environment (prod, staging, dev or local): prod connections are read-only by default and show a red strip. Passwords are stored in your OS keychain, or kept for the session only if you prefer.

How do I edit data safely?

Double-click a cell, type, and press Enter. The change appears in the pending-changes tray with the exact SQL. Review it, undo or redo, then apply. A DELETE or UPDATE without WHERE asks for confirmation, and any write on prod does too.

How do I run a query?

Open a new query tab, write SQL (or a MongoDB or Redis command for those engines) and press Ctrl/Cmd Enter. Use EXPLAIN for plans, save useful queries to the SQL book, and switch results between Table, Chart and JSON.

How do I use Ask AI?

Open Settings, choose Anthropic, OpenAI, Gemini or Ollama, and add your API key (not needed for Ollama). Then press Ctrl/Cmd J in a query tab to write, explain or fix SQL. Requests go from the app directly to your chosen provider.

How do I connect an AI agent?

Open the MCP tab, set each connection's AI access, and copy the command for your client. Full guide: Kaleidb MCP for AI agents.

What are the keyboard shortcuts?

ActionShortcut
Command paletteCtrl/Cmd+K
Go to table, collection or keyCtrl/Cmd+P
New connectionCtrl/Cmd+Shift+N
New queryCtrl/Cmd+T
Run statementCtrl/Cmd+Enter
Run all statementsCtrl/Cmd+Shift+Enter
Explain query planCtrl/Cmd+Shift+E
Save to SQL bookCtrl/Cmd+S
Toggle visual query builderCtrl/Cmd+Shift+B
Ask AI to write or fix a queryCtrl/Cmd+J
History and SQL book panelCtrl/Cmd+Shift+H
Toggle sidebarCtrl/Cmd+B
Toggle light and dark themeCtrl/Cmd+Shift+L
MCP and AI accessCtrl/Cmd+Shift+M
SettingsCtrl/Cmd+,
Close tabCtrl/Cmd+W

Where can I get help?

Read the architecture notes, browse the issue tracker, or open a new issue with your question.