I'm excited to share a project I've been working on to scale AI-native analytics patterns at Meta.
At Meta, we noticed that most product analytics questions come back to a handful of patterns. How active are our users? Are they coming back? Where do they drop off? What's driving the topline movements? Even so, teams kept rebuilding the same metrics, retention tables, funnels and growth accounting from scratch, and the near-duplicate logic made analysis difficult.
Our fix was to define each common pattern once, as a parameterized library, and redesign the stack so agents and humans can produce and consume analytics reliably. We call these Analytics Libraries. They cover seven core analytics patterns and power over 9,000 production pipelines across Meta.
A few things we learned along the way:
1. Agents are much better at filling in a typed spec than at writing SQL. When the library generates the SQL, the core logic can't be hallucinated.
2. Agents also do better calling a simple query API than writing queries by hand. The LLM picks the model, metric, and filters and a deterministic tool turns that into correct SQL.
3. Analysis recipes, the steps an analyst would follow for "why did this metric drop?", give more reliable answers than asking an agent free-form questions.
4. Standardization isn't free. It pays off for recurring, high-trust measurements, but forcing early exploration into rigid schemas slows teams down.
The main takeaway for any analytics team: find your patterns, standardize them, and document them well. You can't automate a mess, and the teams doing this groundwork now are the ones whose agents will actually work later.
I wrote up the full approach, with examples of the specs, the query tool, dashboards, and more of the downstream capabilities this architecture unlocks in the Analytics at Meta blog: medium.com/@AnalyticsAtMeta/…
2
155
A great night for @PeteButtigieg! Come meet Pete and support the campaign in Brooklyn March 5th! secure.peteforamerica.com/on…
Ben Rothschild retweeted
EIGHT co-champions!
The Scripps #SpellingBee ends in an unprecedented 8-way tie after 20 rounds of words 🏆
Ben Rothschild retweeted
All the Dem candidates as Michael Scott is the most accurate thing I have ever seen.
My new favorite tldr
Replying to @atrupar
Trump brandishes yet another graph, but says, "You do not have to know what the hell is on it. All you know is, that's a good line."
1
Ben Rothschild retweeted
As we've built Today In, we've started to generate a very detailed map of local news inventory-- where it exists and where it doesn't. Today we're releasing our data on news deserts to four academics- @businessofnews, @nicco, @pmnapoli + @docmattweber facebookjournalismproject.co…
Ben Rothschild retweeted
Call for papers!
Complexity and the City
guest-edited by @alerizzo_ @lajello @aminbits @ElsaArcaute @zpneal
Expression of interest by Feb 17, 2019
Find out more: appliednetsci.springeropen.c…
After looking at package-lock.json file I now believe it's a miracle that any node.js or react app runs
2
2
Every Building on Every Block: A Time Capsule of 1930s New York nyti.ms/2GKfGWS
Ben Rothschild retweeted
Can #AI help fix the news cycle? The AI Ethics Initiative invites engineers, scientists, journalists, and others to submit proposals to the AI News Challenge. A $750,000 prize will be divided among four winners. mitsha.re/5IbA30lQOuj
Clear skies and good vibes. Sending @samrothschild8 off to college, Purdue class of 2022. 👨💻📚 @ Purdue University instagram.com/p/BmeK40ElaT0P… – at West Lafayette, IN
3
Ben Rothschild retweeted
I'm looking for a creative, imaginative, urban, director of communications to help us spread the message about the excitement of understanding cities. Please retweet and/or apply here. This is super important to us:
uchicago.wd5.myworkdayjobs.c…
Was very impressed by all the sessions from #AWSSummit... here are some of my favorite quotes #AWSSummitChicago @awscloud
2
🤔🤔🤔 Or you could work with the democrats to raise the minimum wage
The last time unemployment levels were this low, there were 17 million SNAP recipients. Now there are 42 million. In our booming economy, there is no better time to encourage people to move off the sidelines and into the workforce. spkrryan.us/2NsNMgD














