Kanshō/Progress meter

Progress / usage meter

Quantifies a budget, quota, or resource. Threshold ticks shift the bar tone when usage crosses them — the meter speaks before the agent asks for more headroom.

Included in the single kansho full pack. Components are not offered as separate installs.

Budget tracking

Auto-tints at warning/danger thresholds
Tokens this run48k / 200k

Safely under budget.

Daily spend$4.21 / $5.00USD

Crossing the warning threshold — review before next run.

Concurrent tool calls9 / 10

One slot remaining.

Vector store entries210k / 250k

Compaction recommended at 95%.

Tones — manual override

neutral
Disk used120 / 500GB
accent
Active runs3 / 8
success
Tests passing142 / 142
warning
Memory pressure7.4 / 8.0GB
danger
Rate-limit window950 / 1.0k

Throttling within 30s if usage continues.

small
Step progress4 / 9

Stacked in a budget panel

Run budget
Tokens48k / 200k
Cost$0.94 / $2.00USD
Tool calls14 / 50
Wall time184 / 600s

Component documentation

Progress Meter

components/agent/progress-meter.tsx

Purpose

Displays bounded progress with optional formatting, thresholds, tone escalation, and explanatory hint.

Appropriate use

Use for budgets or capacity where current and maximum values are known.

Example

components/agent/progress-meter.tsx has a representative live example in the "Budget tracking" section on /components/progress-meter.

States

Tones are neutral, accent, warning, danger, or success; size is sm or md; explicit tone overrides threshold escalation.

API and props

ProgressMeter accepts label, value, max, unit, format, thresholds, tone, fallbackTone, size, hint, and className.

Dependencies

Direct imports are React, compact-number formatting, and cn.

Accessibility

Renders a named progressbar with numeric min, max, and rounded current value; visible text repeats the value.

Limitations

Values are visually clamped but callers must provide meaningful max and units; thresholds do not trigger callbacks.

Source

Source: components/agent/progress-meter.tsx.

Full pack

components/agent/progress-meter.tsx is documented at /components/progress-meter and installs only through the single Kansho full pack; no individual component install is offered.