Hacker ApprovedDepartments

DSPy

Ranked 5 of 28 agent frameworks by recommenders

People use it to structure LLM calls as typed programs and optimize prompts. Critics say its value depends on a good automated metric and up-front setup.

People use it to structure LLM calls as typed programs and optimize prompts. Critics say its value depends on a good automated metric and up-front setup.

48 people gave an opinion

recommend it
29
criticize it
19
approval share
60%
Each figure is one person. RecommendsCriticizes

Recommended in 8 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 29 people recommend itNeeds 10 or more, met.
  • 1.5 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 8 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Typed structured LLM calls

    “I enjoy working with it. I mostly just use it to define the input and outputs more programmatically compared to raw prompts.”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “They allow you to structure LLM calls within the broader control flow of the program, with typed inputs and outputs.”

    Comment from 7 May 2026 in “Agents need control flow, not more prompts”

    “I had better results (compared to LlamaIndex) with structuring unstructured data just by putting it in DSPy models”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”
  • Prompt optimization with metrics

    “I like to look at it like the MVC for the Web.”

    Comment from 19 Dec 2025 in “Show HN: Stepped Actions – distributed workflow orchestration for Rails”

    “optimize your module for any given LLM (based on sample data and metrics)”

    Comment from 14 Nov 2025 in “AI World Clocks”

    “DSPy's real value is in its prompt optimization framework”

    Comment from 25 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”
  • Modular, well-tested, hackable design

    “DSPy.rb shines when you need to decompose into multiple specialized modules with different concerns.”

    Comment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith”

    “such a hackable, usable framework”

    Comment from 16 Dec 2025 in “Achieving 20%+ improvement in structured extraction using DSPy and GEPA”

    “they are well tested and reliable”

    Comment from 3 Nov 2025 in “Context engineering”

What people warn about

Each mark is one comment

  • Needs hand-labeled data and metrics

    “Dspy often does not really show it's benefit until you have a good 'automated metric', which can be difficult to get to.”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “It's slow: you first have to get acquainted with DSPY and then get hand-labeled data for prompt optimization.”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “You need to do some up-front work to set up some of the optimizers which a lot of people are averse to.”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”
  • Python-only, awkward in non-Python stacks

    “we had to stand up an entire new repo in Python for it”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “We had to stand up an entire new repo in Python for it, because the vast majority of our code is not Python.”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “who the hell puts Python in production just to make some API calls?”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”
  • Little value for the added friction

    “Dspy does not solve an immediate problem, which is why many feel this way”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “it literally gave me nothing of added value in practice but a lot of friction when i needed precise control over the context”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

    “layers on layer on top of the base LLM calls with not so much to show for it”

    Comment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

Other agent frameworks people recommend

The four most recommended other agent frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

DSPy compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Claude Agent SDK362559%11——
LangChain327929%101 yr3 owners—
Mastra32391%10—Approved
LangGraph312357%12——
DSPyThis page291960%8——
See all 28 agent frameworks, ranked

What people said

40 of the 63 comments that mention it, newest first. Each links to the original comment.

“I said "techniques in DSPy", your agentic workflows are already using them.”

RecommendsComment from 28 Sep 2026 in “Imp is a full port of DSPy to the BEAM”

“Techniques in DSPy are still extremely valuable.”

RecommendsComment from 27 Sep 2026 in “Imp is a full port of DSPy to the BEAM”

“DSPy has great prompt engineering constructs it ships with.”

RecommendsComment from 10 Jul 2026 in “Don't discontinue Gemini 2.5 Flash”

“They allow you to structure LLM calls within the broader control flow of the program, with typed inputs and outputs.”

RecommendsComment from 7 May 2026 in “Agents need control flow, not more prompts”

“DSPy's real value is in its prompt optimization framework”

MixedComment from 25 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“It's clearly built from first principles and the ideas from it will outlast the framework itself.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I had better results (compared to LlamaIndex) with structuring unstructured data just by putting it in DSPy models”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I don't think the DSPy approach is bad but it doesn't really solve those issues.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“Dspy encourages you to write your code in a way that better enables optimization”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“DSPy is cool from an integrated perspective but as someone who extensively develops agents, there have been two phases to the workflow that prevented me from adopting it”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“We had to stand up an entire new repo in Python for it, because the vast majority of our code is not Python.”

CriticizesComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I think automatic optimization is valuable, but it's not what Dspy 'is'”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I enjoy working with it. I mostly just use it to define the input and outputs more programmatically compared to raw prompts.”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“who the hell puts Python in production just to make some API calls?”

CriticizesComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“Model testing and swapping is one of the surprises people really appreciate DSPy for.”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I rarely recommend people to use Dspy; but I think Dspy is often so polarizing that people "throw out the baby with the bathwater"”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“it is a library only for optimizing an existing workflow/ prompt and not for the use cases described there”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“It's slow: you first have to get acquainted with DSPY and then get hand-labeled data for prompt optimization.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“it literally gave me nothing of added value in practice but a lot of friction when i needed precise control over the context”

CriticizesComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I find it hard to recommend Dspy. At the same time, I can't escape the observation that many companies are re-implementing a lot of parts of it.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“layers on layer on top of the base LLM calls with not so much to show for it”

CriticizesComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“we had to stand up an entire new repo in Python for it”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“It's not as ergonomic as they made it to be.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“Dspy does not solve an immediate problem, which is why many feel this way”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“Dspy often does not really show it's benefit until you have a good 'automated metric', which can be difficult to get to.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“You need to do some up-front work to set up some of the optimizers which a lot of people are averse to.”

MixedComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“I consistently hear great things from Dspy users.”

RecommendsComment from 23 Mar 2026 in “If Dspy is so great, why isn't anyone using it?”

“there is a better way of optimizing and building them using model languages themselves as evaluator and skill builder”

RecommendsComment from 17 Feb 2026 in “Study: Self-generated Agent Skills are useless”

“I've used and keep using DSPy a lot for work”

RecommendsComment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith”

“DSPy.rb[0] enables this pattern in Ruby”

RecommendsComment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith”

“DSPy.rb shines when you need to decompose into multiple specialized modules with different concerns.”

RecommendsComment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith”

“which so far I've been quite happy with for small experiments”

RecommendsComment from 26 Dec 2025 in “Building an AI agent inside a 7-year-old Rails monolith”

“seems like it could be a reasonable approach for systematic evaluation of skills”

RecommendsComment from 20 Dec 2025 in “Skills Officially Comes to Codex”

“brings the DSPy paradigm's tooling (optimizers, evaluation loops) to Ruby”

RecommendsComment from 19 Dec 2025 in “Show HN: Stepped Actions – distributed workflow orchestration for Rails”

“I like to look at it like the MVC for the Web.”

RecommendsComment from 19 Dec 2025 in “Show HN: Stepped Actions – distributed workflow orchestration for Rails”

“such a hackable, usable framework”

RecommendsComment from 16 Dec 2025 in “Achieving 20%+ improvement in structured extraction using DSPy and GEPA”

“it works great to solve user queries with code”

RecommendsComment from 1 Dec 2025 in “Program-of-Thought Prompting Outperforms Chain-of-Thought by 15% (2022)”

“DSPy has optimisers. It could probably optimise well with length match heuristic”

RecommendsComment from 19 Nov 2025 in “Trying out Gemini 3 Pro with audio transcription and a new pelican benchmark”

“optimize your module for any given LLM (based on sample data and metrics)”

RecommendsComment from 14 Nov 2025 in “AI World Clocks”

“they are well tested and reliable”

RecommendsComment from 3 Nov 2025 in “Context engineering”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.