Atlas · GenAI 2026

DSPy

Programmatic Prompt Engineering (DSPy)

toolPeak: 2024Prompt Optimization FrameworksAI consensus: 1/3

Prerequisites

  • DSPy compiles and optimizes prompts programmatically — you must understand what manual prompt engineering does before automating it

  • DSPy optimizes prompts against metrics — you need to understand what metrics mean to define optimization targets

Recommended reference

Khattab et al. (2023) 'DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines' — arXiv:2310.03714; foundational paper

Notes from AI deep research

Anthropic Opus

Khattab (Stanford): prompty jako hiperparametry kompilujace sie automatycznie. Paradigm shift

Google Deep Think

Prompty jako hiperparametry kompilujące się automatycznie [G#31]

Related skills