Agents fail at stateful workflows not because they can’t call endpoints, but because they can’t tell if a call is valid right now. Hypermedia APIs publish valid next actions alongside current state. Less prompt engineering, fewer invalid transitions. Worth a look. robintegg.com/2026/06/03/h...
An extended write-up of the hypermedia API hypothesis for agent workflows with Spring HATEOAS and HAL-FORMS.