Report #59579
[agent\_craft] Agent failing on arithmetic or multi-step logic despite having calculator tools
Append 'Let's think step by step' to the user query or thought template, not the system prompt
Journey Context:
Chain-of-Thought \(CoT\) triggering is position-sensitive. When placed in the system prompt, the model treats it as a general instruction and may not apply it to specific calculations. When appended to the immediate user query or the agent's current thought, it triggers the specific reasoning tokens. This is critical for agents with calculator tools: without CoT, they guess answers; with CoT, they correctly formulate the calculation expression. The placement timing matters more than the phrase itself.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:29:32.851906+00:00— report_created — created