Imp is a full port of DSPy to the BEAM

96 points by mpweiher a day ago on hackernews | 10 comments

dang | a day ago

Related. Others?

If DSPy is so great, why isn't anyone using it? - https://news.ycombinator.com/item?id=47490365 - March 2026 (120 comments)

DSPy – Programming–not prompting–LMs - https://news.ycombinator.com/item?id=42343692 - Dec 2024 (45 comments)

Betting on DSPy for Systems of LLMs - https://news.ycombinator.com/item?id=41213561 - Aug 2024 (18 comments)

DSPy: Framework for programming with foundation models - https://news.ycombinator.com/item?id=37417698 - Sept 2023 (52 comments)

visarga | a day ago

We moved from structured decoding to tool calls and agents a long time ago. It was more useful when models were too weak to hold syntax reliably.

vatsachak | a day ago

Yeah. Myself, a PhD in math, have less attention to detail than models.

Now their main weakness is creativity, planning and decision making

genxy | a day ago

Techniques in DSPy are still extremely valuable. Your comment is akin to saying, we don't need feedback because open loop control is so good now. It is until it isn't. I don't need a deep understanding of the underlying theory because my gut reaction is always right, until it isn't.

ramraj07 | 6 hours ago

DSPy never made full sense even back then in the somnet 3.5 era and it makes no sense today. Not a gut reaction but pure evals (we have had teams create the same agents using dspy, langgraph compete with pure agent loops and the agent loops come across as so much better by a wide margin). Its the people who insist on these procedural ideas that need to prove with data or money in revenue that these archaic ideas make any sense to consider.

Incidentally the teams and people who think dspy is great are also generally the worse teams that can never make a lovable product so take from that what you want.

genxy | 4 hours ago

You really need to work on your rhetorical combat, hn is not for amateurs.

I said "techniques in DSPy", your agentic workflows are already 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.

jauntywundrkind | 23 hours ago

Are there TS or rust ports? Please? :)

Edit, follow-up:

DSRr in rust: https://github.com/krypticmouse/DSRs

paulirish | 7 hours ago

https://github.com/ax-llm/ax is oft cited as the TS equiv.

jt-hill | 18 hours ago

Welcome to the deepfates program

aidiveyt | 15 hours ago

Tool calls don't constrain enums. Mine returned hackernews where the schema said hn, and only the validation step caught it.