Connect Grok to your database.

Valv Desktop gives Grok structured access to Postgres, MySQL, SQLite, and ClickHouse, using the Grok CLI already on your machine. Ask in plain language, get real SQL and live charts, and keep every credential on your laptop.

Uses the Grok CLI you already run. No extra AI bill.

Valv detects the coding agents on your machine and drives them against your data. Your model, your billing.

AI provider

Grok Active

Uses your xAI account. Nothing extra to pay.

Ask in plain language. Get real SQL, tables, and charts.

Grok turns your question into a query you can read, edit, and re-run. Results land as files in your workspace, the same files you and the agent both work on. See how the text-to-SQL flow works.

which plan churns the most?
SELECT plan, count(*) AS churned
FROM cancellations
GROUP BY plan
ORDER BY churned DESC;

3 rows · saved to churn.html

Column-level control. Grok sees only what you allow.

Credentials stay in your OS keychain and queries run locally. Hide PII columns and the agent never sees them. Access is deny-by-default.

AI access

orders Full access
subscriptions Full access
customers.email Hidden
payments.card_number Hidden

Grok + your database, answered

How do I connect Grok to my database?

Install Valv Desktop and add a connection string. Valv detects the Grok CLI on your machine and drives it against your database. You don't wire anything up by hand or paste credentials into a prompt.

Do I need a separate AI subscription for Valv?

No. Valv drives the Grok CLI you already have, with whatever xAI account or plan you've signed into it. Valv adds no keys of its own and no separate AI bill.

Which databases work with Grok through Valv?

Postgres, MySQL, SQLite, and ClickHouse. You connect the same way you would with any database client.

Does my data leave my machine?

No. Credentials live in your OS keychain and queries run straight from your laptop. You can hide PII columns so Grok never sees them.

Is Valv Desktop free?

The beta is free, on macOS today.

Point Grok at your database.

Free macOS beta. Connect a database in a couple of minutes.