Dug into Claude's new Code Mode.

Turns out this is how tool calling should've been designed from the start. The execution flow feels way more natural — instead of the back-and-forth ping-pong between model and tools, Code Mode lets Claude write actual code that orchestrates tool usage directly.

Think of it like moving from REST API calls to writing a Python script that chains your functions. Way less latency, way more control over execution logic.

If you're building agents or multi-step workflows, this changes the game. No more prompt engineering around tool sequencing — just let the model write the glue code.