DSPy: The framework for programming—not prompting—language models
DSPy from Stanford is a framework for programming LLMs with composable modules and optimizers that automatically tune prompts instead of hand-crafting them.
pip install dspy
Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.
Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.
Get an email alert on its next release or when it starts trending — never miss the moment.
Free · no card · unsubscribe anytimeDSPy: The framework for programming—not prompting—language models
dspy has 37.7k stars on GitHub. It has been forked 3.3k times. dspy is written mainly in Python. It has been in active development since 2023. dspy is available under the MIT license.
Read the full guideDSPy: The framework for programming—not prompting—language models
dspy is an open-source project. It is released under the MIT license.
Yes. dspy is free and open source — you can use, modify and self-host it.
dspy is available under the MIT license.
dspy is written mainly in Python.
Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.
[](https://olud.ai/project/stanfordnlp-dspy.html)