Put the math in code, the judgment in the spec (opens in new tab)
When you build an agentic tool, split the work by one question: does this step have a single correct output? If yes, write code. If no, write a spec the agen...
Read the original article