Jay Taylor's notes
back to listing indexGitHub - stanfordnlp/dspy: DSPy: The framework for programming—not prompting—language models
[web search]stanfordnlp/dspy
Folders and files
Name | Last commit message | Last commit date |
---|---|---|
Latest commit![]() 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. Learn more via our official documentation site or meet the community, seek help, or start contributing via this GitHub repo and our Discord server. Documentation: dspy.aiPlease go to the DSPy Docs at dspy.ai pip install dspy To install the very latest from pip install git+https://github.com/stanfordnlp/dspy.git If you're looking to understand the framework, please go to the DSPy Docs at dspy.ai. If you're looking to understand the underlying research, this is a set of our papers: [Jul'25] GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning To stay up to date or learn more, follow @DSPyOSS on Twitter or the DSPy page on LinkedIn. The DSPy logo is designed by Chuyi Zhang. If you use DSPy or DSP in a research paper, please cite our work as follows:
|