Guardrail Layer is a self-hosted AI data layer that sits between databases and the tools (APIs, LLMs, automations) that query them. It connects to MySQL or Postgres and automatically redacts sensitive fields, letting you run or even ask natural-language questions safely. Built with Node.js, TypeScript, Prisma, Postgres, and Docker, you launch it with a single docker compose up. It also lets you add metadata to help the AI understand your schema and even redact rows to keep data safe from users and the AI itself. [1]
dbDialog — a tool that lets you query your database in plain English, no SQL required — generates and executes the SQL under the hood and returns results fast. It follows a privacy-first principle: no AI gets direct access to your DB, nothing is stored or processed externally beyond what's needed. It also adds masking layers to prevent exposing data to LLMs. Getting started is simple: connect your database and ask questions like “What were sales last quarter?” [2]
A web admin interface for Cassandra built with Openresty and Alpine.js shows how accessible DB management can be in practice. While the interface is a project in progress, it demonstrates how GUI tooling complements safer access layers in the AI era. [3]
Together, these components lower barriers to AI-assisted DB work without sacrificing security. Plain-English queries, self-hosted safety layers, and intuitive admin UIs are reshaping how teams interact with data—without compromising safeguards. Watch the space as more integrations blend natural language with strong protections.
References
Show HN: Guardrail Layer – self-hosted AI data layer for secure DB chat
Open-source Guardrail Layer sits between databases and AI tools, redacts sensitive data, supports MySQL/Postgres, Docker; alpha, seeks feedback.
View sourceShow HN: dbDialog – Query your database in plain English (no SQL required)
dbDialog lets users query databases in plain English, generating SQL automatically, with privacy safeguards and no external processing.
View sourceShow HN: Web admin interface for Cassandra built with Openresty and Alpine.js
Show HN project: Cassandra web admin UI built with Openresty and Alpine.js, linked to IBM's cassandra-admin repo.
View source