Tech & AI News
Hacker News

Imp is a full port of DSPy to the BEAM

Imp is a BEAM port of DSPy that lets Elixir developers define typed language-model steps, chain them into agents, and optimize programs with examples and metrics. It auto-builds prompts from signatures, validates responses, and supports tools like web-page fetching via Req. Optimizers such as GEPA, MIPROv2, and SIMBA improve performance. Agents run as supervised OTP processes, enabling reliable, concurrent execution and easy inspection of optimized instructions and examples.