r/elixir • • 3d ago

How much of your Elixir does an LLM write now?

Jacob Luetzow (Elixir Mentor) no longer writes code on Killswitch, but reads every PR. He credits Ash: one way to do everything, which LLMs follow well. Allen Wyma got close to 100% first-pass output with two additions: custom usage_rules and custom Credo checks that enforce his defaults, like AshPaperTrail and AshArchival. Francesco Cesarini still designs the process structure and supervision strategy himself before handing over small components.
From the BEAM There, Done That / Elixir Mentor crossover: https://youtu.be/rPbLWY_393I

33 Upvotes

34 comments sorted by

19

u/bepitulaz Alchemist 3d ago

100%

16

u/calbertora 3d ago

Now 100% of my code is written by AI. I am a reviewer now

1

u/twinklehood 3d ago

You still review? We got rid of that a while ago

2

u/0ddm4n 3d ago

We review what’s important/risky. Rest is reviewed by a separate model.

15

u/BroadbandJesus Alchemist 3d ago

I'm also eternally grateful to Ash. I write 0 code, but I will review it every full moon.

I'm now at the level that I might not even review the changes in the working app. I'll ask the klanker to create a demo / review video and will review that.

Wait, maybe I can give that video for the klanker to review... (I'll be right back...)

9

u/koudelka 3d ago

0%, very little of the code that i write is boilerplate, i don’t gain anything from having a machine generate it.

2

u/krainboltgreene 2d ago

Yep, same. The best usage I've seen has been telling a model to look at a diff. Half the suggestions are nonsense, half the rest are wrong, and one usually has a kernel of truth enough for me to check.

2

u/hectorip 2d ago

500% lol

3

u/gorgeouslyhumble 3d ago

All of it, unfortunately. I just review critical paths.

I'd say that Fable is a better programmer than me in most cases at this point.

0

u/0ddm4n 3d ago

And almost as expensive. Hahaha

0

u/gorgeouslyhumble 3d ago

Right?????

1

u/0ddm4n 3d ago

We get more than enough value out of opus 5.5 and Kimi-k3. I actually find the latters discovery and “thinking” more impressive. And it’s much cheaper.

1

u/lotanis 2d ago

Am I cheaper than everyone else? I do my design with Opus but most of the actual coding with Sonnet.

1

u/0ddm4n 2d ago

Maybe, but why is that a problem? You use the models that get you the results you need.

You don’t need to have a Ferrari to get you from point a to point b.

2

u/lotanis 2d ago

Yeah, if it does the job. But "does the job" is so subjective and easy to get the wrong impression of that you always wonder. It's not my money, so sometimes spending more to get a better result might be worth it.

(admittedly Opus is doing my coding at the moment because I've got budget left in this month...)

1

u/gorgeouslyhumble 3d ago

Yeah, I still use lesser capable models for tasks. Its just that Fable was the first model where I felt obsolete as a programmer.

Not as an engineer and a human with product direction but as a programmer specifically. I only review output now and have non vibe coder notions like making sure Prometheus metrics are implemented for sql queries or building out Grafana dashboards.

1

u/0ddm4n 3d ago

Yeah we get that both from opus and Kimi. Skill definition and context really helps make even the lesser models feel like top engineers.

2

u/it_snow_problem 3d ago

All. But I found that I have to teach the LLM to use set theoretic types and some functional elixirisms otherwise it produces far more errors.

1

u/Sufficient-Sky-1695 1d ago

using a SKILL.md?

1

u/it_snow_problem 1d ago

Yeah basically. Packaged with the full offline elixir reference/llm.txt, with the skill.md providing top line guidance for navigating the docs/updating them for the current version.

The official hexdocs already come with excellent examples, guidance for patterns and antipatterns, and cheat sheets, so the LLM just needs to know when and where to look.

2

u/sb8244 3d ago

I was a slow adopter to full AI and now that's the case. I read PRs and will review critical pieces while a feature is developed.

I prefer to steer right after a pass is done vs all at end, mainly for working through user experience and spot checking things I know may be tricky.

2

u/hemingward 3d ago

Yep I’m in the same boat as you. I still review all code because I have 25+ years of experience in general and have strong opinions on architecture and interface/api design. I find if I don’t enforce then shit can go off the rails and the entropy of cruft gets gnarly pretty fast.

I still employ a couple ai tools to help this. For example I use PR-Agent to run checks on GitHub when a PR is published, and prior to that I have a OMP command called “/review-fix-loop” which spawns a swarm of agents to do exactly what the command eludes to, with a default loop of up to 3 review cycles.

But reviewing for whether or not it works I don’t do as much. I smoke test everything, and have a huge test suite, and I enforce the AI to validate it’s work before saying it’s done (thank you pstack!).

I don’t move as fast as a vibe coder who YOLOS the shit out of everything because I’m a lone dev and am on the hook for 100%, so I still care about code quality, legibility, patterns, etc etc etc. but I’m still accomplishing in a day what would have taken me like, 2 weeks back in the day. I especially love getting all the planning and such ready to go, then kicking off a swarm of agents and going to bed. Wake up the next day and start reviewing and such.

0

u/0ddm4n 3d ago

You. AI still struggles with UX and design.

1

u/lotanis 2d ago

Yeah, it's bad at the decisions. But I've found it fairly good at knowing where decisions are needed, suggesting possibilities and mocking up the options for you to look at (particularly the last one, which is fantastic).

2

u/mcspuder 3d ago

Almost 0. I use it spit out validators for me, but thats basically it.

1

u/noizu 2d ago

Nearlly all. Z.Ai is quite adroit at it.

1

u/LawyerSea9462 2d ago

all of it

1

u/Popular-Tip-2051 1d ago

IMHO: If you don't review code, than your knowledge has stuck before the AI era.

1

u/SamLowery1047 3d ago

All of it 

1

u/mikehostetler 3d ago

100% - I review a lot of code by hand, do several rounds, but an LLM always writes the first pass

1

u/ScrimpyCat 2d ago

0%, but I don’t program professionally anymore so there’s no incentive for me to use it.