pip install "dspy==3.4.1"DSPy (dspy) is currently at v3.4.1 on PYPI (published 2026-10-12), with a 90-day stability score of 86/100 (B+) and MEDIUM schema drift risk across 4 releases in the past 90 days. DSPy v3.x unifies dspy.LM() with LiteLLM identifiers, removes legacy dspy.OpenAI classes, and updates dspy.ReAct tool wrapping. Production teams should pin pip install "dspy==3.4.1" rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
DSPy v3.x unifies dspy.LM() with LiteLLM identifiers, removes legacy dspy.OpenAI classes, and updates dspy.ReAct tool wrapping.
dspy.LMdspy.ReActdspy.Tooldspy.MIPROv2lm = dspy.OpenAI(model="gpt-4o")
dspy.settings.configure(lm=lm)lm = dspy.LM("openai/gpt-5")
dspy.configure(lm=lm)Frequently Asked Questions: dspy
What is the latest version of dspy on PYPI?
As of 2026-10-24, the latest stable version of dspy (DSPy by Stanford NLP) on PYPI is v3.4.1, published on 2026-10-12. It has shipped 4 releases in the last 90 days.
Does dspy v3.4.1 have breaking changes or MCP schema drift risk?
dspy currently carries a MEDIUM schema drift risk rating with a Stability Score of 86/100 (Grade B+). DSPy v3.x unifies dspy.LM() with LiteLLM identifiers, removes legacy dspy.OpenAI classes, and updates dspy.ReAct tool wrapping.
How do I safely pin dspy in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `pip install "dspy==3.4.1"` and monitor dspy.LM, dspy.ReAct, dspy.Tool, dspy.MIPROv2 for parameter or schema changes.
Get Instant Breaking-Change Alerts for dspy
We poll PYPI and stanfordnlp/dspy every 30 minutes. Get an email with the exact diff when dspy ships a breaking release beyond v3.4.1.
Recent PYPI Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)