Valv Desktop gives opencode structured access to Postgres, MySQL, SQLite, and ClickHouse, using the opencode CLI already on your machine. Ask in plain language, get real SQL and live charts, and keep every credential on your laptop.
Valv detects the coding agents on your machine and drives them against your data. opencode brings whatever model you've set it up with, and the billing stays where it already is.
AI provider
Uses your provider setup. Nothing extra to pay.
opencode 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.
SELECT plan, count(*) AS churned
FROM cancellations
GROUP BY plan
ORDER BY churned DESC; 3 rows · saved to churn.html
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
Install Valv Desktop and add a connection string. Valv detects the opencode CLI on your machine and drives it against your database. You don't wire anything up by hand or paste credentials into a prompt.
Whatever you've configured in opencode. opencode is provider-agnostic, and Valv inherits your setup, so the same model and account you use in the terminal answers your database questions. Valv adds no separate AI bill.
Postgres, MySQL, SQLite, and ClickHouse. You connect the same way you would with any database client.
No. Credentials live in your OS keychain and queries run straight from your laptop. You can hide PII columns so opencode never sees them.
The beta is free, on macOS today.
Free macOS beta. Connect a database in a couple of minutes.