D
DSPy
Framework for programming — not prompting — LLMs — 33K+ stars
Open SourceFree
Install
pip install dspyAbout
DSPy replaces prompt engineering with programming. Instead of writing prompts, you define modules with input/output signatures and DSPy automatically optimizes the prompts and weights for your pipeline. Supports chain-of-thought, retrieval-augmented generation, and multi-hop reasoning patterns. From Stanford NLP.
Details
| Language | python |
| Patterns | prompt-optimization, rag, chain-of-thought, multi-hop |
| Install | pip install dspy |
Tags
prompt-optimizationprogrammingresearchragstanfordpythonopen-source
Quick Info
- Organization
- Stanford NLP
- Pricing
- open-source
- Free Tier
- Yes
- Updated
- May 26, 2026
34.7Ktoday394
Also in Frameworks
L
LangChain
Build context-aware reasoning applications with LLMs
OSSFree
LangChain AI
137.7K850.0K/wtoday469
A
AutoGen
Microsoft's framework for building multi-agent AI systems
OSSFree
Microsoft
58.4K5w ago445
C
CrewAI
Multi-agent orchestration framework for collaborative AI workflows
OSSFree
CrewAI Inc
52.2Ktoday297