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
- Apr 1, 2026
33.3Ktoday384
Also in Frameworks
L
LangChain
Build context-aware reasoning applications with LLMs
OSSFree
LangChain AI
131.9K850.0K/wtoday469
A
AutoGen
Microsoft's framework for building multi-agent AI systems
OSSFree
Microsoft
56.5K3d ago444
C
CrewAI
Multi-agent orchestration framework for collaborative AI workflows
OSSFree
CrewAI Inc
47.7Ktoday284