Skip to content
AiProductsHunt AiProductsHunt

valv - TS library

Give AI agents safe, scoped access to your database

Visit website
Screenshot of valv - TS library

About valv - TS library

Most agents get one god-mode DB connection, valv gives every user their own. A customer asks your support agent "where's my order?" With a raw connection, that query could read every other customer's rows too. With valv, you set programmatic per-user permissions once, every query is validated and scoped to the caller, and no raw SQL ever hits your DB. Ships as an MCP server or a TypeScript library.

Reviews 3

Your rating

Thanks! Your review is posted.

Sign in to rate and review valv - TS library.

  • Zachariah Hudson 4 months ago

    The per-user permission setup felt surprisingly painless, and I like that it blocks raw SQL entirely instead of just hoping nothing slips through.

  • Michel Heathcote 4 months ago

    Curious how this plays with Postgres row level security that's already in place — do you end up wrapping those policies or replacing them entirely?

  • Karley Frami 4 months ago

    How does it actually validate the SQL when it's coming from an LLM, since the model can pretty much construct any query it wants?

Compare