DSPy

Programming framework for LLMs — optimize prompts with code, not strings
Developer ToolsFree (open-source)22,000

About DSPy

DSPy replaces hand-written prompts with composable Python modules that can be automatically optimized. Instead of tweaking prompt strings, you define signatures and let DSPy's optimizers find the best prompts, few-shot examples, and fine-tuning strategies.

The tally

FOR
  • +Systematic prompt optimization
  • +Composable and testable LLM programs
  • +Works with any LLM provider
  • +Backed by Stanford NLP
AGAINST
  • Steep learning curve
  • Different paradigm from traditional prompting

Kept nearby

Browse all Developer Tools tools →