Both agents are asked to fix the same Python bug. Agent A is well-prompted with clean tool design; Agent B has weak tool docs and no context-management discipline. Both succeed in the end — but A takes 8 steps and $0.12, while B takes 20 steps and $0.55. Click any step to see the agent's reasoning. The visceral lesson: the difference between a code agent that ships in production and one that doesn't isn't model capability, it's tool design and prompt engineering. Same model can produce both traces.
test_string_utils.pytruncate_string(s, n) in string_utils.py should truncate a string to n characters and append '...' only if truncation occurred. The test test_no_truncation_short_string is failing because '...' is being appended even when no truncation happened.
read_file(path) + edit_file(path, old, new) + bash(cmd) stack with clean error messages. Agent B has the same tools but with overly broad bash defaults and verbose error output, which inflates the context and confuses the agent.-x; read before editing; verify after every change; don't read files you don't need." Agent B has a generic "you're a coding agent" prompt and reaches for any file that might be relevant.$100k (Agent A) vs $470k (Agent B). The "$0.37/task savings" is the engineering ROI of building the agent right vs shipping the prototype.