NextfitData & analytics

Spemakqy10k/Schemagate

A library that hides restricted tables from a text-to-SQL model before it writes a query.

DOES IT FIT?
Maybe

Clear security gain for SQL agents, but very new, with no tagged release yet.

High confidence. AI review, 2026-12-01. No person checked it. Based on the README, activity, licence and health signals.
Best for
Teams building SQL chatbots or agents over databases with many tables and access rules.
Good for
Data & reporting · Security & compliance
Setup
Easy
Licence
APACHE-2.0 · free to use and change

Business fit

Restricted tables never reach the prompt, cutting access risk and model token costs on large schemas.

Technical fit

Python package with optional drivers per database; Docker image; no GPU needed.

Try it locally

pip install 'schemagate[postgres]'

Project health

Check it yourself

README · Releases · Issues · Pull requests · Commits · Security · Licence

Open in Nextfit → · the original on GitHub

More in Data & analytics

All Data & analytics projects, best rated first