DSPy logo

DSPy

DSPy - Program Language Models Instead of Prompting

Agents & automation· 4.5·0 saves·Free

Quick facts

Best for
DSPy - Program Language Models Instead of Prompting
Pricing
Free
Editor rating
4.5 / 5
Community saves
0

About DSPy

DSPy is a Python framework from Stanford NLP for programming language models with modular code instead of hand-written prompts. It supports classifiers, RAG systems, agent loops, prompt tuning, and weight tuning through a declarative workflow.

Pros

  • Python framework for language-model programs
  • Declarative modules for AI pipelines
  • Prompt and weight optimization algorithms
  • RAG and agent workflow support
  • Open-source MIT licensed repository

Cons

    Pricing

    Open source
    $0
    • Free repository access
    • Self-host or run locally
    • Third-party model or compute costs may apply