Permission-aware text-to-SQL on your warehouse, in two weeks
Last updated 1 December 2026
You want an AI agent to answer questions from your database. Two things usually stop it: the schema is too big for the prompt, and the agent can see tables the person asking should not.
What we set up
- schemagate on your warehouse: PostgreSQL, MySQL, SQL Server, Oracle, Snowflake, BigQuery, Databricks or DuckDB.
- Access rules from the grants you already have (PostgreSQL, MySQL, Oracle, Databricks Unity Catalog), or from a policy file on other engines.
- A connection to your agent: Claude, LangGraph, Haystack, the Vercel AI SDK, or any MCP client.
What you get at the end
- A working setup in your environment, on a read-only database user.
- A report on 20 to 30 of your own questions: which tables were selected, how much smaller the prompt is, and every case where it picked wrong.
- A test showing that a user without access is refused, including when the query hides the table in a subquery.
What it does not do
- It does not write the SQL. Your model does.
- It does not read row filters or column masks. Your database still applies them.
Why us
The engine scores 74.34 execution accuracy on BIRD's hidden test set, scored by the BIRD team, and sends the model a median 91% fewer schema tokens on databases with 50 or more tables (method and raw results). It is open source under Apache-2.0, so nothing locks you in after the pilot.
Price and timing
$2,500 fixed, two weeks, one named engineer.
Built by XMagnet.
Start a pilot
Email support@schemagate.app. Tell us which database you use and which agent or framework, and we will reply with a start date.