Loading...
Loading...
Hugging Face replaced JSON tool calls with raw Python execution and cut steps by 30 percent, Cursor shipped a router that cuts costs 60 percent, and enterprise agents learned to describe workflows in plain English.
The most interesting AI progress this week happened in the layer almost nobody photographs: how agents actually decide what to do.
Hugging Face significantly pivoted its smolagents framework around a simple idea with big consequences. Instead of the agent emitting brittle JSON to invoke a predefined tool, the agent just writes Python and runs it.
I converted one loop in my alerts bot from strict function calling to generated-Python execution as an experiment. Same tasks, fewer round trips, and the failure mode changed in an interesting way: instead of malformed JSON errors, I now get actual stack traces, which are dramatically easier to debug.
JSON tool calls made agents talk like machines. Letting them write code lets them think in their native language.
Arbitrary code execution is exactly what sandboxes were invented for. The moment your agent writes real code, your containment requirements jump a tier, which loops right back to last week's infrastructure stories. Nobody ships this pattern without a proper box around it.
Two more releases rounded out the week. Cursor Router promises frontier-quality results at up to 60% lower cost by picking the cheapest model per task, treating models like interchangeable parts instead of a religion. And Cohere introduced North Automations, letting enterprises describe whole workflows in plain language with branching, approvals, versioning, and token-cost visibility built in.
The harness layer is where the money gets saved now. The model matters less than what wraps it.
Cheers, Yassen