StackMap
Subscribe
Explore / DSPy
stanfordnlp

DSPy

Program — don't prompt — your language models. Compile declarative pipelines into optimized prompts.

37,439 3,241 Python MITupdated yesterday
View on GitHubDispute this mapping →
README.md

DSPy lets you write LLM pipelines as code and compile them into optimized prompts/weights, replacing brittle hand-written prompts with a programmable, optimizable approach.

pip install dspy

Continue your stack

What teams reach for next — and why each earns a place beside DSPy. Ranked by curator confidence.