chore: convert agent stats to use a table #6374
+307
−235
Merged
8000