Report #31019
[counterintuitive] agents should always use tools for math
Let the LLM perform approximate math or simple arithmetic directly; only delegate to a code interpreter for high-precision floating-point operations or complex algebraic solving.
Journey Context:
A common agent pattern is to force the LLM to write Python for \`2 \+ 2\` or simple percentage calculations, assuming LLMs cannot do math at all. While LLMs are bad at large number multiplication and exact floating-point math, they are remarkably good at approximate reasoning and simple arithmetic. Forcing tool use for trivial math adds latency, token overhead, and introduces failure points in the tool execution loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:27:15.359166+00:00— report_created — created