A demo-quality tool for flow metrics and Monte Carlo forecasting, against GitHub (PRs and Issues) or Atlassian Jira issue data. Built on the kanban flow-metrics framework as laid out in Daniel Vacanti’s Actionable Agile Metrics and When Will It Be Done? — assumptions are surfaced on the page itself, not buried in docs.
Live site: https://dvhthomas.github.io/flowmetrics/
The dashboard splits into a Current state snapshot (Aging WIP, pinned to the latest data) and a Time slice (Throughput, Cycle Time, CFD, Forecast — all driven by the Period picker). Same shape for every workflow:
GitHub — astral-sh/uv (PR review cycle)
Jira — Apache CASSANDRA (richer multi-stage workflow)
More screenshots → — per-metric detail pages, the contract builder, and the data-source page.
Example workflow YAMLs → — copy-paste starters for GitHub PR cycles, label-driven workflows, and Atlassian Jira projects.
# 1. Install uv (Python toolchain). macOS / Linux / Windows one-liners
# at https://docs.astral.sh/uv/.
brew install uv # macOS
# curl -LsSf https://astral.sh/uv/install.sh | sh # Linux
# irm https://astral.sh/uv/install.ps1 | iex # Windows PowerShell
# 2. Install flowmetrics as a global tool (isolated env, exposes `flow`).
uv tool install git+https://github.com/dvhthomas/flowmetrics
# 3. Smoke-test.
flow --help
Full walkthrough: Tutorial — zero to dashboard in five minutes.
Interactive dashboard — start the server, configure workflows in
the browser, browse charts. The wizard probes your GitHub repo or
Jira project, suggests stages, and writes a workflows.db — no
hand-edited YAML needed.
flow serve # → http://127.0.0.1:8000 → "+ New workflow"
# macOS + Linux: `flow serve --bg` installs a persistent native
# service (launchd / systemd-user) so the dashboard survives
# logout and reboot.
Metric extraction for agents — graphics-free text + JSON output
for pipelines and headless analysis. Each command points at a
configured workflow (--workflow-name) or a YAML file
(--workflow-yaml).
$ flow metric cycle-time --workflow-name astral-uv \
--start 2026-05-04 --stop 2026-05-10
astral-uv (astral-sh/uv) 2026-05-04 → 2026-05-10: 46 completed items;
P50=1.2d, P85=3.4d, P95=7.1d.
$ flow forecast date --workflow-name astral-uv --items 50 --format json \
| jq '.summary.percentiles'
{"50": "2026-05-19", "70": "2026-05-21", "85": "2026-05-23", "95": "2026-05-26"}
flow forecast date (date for N items)
and flow forecast throughput (items by target date) at
50/70/85/95% confidence.Most flow-metrics products implement the kanban-flow toolkit partially or with subtle distortions — a CFD that smooths over the vertical-distance-equals-WIP property, an Aging chart with percentile lines drawn from arbitrary windows. This project implements the math honestly, surfaces the assumptions on the rendered page itself rather than hiding them in docs, and links out to the canonical references where a number could be misread. It’s a learning artifact, not a product.
Organised by Diátaxis: a tutorial to learn from, how-to guides for specific tasks, reference for canonical facts, plus background explainers. Doc index →
Tutorial — learn
How-to guides — solve a specific task
Reference — canonical facts
Explanation — understand the design
flow forecast date and flow forecast throughput.wip_labels mode.