What it does
A practical view
DSPy treats LLM systems as modules you compose and then optimize against metrics instead of hand-tuning a single giant prompt. It is used for classifiers, RAG programs, and agent loops.
Manual work reduced
The task boundary
Removes endless manual prompt-string editing as the only improvement method.
Operating cost
What access may cost
MIT library; optimization runs consume many model tokens.