Imp brings DSPy's self-improving language-model programs to the BEAM

Imp is a full port of DSPy to the BEAM

Imp brings DSPy's self-improving language-model programs to the BEAM

Imp is a full port of DSPy to the BEAM, letting Elixir developers declare typed language-model steps, measure them against labeled examples, and let optimizers like GEPA rewrite instructions. It includes signatures, modules, optimizers, agent loops, and retrieval, all running with OTP's reliability and concurrency. Agents are processes that can be supervised, watched, and stopped, with tool calls authorized and deadlines enforced. Imp 0.5 is experimental and available on Hex.

GEPA runs the program, reads where it failed, and rewrites its instructions.
  1. dang

    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)

  2. jauntywundrkind

    Are there TS or rust ports? Please? :)

    Edit, follow-up:

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

More from this day

2026-09-27