Library / SDK
Agents & Orchestration
DSPy
1Program 2language 3models, 4don’t 5just 6prompt.
the six Ws · specification
W1
Who
Research project from Stanford NLP.
W2
What
Define pipelines and let it optimize the prompts.
W3
Where
A Python library run anywhere.
W4
When
When hand-tuned prompts stop scaling.
W5
Why
Treats prompting as compiled, optimizable programs.
W6
With
Any LLM and a metric to optimize against.