Back to catalog

Knowledge & Support / Checked 2026-09-12

DSPy

Framework for programming language-model pipelines and optimizing their prompts.

DifficultyTechnical
Runs onLinux, macOS, Windows
Tool accessopen source
Card accessFree

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.

Source record

Claims checked at the source.

Open sourceTechnicalWindowsmacOSLinux