Enterprise DNAEnterprise DNA

Open Source

DSPy

by Stanford NLP

Programming, not prompting. Declare what you want, compile prompts and weights against an objective.

Our verdict

Not reviewed yet

We have not reviewed DSPy yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About DSPy

DSPy from Stanford NLP flips the prompt-engineering paradigm. You declare modules with input and output signatures, an objective, and a dataset. DSPy compiles prompts (and optionally weights) against the objective. The result is reliable, optimisable LLM pipelines that don't depend on someone's clever wording.

Best for

Teams who want to optimise their LLM pipelines like code, not edit prompts forever

Use cases

  • Build a multi-stage pipeline that can be re-optimised when the model changes
  • Replace fragile prompt chains with declarative modules
  • Run prompt-and-weight optimisation against a real eval
  • Standardise LLM workflows across a research team

Notes

Why it matters

Prompt engineering does not compose and does not optimise. DSPy is the clearest answer to "what does programming an LLM pipeline look like when you treat it like software."

How teams use it in production

Start with a small, evaluable pipeline. Build the eval first. Then run DSPy optimisation against it. The eval is the asset; the pipeline is the artefact.

What to watch

DSPy's ideas are leaking into every other framework. Whether the framework itself wins, or the patterns get absorbed, the declarative shift is real.

Pros

  • Declarative model that survives provider swaps
  • Real optimisation against an eval, not vibes
  • Strong research backing, active development
  • Pairs naturally with eval and observability tooling

Cons

  • Steep learning curve, not a weekend hack
  • Optimisation needs a real dataset and metric
  • Smaller ecosystem than LangChain or LlamaIndex

Key facts

What we have checked

Latest version
3.4.1 (released 12 Oct 2026)
Checked GitHub
Days since the last commit
0
Checked GitHub
GitHub forks
3,489
Checked GitHub
GitHub stars
38,964
Checked GitHub
Days to a first reply on issues
9.1
Checked GitHub
Open issues
341
Checked GitHub
Releases in the last 90 days
4
Checked GitHub

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

Stars and usage

How DSPy is growing

GitHub stars

38,316 to 38,964

stars. 26 Sept 2026 to 7 Nov 2026, 3 readings.

Source: GitHub. Checked .

Health and security

Is DSPy looked after, and what do its setup files show

Health score

94 out of 100

Does someone look after this repository? It does not say the code is good or safe. Worked out from GitHub signals checked . How it is worked out

PartPointsWhat we saw
Recent activity30 of 30Last push 0 days ago
Releases15 of 154 releases in 90 days
Issue replies15.5 of 20First reply in 9.1 days (median)
Maintainer15 of 15Owned by an organisation
Official sourceNot countedMCP servers only

Alternatives

Alternatives to DSPy

RecordTypeHow we knowChecked
GuidanceThis is an alternative to itOpen sourceNamed in the listingNot dated
LangChainThis is an alternative to itAppNamed in the listingNot dated
OutlinesThis is an alternative to itOpen sourceNamed in the listingNot dated

Compare

Compare DSPy side by side

Sources

Where this comes from

  • GitHubOfficial

    Checked · Latest version

  • GitHubRegistry

    Checked · Days since the last commit, GitHub forks, GitHub stars, Days to a first reply on issues, Open issues, Releases in the last 90 days

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

  1. Released 3.4.1

    Source: GitHub

  2. Released 3.4.0

    Source: GitHub

  3. Released 3.4.0b1

    Source: GitHub

  4. Released 3.3.1

    Source: GitHub

  5. Released 3.3.0

    Source: GitHub

  6. Released 3.3.0b1

    Source: GitHub

  7. Released 3.2.1

    Source: GitHub

  8. Released 3.2.0

    Source: GitHub

  9. Released 3.1.3

    Source: GitHub

  10. Released 3.1.2

    Source: GitHub

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.