TextGrad: Automatic Differentiation Through LLM Critiques
A walkthrough of TextGrad (Yuksekgonul et al., Nature 2025), an autograd engine where the gradients are natural-language critiques. The PyTorch-shaped API, the four-step optimisation loop, why one framework optimises prompts, code and molecules with the same machinery, and where DSPy is the better bet.