Latest Dex use case! https://github.com/exmergo/gta6-...

The data is in: opened PRs on GitHub are down 3.7% on GTA release day
PTO? Sick day? 24h gaming session?
We compared all newly opened PRs on Thursday, week over week.
Yesterday, newly opened PRs dropped by 3.7%.
This metric had been climbing for the past few weeks, and this marks the first time it dropped within our analysis timeframe.
PRs merged are down 2.5%, commits are down 3.4%.
This is based on GitHub's publicly available data.
We also conducted a one-sided t-test of release day against its prediction: p = 0.04
Try Dex to build better analytics and metrics, for the things you care about: https://trydex.ai/
Another release, another Dune quote.
This one is all about bringing Telemetry into analytics built with Dex, by default (and not as a paid add-on).
With this, @Dex by Exmergo's "maintain" capabilities just got a lot more powerful.
It's one of those "boring" features that has historically been kept behind an enterprise paywall.
But in the age of agents, we can open-source it, so that all builders can create sturdy data models and analytics.
We built this on top of the great dbt package from the Elementary team!
Check out the video to see how "The Emperor" tracks his spice shipments with Dex 👀
Huge shoutout to @catincloudlabs for helping bring Telemetry to life, and a big thanks to @fmerian for the hunt!
@catincloudlabs @fmerian @marco_ciavarella Curious how well the diagnostics hold up on erehouses with messy undocumented joins.
@vipul_kumar1280 great question!
I'd start with this command, which lets you infer and measure joins:
This is useful for brownfield warehouses/databases where foreign key constraints may not be explicit, but can be inferred (and then made explicit after some cleaning with `dex transform`).
This entire workflow is very agent-native, lots of details to check, so let your coding agent do this work for you!
More info on our docs page: docs.exmergo.com/dex
@marco_ciavarella Thanks for sharing this! Really helpful explanation, i will definitely explore the command and check out the docs. Appriciate your guidance!
@catincloudlabs @fmerian @marco_ciavarella Not hiding observability behind an enterprise tier makes it much easier to adopt early.
@aryan_mehta6 yes, and observability is something that usually gets set up "later when we need it".
But in order for it to have value later, it needs to be set up ASAP.
Which is why we package it in every project that stars with our Dex initialization command:
@marco_ciavarella Absolutely! Setting up observability from the beginning is a smart approach, Love how Dex makes this part of every project by default!
@catincloudlabs @fmerian @marco_ciavarella Trying dex maintain incidents and diagnose on a sample it much easier to adopt early.
@catincloudlabs @fmerian @amrita_prajapati2
You can run this command
It spins up a local demo DuckDB warehouse seeded with tables and data.
You can test Dex's features, with your agent, there!
Well done on launch number three.
@relli7 Thanks!
nice that the telemetry part is open source!!
how do the rules and context for the agents stay up to date ?
by hand, generated from the dbt models or learned from the fixes
@julien_zammit Thank you!
3-part answer for this:
1. Dex gives agents hardwired rules and guidelines through the CLI
An interesting example is this command
It fails if AGENTS.md doesn't contain the rules the Dex CLI installs by default in it.
(e.g. agent goes haywire and deletes rules it doesn't like)
2. Dex builds semantics and declarations in your dbt models
Dex helps generate facts about your data, and gives agents and people a way to embed decisional assumptions into the dbt models themselves.
Check out our previous launch for more details on this! Dex Semantics
3. Dex exposes telemetry your agent
By exposing the full run history as code (and not a third-party closed box) we give agents observability to make better decisions when fixing broken data models.
Curious how well the out-of-the-box skills hold up on messy legacy SQL models??
@deepaksingh09
Great question. 2-part answer:
1. We’ve tested on ade-bench and scored 80% with Claude Sonnet 5.5!
Sonnet 5.5 with no Dex achieves 73.3% instead.
Some of the tasks on the benchmark are specifically about messy legacy SQL models.
2. We received some great feedback from users who’ve worked on legacy (and sometimes on-prem) SQL models.
I don’t think we have a dedicated feature or command that specifically helps with migrating old SQL models to clean dbt models.
Worth it for a future release? 👀
Big congrats🙌on launch #3 bringing open-source telemetry..qq what extra signals does it add on top of elementary and dbt tests?
@priya_kushwaha1 Thank you! 🙌 Dex doesn't replace Elementary or dbt tests. It runs on top of them and adds three things.
- Checks written from what a model means. You declare what one row is, which rows belong, the units, how a number adds up and when it must be fresh. Dex writes the dbt tests and Elementary monitors from those declarations, and each monitor only looks at the rows the model promises.
- Incidents across runs instead of one result at a time. A failure opens an incident and two passes close it, so a flapping test stays one incident. A run that recorded nothing is never read as a pass. A check that quietly stops running ends as "no longer observed", not "fixed".
- The cause and the blast radius. Diagnose places the break between the last good run and the first bad one, with the commits in between. It checks for causes like rows that landed after the run read them, a batch loaded twice, a retyped source column, or a package or seed change. It also names the metrics that read the broken column, so you know which reports to hold.
@catincloudlabs super clean breakdown especially not treating empty runs as passes , pinpointing the exact metric blast radius best of the launch team
That opening line landed for me — I set up analytics to watch my apps, then never watch the analytics themselves until something's quietly been broken for weeks. I like that telemetry is built in by default here instead of a paid add-on, and that the run history is exposed as code so an agent can actually see it. When it spots a pipeline breaking or going stale, does it just surface that for me to fix, or can the agent go ahead and fix the model itself?
@jcbuilds Thanks JC, that gap is exactly why we built it.
Short answer: the agent writes the fix itself, but it doesn't ship it alone. When an incident opens, dex maintain diagnose traces it to a cause: a batch loaded twice, rows that landed after the run read them, a retyped source column, a model change in the range. It also names the metrics that read the broken column, so you know which reports to hold. If it can't confirm a cause, it says so instead of guessing.
The repair then comes back as a plan of reviewable diffs, and nothing in your project changes until a human approves it. That design piece is key. A "stale" pipeline may not need its SQL rewritten at all; the right fix may be "wait for the late rows, then rebuild." And an unreviewed fix can break things as quietly as the original problem did.
You can try the whole loop offline: dex demo, then dex maintain incidents and dex maintain diagnose.
@catincloudlabs That answers it — the agent writes the fix, but it comes back as reviewable diffs and nothing changes until a human approves it. The 'wait for the late rows, then rebuild' example is a good one too — not every stale pipeline needs its SQL rewritten.
Love the open source concept. Is using Dex better than building separate agents for this task?
@rajat_gupta51 Dex can be used by any agent! General purpose or analytics/data focused agents.