Hacker GitHub

← All repos

stanfordnlp/dspy

View on GitHub ↗ ★ 38,885 Python

DSPy: The framework for programming—not prompting—language models

26 mentions on Hacker News by 25 people: 5 stories, 21 comments · first 2023-08-25 · latest 2026-09-28

Mentions per year 26 mentions · busiest year 2024 (18)
20082026
  1. …using them. Read the GEPA paper. I'll put the link here and you can scroll down and read it. https://github.com/stanfordnlp/dspy Your agentic loops are already doing these things.
    comment by genxy · 2026-09-28 · in Imp is a full port of DSPy to the BEAM
  2. If true, this is essentially what Dspy does https://github.com/stanfordnlp/dspy (it was made back in 2023)
  3. Dspy handling it openly https://github.com/stanfordnlp/dspy/issues/9500
  4. …but still fails in a lot of cases like my implementation. For example fails for this: https://github.com/stanfordnlp/dspy
  5. ▲ 1
    Stanfordnlp: DSPy: The framework for programming–not prompting–language models
    story by FloatArtifact · 2024-12-08 · 0 comments
  6. …has been done [2][3][4] [1]DSPy: The framework for programming—not prompting—foundation models: https://github.com/stanfordnlp/dspy [2]TextGrad: Automatic 'Differentiation' via Text -- using large language models to backpropagate textual…
    comment by ValentinA23 · 2024-10-12 · in Swarm, a new agent framework by OpenAI
  7. At least some of it comes from "hype" too. The author of Dspy (the writer) ( https://github.com/stanfordnlp/dspy ) should know this, given that Dspy is nothing more than fancy prompts optimizing prompts to be fancier according to prompt…
    comment by Der_Einzige · 2024-09-25 · in On Impactful AI Research
  8. https://github.com/stanfordnlp/dspy
  9. …AdalFlow, DSPy [0], LangChain [1] and magentic [2] (package I've created, narrower in scope). [0] https://github.com/stanfordnlp/dspy [1] https://github.com/langchain-ai/langchain [2] https://github.com/jackmpcollins/magentic
  10. I agree this is an interesting direction, I think this is on the roadmap for DSPy [ https://github.com/stanfordnlp/dspy ], but right now they mainly focus on optimizing the in-context examples.
    comment by danlenton · 2024-05-23 · in Show HN: Route your prompts to the best LLM
  11. I think dspy aims to do this: https://github.com/stanfordnlp/dspy
  12. ▲ 1
    Thoughts on DSPy
    story by kakaly040390 · 2024-05-17 · 0 comments
  13. …type-adjacent features. It serves as a foundational technology for prompting libraries like [DSPy]( https://github.com/stanfordnlp/dspy ) which are abstracting “up the stack” of LLM apps. (some opinions there) Operating AI apps reveals a…
    comment by threecheese · 2024-04-30 · in Pydantic Logfire
  14. …makes it hard. We're experimenting with Claude right now and I'm really hoping something like https://github.com/stanfordnlp/dspy can help here.
  15. …excellent examples that showcase using axolotl to efficiently finetune models on cloud GPUs. [1] https://github.com/stanfordnlp/dspy [2] https://github.com/unslothai/unsloth [3] https://github.com/OpenAccess-AI-Collective/axolotl [4]…
  16. DSPy is the best tool for optimizing prompts [0]: https://github.com/stanfordnlp/dspy Think of it as a meta-prompt optimizer, it uses a LLM to optimize your prompts, to optimize your LLM.
  17. Isn’t this just a very naive implementation of what DsPY does? https://github.com/stanfordnlp/dspy I don’t understand what is exceptional here.
  18. What's the difference to using joblibs Memory class similar to this implementation: https://github.com/stanfordnlp/dspy/blob/main/dsp/modules/ca...
  19. Have you done any comparison with DSPy ? ( https://github.com/stanfordnlp/dspy ) Feels very similiar to DSPy except you dont have optimizations yet. But I like your API and the programming model your are enforcing through this.
  20. I'm interested in hearing if anyone has used DSPy ( https://github.com/stanfordnlp/dspy ) just for prompt optimization for GPT-3.5 or GPT-4. Was it worth the effort and much better than manual prompt iteration? Was the optimized prompt…
    comment by binarymax · 2024-03-06 · in AI Prompt Engineering Is Dead
  21. You should check out https://x.com/lateinteraction's DSPy — which is like an optimizer for prompts — https://github.com/stanfordnlp/dspy
  22. https://github.com/stanfordnlp/dspy#5b-dspy-vs-application-d...
  23. btw read a more official answer here: https://github.com/stanfordnlp/dspy#5a-dspy-vs-thin-wrappers...
  24. ▲ 141
    DSPy: Framework for programming with foundation models
    story by okhat · 2023-09-07 · 52 comments
  25. ▲ 1
    DSPy: Programming–not prompting–Foundation Models
    story by gfortaine · 2023-08-31 · 0 comments
  26. ▲ 3
    Dspy
    story by nothrowaways · 2023-08-25 · 0 comments