Same Model, Same Task: Custom Tool Uses 61% Fewer Tokens Than Bash

rajistics · x · 2026-12-03

From a Harness Engineering 2.0 talk: same model, same task (explain a pull request). With Bash, the agent chose what to fetch, consuming 135.3K tokens in 40.9s. A custom PR tool that bundles the evidence used only 52.8K tokens (61% less) at 44.8s. Tool design dramatically impacts agent cost.

Related event: Harness Engineering Lecture: Custom Tools Save 61% Tokens Over Bash(2 posts)→

Original post →

More from coding & agent

coding & agent channel →