Introduction: The Death of the Prompt?
**DSPy** (Declarative Self-improving Language Programs) is a framework from Stanford that moves away from "Manual Prompting" and toward "Programming." It treats LLMs as functions with "Signatures" and uses an optimizer to automatically write the prompts for you.
The DSPy Paradigm
We build our "Most Reliable" agentic pipelines using DSPy's declarative approach:
- Signatures: Defining the task in terms of inputs and outputs (e.g.,