Home Projects textgrad
textgrad
Python

textgrad

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients. Published in Nature.

by zou-group · GitHub
Stars
Forks
Trending
License
Created
Last commit
Language
ai-optimizationcompound-systemslarge-language-modelsMITPython
View on GitHub
In plain words

Use a framework to automatically calculate gradients for text, enhancing AI optimization tasks.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
textgrad — GitHub preview card
📈 Star history
3.7k3.6k
2026-07-072026-08-31
📈 Track textgrad

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients. Published in Nature.

textgrad has 3.7k stars on GitHub. It has been forked 293 times. textgrad is written mainly in Python. It has been in active development since 2024. textgrad is available under the MIT license. Its main topics are ai-optimization, compound-systems, large-language-models, prompt-optimization.

Frequently asked questions

What is textgrad?

TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients. Published in Nature.

Is textgrad open source?

textgrad is an open-source project. It is released under the MIT license.

Is textgrad free?

Yes. textgrad is free and open source — you can use, modify and self-host it.

What license does textgrad use?

textgrad is available under the MIT license.

What language is textgrad written in?

textgrad is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — textgrad

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=zou-group-textgrad)](https://olud.ai/project/zou-group-textgrad.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.