kpis.do

Track Every Business Metric in Real-Time

Automated KPI tracking with AI-powered anomaly detection, root cause analysis, and natural language insights. Monitor revenue, growth, retention, and custom metrics—all updated in real-time with automatic alerts when metrics deviate from expected patterns.

Read the docs
index.tskpis.do
import { KPIs } from 'kpis.do' // Track revenue with anomaly detectionKPIs.track.Revenue.every.hour($ => {  const revenue = $.Database.query.sum('orders', 'amount', { status: 'completed' })  const analysis = $.AI.analyze.Metric({ metric: 'revenue', value: revenue })   if (analysis.anomaly && analysis.severity === 'high') {    $.Slack.send.Alert({ text: `Revenue down ${analysis.change}%: ${analysis.reason}` })  }})

One of 48 primitives

kpis.do sits in Business: goals, plans and the work itself. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs