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

Original title: Imp is a full port of DSPy to the BEAM

> Hacker News story 49869995 · language: en · submitted 2026-09-27
> Web version: https://zeli.app/story/49869995
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 96 · by [mpweiher](<https://news.ycombinator.com/user?id=mpweiher>) · 💬 10
[original](<https://github.com/deepfates/imp>) · [HN discussion](<https://news.ycombinator.com/item?id=49869995>)

## Summary

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.

## Key quote

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

## HN discussion (10 comments)

### [dang](<https://news.ycombinator.com/item?id=49870145>)

> 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)

### [jauntywundrkind](<https://news.ycombinator.com/item?id=49871465>)

> Are there TS or rust ports? Please? :)
>
> Edit, follow-up:
>
> DSRr in rust: https://github.com/krypticmouse/DSRs

---

## Cite

- Page: https://zeli.app/story/49869995
- Date: 2026-09-27
- Source: github.com (https://github.com/deepfates/imp)
- Hacker News: https://news.ycombinator.com/item?id=49869995

## Other languages

- zh: https://zeli.app/zh/story/49869995 · markdown: https://zeli.app/zh/story/49869995.md
- ja: https://zeli.app/ja/story/49869995 · markdown: https://zeli.app/ja/story/49869995.md
- ko: https://zeli.app/ko/story/49869995 · markdown: https://zeli.app/ko/story/49869995.md
- de: https://zeli.app/de/story/49869995 · markdown: https://zeli.app/de/story/49869995.md
- es: https://zeli.app/es/story/49869995 · markdown: https://zeli.app/es/story/49869995.md
- ru: https://zeli.app/ru/story/49869995 · markdown: https://zeli.app/ru/story/49869995.md
