Porting and rewrites between languages is a task frontier models excel at
That is, they require good taste and opinionated API design first, porting skills second. The SDK for each language ends up being substantially different.
Frontier models are not very good at this yet. I've tried. Ultimately I couldn't justify the effort when there are other workflow engines out there.