Program, don’t prompt, your LLMs.
DSPy is an open-source Python framework for building modular AI/LLM systems by expressing tasks as typed signatures and compositional Python programs instead of hand-written prompts, with optimizers that tune prompts and weights against metrics.