💩
DSPy is Stanford's framework for programming language models through compositional Python code rather than brittle prompts. It provides algorithms for automatically optimizing prompts and weights in modular AI systems like RAG pipelines and agent loops.