Graphene

Use Claude
for Analytics

Graphene gives your existing agent the business context and tools to perform data analysis, without trapping your metrics inside a rigid BI portal.

Net revenue retentionacme-analytics
What’s up next?
Localacme-analyticsmainworktree+148 −0Manually create PR
Describe a task or ask a question
AutoOpus 5High
localhost:3000/pages/net_revenue_retention

Where did net revenue retention go?

Net revenue retention fell from 112% to 98% between Q1 and Q2 — the first time it has landed below par in eight quarters. Gross churn barely moved and new expansion was roughly flat, so the drop is coming from contraction inside accounts we already had.

Splitting NRR by segment makes the source hard to miss.

Mid-Market is doing all of the damage

Net revenue retention by segment — trailing 4-quarter average vs Q2

Trailing avgQ2
Strategic
Enterprise
Public Sector
SMB · Self-serve
Mid-Market
0%40%80%120%

The ten accounts that moved the number

AccountSegmentΔ ARR
Northwind RetailMid-Market · NA−$284k
Kestrel LogisticsMid-Market · NA−$211k
Halcyon HealthMid-Market · EMEA−$176k
Claude app +

Trustworthy. Never guessed.

LLMs shouldn’t guess your business logic. Graphene couples general business context with strict metric and join definitions, ensuring agents query your database correctly.

Any agent
CLI
Graphene
Metrics & joinsBusiness contextSchema documentation
SQL
Your warehouse

Self-service, actually.

Give your colleagues a reliable place to answer their own data questions through Slack, their browser, or their own agent — without writing SQL, fumbling with clunky UIs, or waiting on the data team.

Slack app
Thread#analytics
grant8:17 AM

@Graphene which segments are growing the fastest?

GrapheneAPP8:18 AM

Measuring growth as net new ARR from Q1 → Q2, Strategic is growing the fastest:

  • Strategic — +24.6%
  • Enterprise — +14.2%
  • Public Sector — +6.1%
  • SMB · Self-serve — +3.4%
  • Mid-Market — −11.4% (shrinking)
View in Graphene
chart.png
Net ARR growth by segment
Reply…
Aa
Graphene Cloud
app.graphenedata.com/chat
Segment growthPublish
View full page

Segment growth

Net ARR growth from Q1 to Q2, split by the five segments we sell into. Growth is expansion minus contraction on accounts live at the start of the quarter, so new logos are excluded.

Net ARR added$4.1m
Fastest segment+24.6%
Segments shrinking1 of 5

Mid-Market is the only segment losing ground

Every other segment expanded on the quarter. Mid-Market’s contraction sits in the same handful of accounts behind the Q2 NRR drop.

Net ARR growth by segment, Q1 → Q2 (%)
Strategic+24.6%
Enterprise+14.2%
Public Sector+6.1%
SMB · Self-serve+3.4%
Mid-Market−11.4%
Claude Cowork
Segment growth

Which segments are growing the fastest?

Used Graphene MCP integration, ran 2 commands, used 3 tools

List tools
Reading resource
Get tool schema
Run a modeled query

Strategic is growing fastest at +24.6%, with Enterprise close behind at +14.2%. Mid-Market is the only segment shrinking — down 11.4% on the quarter. Worth noting: Strategic is only 9 accounts, so a single $1.4M expansion at Vantage Foods is most of that move.

Net ARR growth by segment, Q1 to Q2
Write a message…
ManualOpus 5High

Claude is AI and can make mistakes. Please double-check responses.

Any coding agent
~/acme-analytics

which segments are growing the fastest?

Read(semantics/accounts.gsql)

84 lines

graphene run "from subscriptions select segment,

net_arr_growth order by net_arr_growth desc"

5 rows · 240 ms

Strategic is growing fastest at +24.6%, with Enterprise close behind at +14.2%. Mid-Market is the only segment shrinking — down 11.4% on the quarter.

Net ARR growth by segment, Q1 → Q2:

segmentnet_arr_growth
Strategic+24.6%
Enterprise+14.2%
Public Sector+6.1%
SMB · Self-serve+3.4%
Mid-Market−11.4%

Worth noting: Strategic is only 9 accounts, so a single $1.4M expansion at Vantage Foods is most of that move.

⌃ for shortcuts

Everything as code.

Your business context, metrics, and dashboards live as code in your repo. Fully editable and auditable by coding agents, and fits where the data team already works.

Semantic models
subscriptions.gsql
-- One row per account per quarter, with the ARR
-- either side of it
table subscriptions (
account_id bigint
segment string
quarter string
starting_arr float #currency=USD
ending_arr float #currency=USD
join one accounts on account_id = accounts.id
is_contraction: ending_arr < starting_arr
-- Net revenue retention, defined once
nrr: sum(ending_arr) / sum(starting_arr)
)
Dashboards
net_revenue_retention.md
# Where did net revenue retention go?
NRR fell from 112% to 98% between Q1 and Q2.
Splitting by segment shows where it went.
```gsql retention_by_segment
from subscriptions
select segment, account.region, nrr
where quarter = '2025-Q2'
order by nrr
```
## Mid-Market is doing all of the damage
<BarChart data=retention_by_segment
x=segment y=nrr />

Develop in Core. Deploy it on Cloud.

Graphene is open-core, so that your metrics and dashboards are never locked in. Graphene Cloud helps you securely deploy intelligence across your organization.

Core

Open source
  • Dashboards as code
  • Business context
  • Metrics
  • Join relationships
  • Agent tools
  • Skills
  • Works with any agent
View on GitHub

Cloud

Hosted
  • Dashboard hosting
  • Collaboration
  • Slack agent
  • Web agent
  • Consolidated warehouse access
  • Agent observability
  • Data never stored at rest
Book a call