agent metrics cost-efficiency
ddx agent metrics cost-efficiency
Report total cost to close each bead, including failed escalation attempts
Synopsis
Scan .ddx/executions/*/result.json and aggregate cost per bead across all attempts. The successful_cost_usd column sums attempts where outcome == “task_succeeded”; wasted_cost_usd sums attempts where outcome != “task_succeeded” (failed runs that still consumed budget). final_tier and final_harness reflect the most recent attempt for each bead, which is the tier that ultimately closed it (or the last tier tried if it remains open).
ddx agent metrics cost-efficiency [flags]Options
-h, --help help for cost-efficiency
--json Output JSON
--last int Limit to beads touched in the most recent N executions (0 = all)Options inherited from parent commands
--config string config file (default is $HOME/.ddx.yml)
--library-base-path string override path for DDx library location
-v, --verbose verbose outputSEE ALSO
- ddx agent metrics - Analytics over agent execution evidence