Data
Give your agents full access to your databases.
Connect Postgres, MySQL, or ClickHouse and agents introspect the schema, write real SQL, and reason over the results in their own sandbox. Reach private databases through an SSH tunnel without opening anything to the internet.
5,000 free credits to start.
Agent reach
Postgres, MySQL, and ClickHouse over SQL
The full surface, searched at run time.
Connect with
- Connection string
Add an SSH tunnel with a password or private key for databases on a private network.
Event triggers
Not yet
Manual, schedule, and signed webhook are available.
What the agent can do
What agents do with Databases
Agents introspect the schema, write SQL, and work over the results in their own sandbox. Credentials stay outside the sandbox.
- Connect Postgres, MySQL, and ClickHouse with credentials stored envelope-encrypted.
- Introspect schemas - tables, columns, types, keys, and indexes - before writing a query.
- Write and run SQL against your data, then analyze results in the sandbox with code.
- Reach private databases through an SSH tunnel, so nothing needs public exposure.
- Grant read-only credentials so a reporting agent can never write.
- Queries run read-only with a 60 second timeout and a 100 row default limit.
Examples
Tasks you can hand to a database agent
Ask your database a question in English
The agent reads the schema, writes the SQL, runs it, and explains the answer - including the caveats in the data.
Which accounts grew usage more than 50% last month, and what do they have in common?
- postgres·introspect schema for usage tables
- postgres·query month-over-month usage by account
- code·cluster the growing accounts by attributes
23 accounts grew over 50%
- 18 connected a second integration last month
- Median team size 12, up from 7
- Query and assumptions included in the run
Publish a metrics report on a schedule
Every morning the agent runs the queries, computes the derived metrics, and posts a report your team reads.
Each morning, post yesterday's metrics with anything unusual called out.
- clickhouse·query events for the last 24h
- postgres·join account metadata
- code·compute trends and flag anomalies
- slack·post report to #metrics
Metrics · Mar 6
- Runs 41.2k · up 6% day over day
- Signups 128 · in line with the trend
- Error rate up 0.4pp, concentrated in one region
Run data quality checks every night
The agent checks the invariants you care about, and when one breaks it says which rows, since when, and what changed upstream.
Nightly, run our data quality checks and alert on failures.
- postgres·run 14 invariant checks
- postgres·isolate failing rows and first occurrence
- resend·email the on-call analyst
2 checks failed
- `orders.currency` null on 41 rows since 02:10
- `accounts.plan` has 3 values outside the enum
- 12 checks passed
Move data where it needs to be
Query results become CRM fields, spreadsheet rows, or an email. The agent handles the shape change in code.
Nightly, sync product usage into the CRM as account health fields.
- postgres·compute 30-day usage per account
- code·map usage into health tiers
- attio·update 480 account records
480 accounts synced
- 31 moved into `at risk`
- 18 flagged as expansion candidates
Triggers
How a database workflow starts
Databases does not emit event triggers yet. Workflows that use it start by hand, on a schedule, or from a signed webhook.
Manual
Run it from the app with an optional JSON payload. Every workflow supports this.
Schedule
A cron expression or a plain sentence such as every weekday at 9am. Times are UTC.
Signed webhook
A public URL per workflow. Requests are signed with HMAC-SHA256 and expire after five minutes.
Works with
Your databases work with the rest of your stack
One agent, one run, several services. It reads from one tool and writes to the next in the same sandbox.
Templates
Ready-to-run database workflows
Copy the prompt, connect your tools, and start a run.
Sales & RevOps
Churn risk watchlist
Joins billing signals with product usage and support volume to find the accounts drifting toward the exit.
Operations
Weekly metrics report
Queries your warehouse, computes the metrics your team argues about, and posts a report with the outliers called out.
Operations
Nightly data quality checks
Runs your invariants against production every night and emails the on-call analyst which rows broke and since when.
Use cases
Where database agents fit
Operations
Database reporting
A workflow reads your schema, writes the SQL, runs it, checks the results in its sandbox, and posts a report to the channel your team reads.
Operations
Billing operations
A workflow watches Stripe for failed charges and starts recovery. A second one reconciles what you billed against what your own database recorded after the books close.
Sales & RevOps
CRM data sync
A workflow computes usage from your database, joins it with billing state and support volume, and writes the result onto each account record every night.
FAQ
Questions, answered
Put an agent on your databases.
Connect it once and describe the task in chat. Then reuse the prompt as a workflow on a schedule or a webhook.