Member-only story
TextGrad in Practice: Optimizing LLM Agent Prompts with Textual Gradients
How Textual Gradients Turn Banking Classification Errors into Measured Prompt Updates
This article is also available as a podcast! If you’re on the go or just want to absorb the content in audio format, you can listen to the full episode below 👇 The podcast is also available on Spotify and Apple Podcasts.
Prompt engineering is often treated as a development task. Prompts are tested, refined, and then deployed. But in production, new failures emerge as data and models evolve. Keeping instructions effective becomes an ongoing process rather than a one-time effort.
Manually analyzing failures, rewriting prompts, and evaluating each change quickly becomes difficult to scale. Automated prompt optimization offers an alternative, using feedback to identify weaknesses and update instructions without modifying the underlying model.
The previous article, Continuously Optimizing AI Agent Prompts in Production, introduced and compared…










