SAYA AI Copilot
An agentic AI copilot that reads your schema, runs read-only probes, and returns Markdown reports with runnable SQL.
SAYA AI is an agentic copilot built into DataBook Studio. It reads your schema, runs read-only probes, and returns Markdown reports with runnable SQL blocks.
Three Modes
| Mode | Description |
|---|---|
| Quick Chat | Ask SAYA anything about your schema. It calls tools, gathers context, and answers in Markdown with runnable SQL. |
| Skills | Run one of 6 curated profiling skills. SAYA gathers real statistics, authors profiling SQL, and returns a Markdown report. |
| Goal | Give an analysis goal. SAYA plans the steps, runs SQL blocks, and streams results back. You control how much autonomy it has. |
How It Works
SAYA doesn’t guess — it calls tools to gather real evidence before answering. It can search your schema, run read-only queries, fetch table definitions, check row counts, and search your own saved SQL and documentation.
Providers
Bring your own model. SAYA works with cloud providers (Claude, OpenAI, Gemini) or runs entirely on-device with Ollama — no network required.
Safety
- Read-only guardrails — every AI-authored query is validated. Only SELECT, SHOW, and EXPLAIN are permitted. DROP, DELETE, and TRUNCATE are blocked.
- PII scanner — query results are scanned for sensitive data with redacted previews.
- Enterprise privacy mode — when enabled, the AI cannot execute queries. It reasons from schema only and authors SQL for you to run.
- Audit log — every AI run is logged locally for your review.
