Show HN: Sqlsure – deterministic semantic checks for AI-generated SQL
Category: devtools
Tags: sql-validation, ai-agents, data-quality, text-to-sql, deterministic-checks
Score: 8.0/10 (Innovation: 7, Technical: 8, Documentation: 9, Utility: 8)
Sqlsure provides deterministic, offline semantic checks for SQL queries, catching logical errors like double-counted revenue or exposed sensitive data that databases and linters miss. It's innovative because it validates queries against existing metadata (dbt tests, primary/foreign keys, declarative rules) before execution, enabling AI agents to self-correct via machine-actionable fixes. With no runtime dependencies and proven zero false positives on major benchmarks, it fills a critical gap for safe text-to-SQL deployments.
Target audience: data engineers, analytics engineers, AI-agent developers, backend devs
Repository: https://github.com/sqlsure/sqlsure · Python · Apache-2.0 · 2 stars
View on Hacker News