Skip to content

dorylab/dory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

676 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Dory Logo

Dory

Dory is an AI-native Data Workspace for modern databases.

The AI-powered Data Studio youโ€™ve been waiting for.

It combines intelligent SQL editing, context-aware AI assistance, conversational database exploration, and deep operational integration across modern databases into a single unified studio โ€” helping engineers and analysts write, understand, and manage data more efficiently.

๐Ÿš€ Try Live Demo ย  โ€ข ย  ๐Ÿบ Install via Homebrew ย  โ€ข ย  ๐ŸŽ Download for macOS ย  โ€ข ย  Download for Windows ย  โ€ข ย  ๐Ÿ“ฆ Quick Start ย  โ€ข ย  ๐Ÿค Contributing ย  โ€ข ย  โญ Star

No signup required. Click โ€œEnter as Demoโ€ to start instantly.

๐Ÿ‘‡ Live Playground: https://app.getdory.dev

Dory Preview

๐Ÿš€ Quick Start

Install on macOS with Homebrew

brew install dorylab/dory/dory

Run with Docker

Make sure Docker is installed, then run:

docker run -d --name dory \
  -p 3000:3000 \
  -e DS_SECRET_KEY="$(openssl rand -base64 32 | tr -d '\n')" \
  -e BETTER_AUTH_SECRET="$(openssl rand -hex 32)" \
  -e BETTER_AUTH_URL="http://localhost:3000" \
  -e DORY_AI_PROVIDER=openai \
  -e DORY_AI_MODEL=gpt-4o-mini \
  -e DORY_AI_API_KEY=your_api_key_here \
  -e DORY_AI_URL=https://api.openai.com/v1 \
  -e NEXT_PUBLIC_REQUIRE_EMAIL_VERIFICATION=false \
  dorylab/dory:latest

To enable email verification, set RESEND_API_KEY to a valid resend key and EMAIL_FROM to a validated email.

๐Ÿง  Supported AI Providers

Dory is built with a pluggable AI provider architecture. You can freely switch between different model vendors by changing environment variables โ€” no code changes required.

Currently supported providers:

Provider Env DORY_AI_PROVIDER Description
OpenAI openai Default provider. Uses official OpenAI API.
OpenAI-Compatible openai-compatible Any service exposing an OpenAI-compatible API.
Anthropic anthropic Claude models via Anthropic official API.
Google google Gemini models via Google Generative AI API.
Qwen (Alibaba) qwen Qwen models via DashScope OpenAI-compatible endpoint.
xAI xai Grok models via xAI API.

โœจ Key Features

๐Ÿง  SQL Copilot

An AI assistant grounded in real database schema and current query context.

  • Ask โ€” Generate SQL from natural language
  • Action โ€” Fix or rewrite the current SQL
  • Context โ€” Explain query logic and field semantics

AI that understands your database โ€” not just text completion.


โŒจ๏ธ Schema-Aware Autocomplete

  • SQL completion based on real database schema
  • Suggests tables, columns, functions, and aliases
  • Supports multi-table joins and subqueries

image

โœ๏ธ Intelligent SQL Editor

  • Multi-tab SQL workspace with support for multiple result sets
  • Save and organize frequently used queries
  • AI-powered SQL Copilot for writing, explaining, and optimizing queries
  • Instant query visualization with built-in charts

image

๐Ÿ’ฌ Database Chatbot

  • Built-in conversational AI assistant
  • Automatically understands connected database schema
  • Ask questions directly about tables and SQL
  • Quickly locate field meanings and query ideas

image

๐Ÿ“ˆ ClickHouse Monitoring (Deep Integration)

A native observability interface designed specifically for ClickHouse.

  • Real-time metrics:
    • Total queries
    • Slow queries
    • Error queries
    • Active users
  • Query latency trends (P50 / P95)
  • Query throughput trends (QPM)
  • Multi-dimensional filtering:
    • User
    • Database
    • Query type
    • Time range

Dory Preview

๐Ÿ” ClickHouse Privileges (Deep Integration)

Native ClickHouse user and role management UI.

  • Create, edit, and delete database users
  • Create roles and configure grant relationships
  • Configure:
    • Login username and password
    • Allowed host addresses
    • Granted roles and default roles
  • Supports cluster-level privilege operations (On Cluster)
  • No need to manually write GRANT / CREATE USER SQL

๐Ÿ”Œ Database Support

Database Status
ClickHouse โœ… Deeply integrated
PostgreSQL โœ… Supported
MySQL โœ… Supported
MariaDB โœ… Supported
SQLite โœ… Supported (Beta)
DuckDB ๐Ÿšง Planned

๐Ÿ—บ๏ธ Roadmap

See the latest roadmap here:

Dory Roadmap


โš™๏ธ Tech Stack

  • Next.js + React + Tailwind
  • Drizzle ORM
  • Multi-model AI SDK integration
  • PGLite
  • Resend
  • Shadcn UI
  • Monaco Editor

๐ŸŽฏ Who is it for?

  • Data engineers
  • Data analysts
  • Database platform teams
  • ClickHouse operations teams

๐Ÿš€ Getting Started

Docker one-click deployment

Install on macOS with Homebrew: brew install dorylab/dory/dory

Desktop client: https://github.com/dorylab/dory/releases


Your data stays yours. Except for AI requests sent through Cloudflare Gateway, everything โ€” connections, tabs, and saved queries โ€” is stored locally on your device.

๐Ÿ“„ License

Apache-2.0

Packages

 
 
 

Contributors

Languages