Letting an assistant run SQL against your database is powerful — and a little bit scary. onvibe splits it in two so the power stays and the scary goes.
Two tools, two levels of trust
query_sql runs read-only statements — SELECT, WITH, and friends — freely, because a read can't hurt anything. execute_sql runs writes and DDL behind an approval gate, so an accidental DELETE FROM users or DROP TABLE can't slip through unnoticed. You see what's about to happen and confirm it.
Evolve the schema safely
Around those, introspect_schema lets you (or your assistant) inspect the current shape of the database before changing it, and forward-only migrations (apply_migrations) evolve the schema in a repeatable, recorded way — with that automatic pre-migration snapshot as a backstop.
It adds up to a database you can genuinely hand to an LLM without holding your breath.