←

DSPy 3.4 adds typed decisions via TypeSafe and moves to LM engines

Stanford NLP

Tools official 1 src. ~1 min

DSPy 3.4.0 introduces typed decisions through TypeSafe with three decision types (Noul, Choice, Score) returning probability evidence, plus native LM engines, a local CPython interpreter for trusted code, and async ReActV2. 3.4 is the LM transition release; legacy custom-LM integrations warn.

Why it matters

Typed probabilistic decisions inside DSPy signatures blur the line between LLM programs and classic decision-model plumbing.

Importance: 2/5

Major-version framework release with a compatibility transition

Sources