by stanfordnlp · Agent Tool · ★ 34.6k
DSPy: Programming—not prompting—Foundation Models Documentation: DSPy Docs DSPy is the framework for programming—rather than prompting—language models. It allows you to iterate fast on building modular AI systems and offers algorithms for optimizing their prompts and weights, whether you're building simple classifiers, sophisticated RAG pipelines, or Agent loops. DSPy stands for Declarative Self-improving Python. Instead of brittle prompts, you write compositional Python code and use DSPy to teach your LM to deliver high-quality outputs.
| Stars | 34,587 |
| Forks | 2,914 |
| Language | Python |
| Category | Agent Tool |
| License | MIT |
| Quality Score | 44.026/100 |
| Open Issues | 489 |
| Last Updated | 2026-05-22 |
| Created | 2023-01-09 |
| Platforms | python |
| Est. Tokens | ~11588k |
These tools work well together with dspy for enhanced workflows:
Explore other popular agent tool tools:
dspy is DSPy: The framework for programming—not prompting—language models. It is categorized as a Agent Tool with 34.6k GitHub stars.
dspy is primarily written in Python.
You can find installation instructions and usage details in the dspy GitHub repository at github.com/stanfordnlp/dspy. The project has 34.6k stars and 2914 forks, indicating an active community.
dspy is released under the MIT license, making it free to use and modify according to the license terms.