📊 fmetrics
Telemetry analytics + tool-chain prediction
Section titled “Telemetry analytics + tool-chain prediction”fmetrics is part of the fsuite toolkit — a set of fourteen CLI tools built for AI coding agents.
fmetrics
Telemetry analytics · tool-chain prediction
fmetrics is the analytics layer. Every fsuite tool emits a telemetry record (path, timing, output size, success). fmetrics ingests those into SQLite and lets you ask:
- Which tool combos actually win? (
combos) - What’s the strongest next step after
ftree → fsearch? (recommend) - How long will this run on this machine? (
predict) - What broke last week? (
stats,history)
It’s how the toolchain learns. The agent’s third tool call is statistically better than its first because fmetrics told it which patterns work.
Canonical chains
Section titled “Canonical chains”# Import telemetry into SQLitefmetrics import
# Aggregate stats — runtime, reliabilityfmetrics statsfmetrics stats -o json
# Recent runs of one toolfmetrics history --tool ftree --limit 10fmetrics history --project MyApp
# Combo analytics — what chains winfmetrics combos --project fsuitefmetrics combos --starts-with ftree,fsearch --contains fmap -o json
# Recommend the best next stepfmetrics recommend --after ftree,fsearch --project fsuite
# Predict runtimes for a pathfmetrics predict /project
# Housekeepingfmetrics profilefmetrics clean --days 30Help output
Section titled “Help output”The content below is the live --help output of fmetrics, captured at build time from the tool binary itself. It cannot drift from the source — regenerating the docs regenerates this section.
fmetrics — performance telemetry and analytics for fsuite
USAGE fmetrics <subcommand> [options]
SUBCOMMANDS stats Show dashboard of tool usage, runtimes, reliability history Show recent runs (filterable)combos Show telemetry-backed combo patternsrecommend Suggest the strongest next tool after a prefixpredict <path> Estimate how long fsuite tools will take on <path>import Ingest new telemetry.jsonl rows into SQLite databaserebuild Recompute derived analytics tables from imported telemetryclean Prune old telemetry dataprofile Show machine profile (Tier 3 telemetry)
OPTIONS (global) -o, --output Output format: pretty (default) or json -h, --help Show this help --version Print version --self-check Verify dependencies --install-hints Print install commands for missing dependencies
OPTIONS (history) --tool <name> Filter by tool (ftree, fsearch, fcontent) --project <name> Filter by project name --model <id> Filter by model_id --agent <id> Filter by agent_id --session <id> Filter by session_id --limit <N> Max rows (default 20)
OPTIONS (combos) --project <name> Filter by project name --starts-with <tool,...> Require combo prefix --contains <tool> Require a tool anywhere in the combo --min-occurrences <N> Minimum occurrence count (default 1)
OPTIONS (recommend) --after <tool,...> Prefix to continue from --project <name> Filter by project name --limit <N> Max recommendations (default 20)
OPTIONS (predict) --tool <name> Predict for specific tool only (ftree, fsearch, fcontent) --mode <name> Restrict ftree predictions to tree, recon, or snapshot
OPTIONS (clean) --days <N> Keep last N days (default 90) --dry-run Preview what would be deleted
ENVIRONMENT FSUITE_TELEMETRY=0 Disable telemetry collection in fsuite tools FSUITE_MODEL_ID Model identifier to store with telemetry FSUITE_AGENT_ID Agent/runtime identifier to store with telemetry FSUITE_SESSION_ID Session/thread identifier to store with telemetry
EXAMPLES fmetrics import Import telemetry data into SQLitefmetrics stats Show usage dashboardfmetrics stats -o json Machine-readable statsfmetrics history --tool ftree --limit 10fmetrics history --model codex-gpt-5.5 --agent codex-cli -o jsonfmetrics combos --project fsuite -o jsonfmetrics recommend --after ftree,fsearch --project fsuitefmetrics predict /project Estimate runtimes for /projectfmetrics rebuild Recompute combo/recommend analytics nowfmetrics predict --tool ftree --mode snapshot /projectfmetrics clean --days 30 Remove data older than 30 daysSee also
Section titled “See also”- fsuite mental model — how fmetrics fits into the toolchain
- Cheat sheet — one-line recipes for every tool
- View source on GitHub