Guide

5 MIN READ

How can a product manager get product usage stats without asking the data team?

A product manager can pull usage stats without a request by writing active users, adoption and retention into a data model over the company's data, with a coding agent such as Claude Code. Then every plain-English question uses those same definitions.

James Swirhun

James Swirhun

Published Nov 29, 2026

James Swirhun is Head of Product at Credible, an AI analytics engine that gives AI agents, data apps, dashboards and reports one data model to answer from, so everyone gets the same numbers.

You have a roadmap review on Thursday. You need to know how many accounts used the new export feature last month, and whether they kept using it. The event data is in the warehouse, and so are accounts and plans. The number still comes from a request to the data team, and you wait.

Why does it take days to get product usage numbers?

The usage questions that matter at a roadmap review reach beyond the event stream. They join product events to accounts, plans or revenue, and each join needs a decision:

  • "How many paying accounts used export in October?" Events, accounts and billing status. Which accounts count as paying?
  • "Is retention better on the annual plan than the monthly plan?" Events and each account's plan history. The plan at the time, or the plan today?
  • "Did enterprise accounts adopt the new editor faster than small teams?" Events and account segments. Adoption by user or by account?

None needs difficult SQL. The hard part is knowing which reasonable answer the company already uses. Those decisions used to live only with the data team, so the question waited for them. With a coding agent such as Claude Code, a product manager can now make them directly, working in the data the way they already work in the product's code.

Why can't a product analytics tool answer these on its own?

Product analytics tools are built around events: clicks, page views, feature use and sessions. They answer funnel, path and cohort questions well. Many now bring warehouse tables in: Mixpanel's warehouse connectors sync tables from Snowflake, BigQuery and others, and PostHog's data warehouse queries synced sources alongside events.

Bringing tables in doesn't settle the definitions. If the tool counts an active user one way and the data team's reports count it another, the roadmap review gets two numbers. These are the choices that change each number:

MetricChoices that change the number
Active userWhich events count (a login, or a real action); daily, weekly or monthly window; whether internal and test accounts are left out
Feature adoptionAll accounts, or only accounts whose plan includes the feature; counted by user or by account; one use or repeated use
RetentionBy user or by account; measured from signup or from first use of the feature; what counts as coming back
Plan or segmentThe plan at the time of the event, or the plan today

How do you build product analytics on your own data?

Write those choices down in a data model, and let your agent answer from it. A data model is a set of files that says how tables join and what each metric means. If you can read the event data, in a warehouse or as an export of logs, you can start one yourself, on your laptop, with open-source Malloy Publisher:

mkdir product-usage && cd product-usage
npm create @malloy-publisher/malloy-package@latest usage -- --data ~/events.parquet
npm start

That builds a package around the file, connects your agent to it over MCP, and serves it on localhost. --data takes a CSV, Parquet, JSON or Excel file. For a warehouse, point the model at a connection instead. Start your agent, such as Claude Code, in that directory and ask:

Define weekly active accounts as accounts with an export, edit or share event that week, leaving out internal accounts. Join events to accounts and their plan at the time. Show weekly active accounts on the Pro plan for the last 12 weeks, and build a dashboard of it.

What you get:

  • Any table you can reach. The model sits over your data, so events can join to accounts, plans, billing or support tickets, and no table has to be synced into another tool first. The model also says how each join works, so an account's revenue isn't repeated on every event row (how a join double-counts).
  • Definitions in one place. The next question about active accounts uses the same rule, so you don't audit or re-derive the number each time.
  • Dashboards and data apps on localhost. Publisher serves a package's HTML pages and notebooks next to the model, all querying the same definitions.

How do you share it with your team?

The model is plain text, so it can become the shared one. Host Publisher yourself, or publish to Credible, and the team asks from a chat app with the same definitions:

  1. You write what each metric means, with your agent. Someone who knows the data reviews the change, the way code is reviewed.
  2. The model is published, so agents and dashboards read it.
  3. Anyone asks in a chat app: "Weekly active accounts on the Pro plan, last 12 weeks." The agent finds the defined metric, runs the query, and says which definition it used.
  4. When a definition is missing or wrong, someone fixes it in the model, and every later answer uses the fix.

How do you check a self-serve number?

How do I know if an AI answer about our data is right? covers how to check an answer yourself. Why don't AI answers match our dashboards? covers why an AI answer can differ from a report.

How can a product team start?

Everything above runs on open source. Malloy and Malloy Publisher are MIT-licensed, with analysis skills that tell an agent to look up definitions and check its work. The tutorial has more on the setup above.

Credible runs the same models and skills as a managed service. It connects to your data where it lives: BigQuery, Snowflake, Postgres, Databricks, spreadsheets and CSV files. An agent drafts the model with you, and each change is reviewed before it's published. Then you ask from Claude, ChatGPT or Gemini or Slack. See what goes into a data model or pricing.

Frequently asked questions

What is the difference between DAU and MAU?

Daily active users (DAU) counts the distinct users who did a qualifying action on a given day. Monthly active users (MAU) counts them over a month. Dividing DAU by MAU gives a rough measure of how often people come back. Both depend on which actions count as active, so two teams can report different values from the same data.

What is a feature adoption rate?

A feature adoption rate is the share of eligible users or accounts that used a feature in a period. Two choices change it most. The first is the denominator: all accounts, or only accounts whose plan includes the feature. The second is the bar for use: a single try, or repeated use. State both next to the number.

Do product managers need to learn SQL to query a data warehouse?

No. A product manager can ask in plain English through an AI agent, as long as the metrics are defined where the agent can read them. And to check a number, you don't have to read SQL: Malloy, a query language that compiles to SQL, names the model's defined measures and joins, so a query is short enough to read without knowing SQL well. Malloy vs. SQL →

How do I connect our product analytics to Claude?

Write the metrics into a data model over your event and account data, then serve it over MCP, the standard way agents connect to tools. Malloy Publisher is open source and serves a model on your laptop, and Claude Code started in that directory finds its tools. Claude then answers from your definitions instead of guessing from raw tables.

The AI Analytics Engine

Make your data Credible

Model your data's meaning, and the AI Analytics Engine delivers answers you can trust to every agent, data app, and dashboard that asks.

Get started

Guide

5 MIN READ

How do I know if an AI answer about our data is right?

You know an AI answer about your data is right when you can check it. The answer names the definition, dates and query it used, matches a number you already trust, and comes from a system tested on questions with verified answers.

Reviewed Nov 28, 2026

Guide

7 MIN READ

Why don't AI answers match our dashboards?

An AI agent's total disagrees with the dashboard when it assumes a different definition, double-counts across a join, counts rows instead of orders, reads a partial month as a drop, or rebuilds a filter differently. How each happens, and how to check an answer.

Reviewed Nov 5, 2026

Guide

7 MIN READ

What is the best semantic layer for AI agents?

The best semantic layer for AI agents serves your business rules to the agent and applies access rules to every query it sends. Compare the options on what the model can express, how an agent finds a field, where access rules live, and what is open.

Reviewed Nov 28, 2026