Post
-
Patterns across 720,000 agent tool calls
Here is a distribution graph over character counts (x-axis) for all the tool calls I have accumulated on my DGX Spark, around 720k tool calls. Extracted from saved sessions Roughly 84% of all tool calls came from Codex, 12% from Pi, 2% from Claude Code, and 2% from Cursor Codex truncates tool output around 40 kB and pi at 50 kB natively. So you see the long tail of tool call outputs cluster around that point instead of continuing with a more expected pattern (what distribution should we expect from this?) It also seems that tool call outputs around 9k-12k unicode characters contribute the largest share of total characters, excluding the clustering around 40-50 kB All textual outputs: every tool result with text Shell outputs: results from that same set whose recorded tool was bash, exec_command, run_terminal_cmd, or another shell-named tool with a command inputImage hidden -
Also relevant, here is the potential reduction in tool call outputs, if you were to change that hard cap to other values For example, if you changed the hard cap from 40-50 kB to 1-2 kB, then overall you would have your tool calls have 80-85% less characters and hence tokens The graph is of course skewed due to the existing 40-50 kB hard caps from codex and pi Leaving here as a reference for people who might want to optimize their harness limitsImage hidden