Three modes

Three modes

Every mode calls real tools to gather evidence before answering — SAYA doesn't guess.

Quick Chat

Ask SAYA anything about your schema. It calls tools, gathers context, and answers in Markdown with runnable SQL blocks.

Skills

Run one of 6 curated profiling skills. SAYA gathers real statistics, authors profiling SQL, and returns a Markdown report plus runnable SQL.

Goal

Give SAYA an analysis goal. It plans the steps, runs SQL blocks, and streams results back. You control how much autonomy it has.

Tool catalog

The tool catalog

SAYA doesn't guess — it calls tools to gather real evidence before answering.

[+]
search_schema

Search tables and columns by business meaning.

[+]
run_query

Execute a read-only query to probe real data.

[+]
get_table_ddl

Fetch the CREATE TABLE statement.

[+]
get_table_stats

Row count and column metadata.

[+]
save_semantic_note

Save durable notes about table/column business meaning.

[+]
ask_user

Ask a clarifying question when more context is needed.

[+]
give_up

Stop gracefully when a question is unanswerable.

[+]
search_documentation

Search bundled SQL reference snippets.

[+]
search_notebook

Search your own saved SQL and markdown blocks.

Six profiling skills

Six profiling skills

Curated prompts instruct SAYA to gather real statistics, author profiling SQL, and return both a Markdown report and runnable SQL blocks.

profile_stats
Data Profiling Stats

Null percentages, distinct counts, min/max, top values, and type validation.

quality_scoring
Data Quality Scoring

Primary key uniqueness, foreign key integrity, NOT-NULL compliance, and completeness scores.

anomaly_detection
Anomaly & Outlier Detection

Numeric outliers, rare categorical values, and unexpected NULL bursts.

schema_docs
Schema Documentation & Semantic Typing

Human-readable column docs with inferred semantic types and PII candidates.

proactive_insights
Proactive Insights & Recommendations

Top data issues ranked by severity with diagnostic SQL queries.

relationship_discovery
Relationship & Correlation Discovery

Functional dependencies, key candidates, and recommended joins.

SAYA automatically adjusts its profiling approach for large tables to keep things fast.

Providers

Providers

Bring your own model. Cloud providers with native tool-calling, or run entirely on-device with Ollama.

ProviderModeDetail
Claude (Anthropic)CloudCloud-based inference with tool-calling support
OpenAI / compatibleCloudOpenAI-compatible endpoints with tool support
Gemini (Google)CloudCloud-based inference with tool-calling support
OllamaLocalFully on-device inference — no network required
OpenAI-compatible localLocalConnect any local OpenAI-compatible endpoint
Safety & guardrails

Safety & guardrails

  • Read-only GuardrailsEvery AI-authored query is validated to ensure only SELECT, SHOW, and EXPLAIN are permitted. DROP, DELETE, and TRUNCATE are blocked before execution — per database dialect.
  • PII ScannerQuery results are scanned for sensitive data patterns including SSNs, credit cards, emails, phone numbers, and IBANs. Redacted previews keep sensitive data out of AI output.
  • Enterprise Privacy ModeWhen privacy mode is enabled, the AI cannot execute queries against your data. It reasons from schema metadata only and authors SQL for you to run — no data leaves your machine.
  • Audit LogEvery AI run is logged locally with mode, target, tool calls, guardrail blocks, rows scanned, and outcome — available for your review anytime.
  • Repetition GuardA smart budget system prevents the AI from spinning on near-identical queries. Frequency and consecutive-repeat limits abort unproductive loops automatically.
  • Iteration Cap + CancellationA hard iteration cap prevents runaway runs. You can cancel any AI operation mid-flight at any time.