discovered 04 Aug 2026
dspy
→ View on GitHubDSPy is a framework designed for programming language models rather than relying on prompt engineering, enabling the rapid development of modular AI systems. It provides functionality for optimizing model prompts and weights, thereby supporting applications such as classifiers, retrieval-augmented generation (RAG) pipelines, and agent loops. With a focus on declarative self-improvement, users can leverage compositional Python code to enhance the precision of outputs generated by language models.