Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 2010Tools index
Pricing
Open Source
Platform
cli · web
Type
TOOL
Date

About

A Python library that filters database schemas shown to an LLM in text-to-SQL pipelines based on the caller's identity and role, hiding tables the user isn't permitted to see before any SQL is generated. It reports 65–97% reductions in prompt tokens by excluding irrelevant or unauthorized schema objects, and works with any SQLAlchemy-supported database.

What it can do

  • Filter database schema visible to an LLM based on caller identity and role

    Database schema and caller identity/roleRestricted schema subset

  • Rank database schema objects for relevance before SQL generation

    Database schemaRanked schema objects

  • Reduce prompt token count by excluding irrelevant or unauthorized schema objects

    Database schemaReduced prompt tokens (65–97% reduction)

  • Connect to any SQLAlchemy-supported database to retrieve schema

    SQLAlchemy database connectionDatabase schema objects

Tags

text-to-sqlschema-securitymcppythondatabaserbacprompt-optimizationsqlalchemy

Media

schemagate

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.