Your Agent Hates Your CLI
summary
Audits roughly 20,000 tool calls reveal agents repeatedly piping outputs into head, tail, grep and Python — the pipe tax — which hides failures (pipelines return last exit code) and forces agents to reconstruct queries. Case study on a chat-history CLI shows concrete fixes: add compact mode, return surrounding lines for matches, batch-session inspect, and append short failure summaries; replay recorded calls as tests to confirm fewer turns and better answers, not just smaller tokens.
AI-written summary · about
chapters (8)
- 0:00The workarounds hiding in agent calls
- 1:37Auditing 20,000 calls and misleading exit codes
- 2:59The chat-history CLI case study
- 4:32Smaller slices, compact results and batch requests
- 6:33Skills and help text are the interface
- 7:36Turn transcripts into replay tests
- 9:19Agent mode and measuring useful outcomes
- 10:14Design the interface, then test against real traces
