FWIW, I have had great success asking AI coding tools to generate/edit tikz code. As with all AI coding, it helps to steer the agent to structure the code sensibly, etc. But frontier models seem to know how to write tikz.