Output Charts

Blog

A flow dashboard for your coding agents your team can actually read

Throughput, lead time, work in progress and what is waiting on you. Compute them from your agents' logs and push them to one page your team can open.

Running several coding agents at once feels productive right up until a teammate asks, "So what are they doing?" The honest answer is a terminal on your machine that nobody else can see, a dozen threads with emoji in their titles, and a PR list that only tells you about the bits that already shipped.

Your team doesn't need to watch the agents work. They need to answer three questions in about five seconds:

  1. How much work is in flight?
  2. How fast is it shipping?
  3. Where is it stuck, and is any of it waiting on you?

Those are flow metrics. They've worked for human teams for years, and they work just as well when the "team" is a set of agents.

Why this is harder than it looks

  • Watching the session doesn't scale past one agent, and it doesn't work for anyone who isn't at your desk.
  • The agent's own summary is a description, not a measurement. It will tell you things went well.
  • A full observability stack can store traces and draw anything you like, but standing it up for "how many stories merged this week" is a project of its own.
  • A custom HTML page is the right answer if you want a time scrubber that replays the run. It's a big answer if all you want is the three questions.

The useful split is this: one extractor turns your logs and GitHub history into a few numbers, and something else draws them for everyone.

The metrics

Keep the definitions boring, so nobody argues about them:

  • Throughput: stories merged per day.
  • Lead time: the time from a story starting to its PR merging. Show the median and the p90, because the p90 is where the pain is.
  • Work in progress: stories started and not yet merged, right now.
  • Waiting on you: anything blocked on a human decision.
  • Cumulative flow: a daily count of stories in each state, stacked. If the "in progress" band keeps getting wider, you're starting work faster than you finish it.

The dashboard

Five visuals, each holding one JSON document.

KPIs for lead time:

{ "label": "Lead time, median", "value": 5.2, "format": "number", "suffix": " h", "delta": -1.1, "deltaFormat": "number", "deltaLabel": "vs last week" }
{ "label": "Lead time, p90", "value": 19.5, "format": "number", "suffix": " h" }

A gauge for work in progress against a limit you chose:

{ "label": "Stories in flight", "value": 7, "min": 0, "max": 10 }

The cumulative flow chart is a stacked area:

{
  "xKey": "day",
  "curve": "step",
  "stacked": true,
  "series": [
    { "key": "merged", "label": "Merged" },
    { "key": "review", "label": "In review" },
    { "key": "building", "label": "Building" },
    { "key": "queued", "label": "Queued" }
  ],
  "data": [
    { "day": "Oct 14", "merged": 3, "review": 2, "building": 4, "queued": 6 },
    { "day": "Oct 15", "merged": 6, "review": 3, "building": 4, "queued": 5 },
    { "day": "Oct 16", "merged": 11, "review": 2, "building": 5, "queued": 3 }
  ]
}

And a table for what's stuck:

{
  "columns": [
    { "key": "story", "label": "Story", "align": "left", "format": "text" },
    { "key": "state", "label": "State", "align": "left", "format": "text" },
    { "key": "hours", "label": "Stuck (h)", "align": "right", "format": "number" },
    { "key": "waiting", "label": "Waiting on", "align": "left", "format": "text" }
  ],
  "data": [
    { "story": "Story 41", "state": "In review", "hours": 9, "waiting": "Me: approve schema change" },
    { "story": "Story 38", "state": "Building", "hours": 6, "waiting": "Flaky test" }
  ]
}

The extractor and the push

Write the extractor once. It reads your agent logs and gh output, writes one event per line (time, story, state), and computes the numbers above from those events. Then it pushes. API push is part of Solo ($10 a month). Free can paste the same JSON by hand.

#!/usr/bin/env bash
set -euo pipefail
source ~/.output-charts   # OC_KEY and one URL per visual

push() {  # push <url> <json file>
  curl --fail-with-body -sS -X PUT "$1" \
    -H "Authorization: Bearer $OC_KEY" \
    -H "Content-Type: application/json" \
    --data @"$2"
}

python3 extract.py --out /tmp/flow   # writes lead-median.json, wip.json, cfd.json, stuck.json

push "$OC_LEAD_MEDIAN_URL" /tmp/flow/lead-median.json
push "$OC_LEAD_P90_URL"    /tmp/flow/lead-p90.json
push "$OC_WIP_URL"         /tmp/flow/wip.json
push "$OC_CFD_URL"         /tmp/flow/cfd.json
push "$OC_STUCK_URL"       /tmp/flow/stuck.json

Run it from cron every 15 minutes, or at the end of every agent session. Open copies of the page check for new data every 15 seconds, so the team's screen keeps up without anyone refreshing.

Honest limits

  • There's no replay. Output Charts shows the latest document for each visual. A time scrubber, a Gantt chart of agent lanes or a live tree of who spawned whom needs custom code. If you need those, build them, and put the five-second answers here.
  • The math is yours. The dashboard draws numbers and doesn't compute percentiles. Check the extractor against something real, such as merge times from GitHub.
  • A push replaces a whole document. The cumulative flow chart needs every day in every push. Up to 500 rows is plenty.
  • Public means public. Publishing gives a link anyone can open without an account. Mask private repo names and story titles first, or share view-only by email with the team.

Try it

Paste the stacked area above into JSON to chart to check the shape, then create a free dashboard. Your team gets the three answers, and you get to stop narrating the terminal.

More from the blog