Prompt Engineering Wants to Become Compilation
DSPy argues that language-model systems should be written as modular programs and optimized by compilers, not assembled from fragile hand-written prompt strings. The approach replaces manual prompt tweaking with explicit objectives, evaluation data, and systematic search.