[Go to site: main page, start]

MIT Open Source · 8 Database Engines · Local, CI & 24/7 Fleet

Database root-cause engineering, from laptop to 24/7 fleet.

One Rust diagnosis engine across a 14 MB native Studio, offline Pull Request migration gates, browser WebAssembly plan analysis, and self-hosted ADX or ClickHouse fleet telemetry.

  • Read-only by construction
  • Self-hosted · Zero SaaS lock-in
  • Audited MCP for coding agents
  • 100% Free & MIT Licensed

14 MB native desktop app, 10 ms CLI, and 27-tool local MCP.

Connect read-only to eight database engines. Culprit reads Query Store, pg_stat_statements, performance_schema, and Extended Events to rank what costs database time and prove how to fix it.

  • 71 evidence-gated checks with zero false-flag heuristics
  • Sub-second startup; credentials stay in OS keychain, Entra ID, or AWS IAM
  • Human-approved read-only SQL execution and full culprit audit log for agents
Culprit SQL Studio dashboard showing database time, plan regression marker, ranked findings, top queries, and waits

System Architecture

One pure Rust engine. Strict security boundaries at every hop.

Every Culprit product runs the exact same deterministic parser and evidence-gated check pipeline, keeping database credentials isolated inside your network.

01 · Sources

8 Database Engines

Reads existing catalog & workload views (Query Store, DMVs, pg_stat_statements, performance_schema, system.query_log, .xel, SQLite) with short lock timeouts.

Read-only1s stmt cap
02 · Collection

CLI & Bounded Collector

Runs on an engineer's workstation or as a VPC Kubernetes pod. Seals raw evidence and runs the pure Rust diagnosis pipeline locally.

culprit scanculprit collect
03 · Your Storage

ADX / ClickHouse + Blob / S3

Publishes CulpritIncidentsV1, CulpritFindingsV1, and CulpritChangesV1 into your analytical cluster and private object bucket.

Zero SaaSBYO Warehouse
04 · Triage & CI

Studio, Fleet, CI & MCP

Engineers and coding agents inspect root causes, plan diffs, blocking trees, and PR migration risks without touching live production DBs.

0 DB driversSARIF 2.1.0
Zero Host AgentsConnects over standard wire protocols; nothing is installed on database servers.
Zero-Driver Web TierCulprit Fleet compiles zero SQL drivers in CI; it reads only sealed warehouse tables.
Evidence-Gated VerdictsRates require >= 1 h of dated history; unused-index claims require >= 7 days.
MIT Open SourceEvery binary, Helm chart, Wasm module, and check ships under the MIT license.

Deterministic Output

Evidence, production-safe fix, and verification in one card.

High

A read from order_items times out on every run at ~15 s.

Why
The execution plan repeats an index lookup on order_items 1.5M times because OPTION (LOOP JOIN) overrides a single-pass hash join.
Fix
Remove OPTION (LOOP JOIN) so the optimizer selects a Hash Match join.
Verify
culprit verify prod confirms 1 scan of order_items and sub-200 ms elapsed latency.
  • 71evidence-gated checks
  • 8database engines supported
  • 27audited MCP agent tools
  • $0MIT license · zero per-seat tax

Enterprise Governance

Engineered for regulated production environments.

Security teams review source code, compile boundaries, and network topology rather than vendor promises.

Access Control

Read-Only by Construction

Scans query system views only. Production SQL editor requires explicit statement confirmation; fixes are suggested, never auto-applied.

Identity & Secrets

Keychain, Entra ID & IAM

Credentials live in macOS Keychain, Windows Credential Locker, Secret Service, Azure CLI / Entra OIDC, or AWS RDS IAM.

Network Topology

Air-Gapped & SSH Jump Hosts

Works fully offline inside private subnets or over OpenSSH jump hosts while preserving TLS verification.

AI Governance

Statement-Level MCP Policy

Per-connection agent policy (off, stats-only, or human-approved read-only queries rolled back with row/time caps) plus culprit audit.

Supply Chain

Signed & License-Verified

macOS builds are Apple-signed and notarized. Every release ships SHA256SUMS.txt and cargo-about verified THIRD-PARTY-LICENSES.txt.

Economics

Zero Per-Core or Per-Seat Fees

Replace $3k-$8k/instance/year legacy DBM licenses with MIT software and commodity ClickHouse or Azure Data Explorer storage.

Supported Databases

One diagnostic workflow across eight engines.

Inspect exact source requirements, permissions, and evidence rules for every supported database provider.

SQL Server

Query Store intervals, plan cache, DMVs, Showplan XML and Extended Events (.xel / XML).

PostgreSQL

pg_stat_statements, catalog and I/O views, EXPLAIN, hypopg and JSON/CSV logs.

TimescaleDB

PostgreSQL sources plus logical hypertable storage, chunk compression and background job views.

YugabyteDB

Native YSQL/DocDB RPC counters, DIST plans, yb_pg_stat_plans, ASH and tablet metadata.

MySQL

performance_schema digests and histograms, sys, JSON/tree EXPLAIN and slow query log.

MariaDB

performance_schema, slow_log table, userstat, ANALYZE FORMAT=JSON and Galera status.

ClickHouse

Logged initial queries, MergeTree parts and merges, mutations, replication and insert failures.

SQLite

Catalog pragmas, bounded dbstat, sqlite_stat1, EXPLAIN QUERY PLAN and framework query logs.

Architecture & Licensing

Technical FAQ

Security teams review source code, compile boundaries, and network topology rather than vendor promises.

Does Culprit install agents or stored procedures on my database?

No. Both Culprit SQL Studio and culprit collect read existing system views, Query Store, pg_stat_statements, performance_schema, or SQLite files over standard client connections without creating helper objects.

How does 24/7 fleet monitoring work without a SaaS backend?

You run culprit collect as a lightweight container or Helm release inside your VPC. It writes compressed observations and synthesized diagnoses into your own Azure Data Explorer or ClickHouse cluster plus Blob or S3, which Culprit Fleet reads with independent read-only credentials.

Can coding agents modify production data through culprit mcp?

No. Connections default to metadata and plans only. Even if you opt into read-only query approval, every statement is AST-verified read-only, executed inside a rolled-back transaction with strict row and timeout caps, and recorded in culprit audit.

Is the entire platform genuinely free for commercial enterprise use?

Yes. Studio, the CLI, the Collector, Culprit Fleet, Culprit Explain, the VS Code extension, @culpritsql/ci, and all SDK packages are published under the permissive MIT license.

Deploy deterministic SQL diagnostics across your stack.

Start locally in 30 seconds with Studio or CLI, gate migrations in GitHub Actions, or deploy Fleet across your cluster.