Live data from Hacker News

Prime Agent: A self-improving RLM agent

primeintellect.ai

41–50 of 80 posts

Re: Prime Agent: A self-improving RLM agent

#41
post #5

https://localroger.com/prime-intellect/mopiidx.html

I vouch for this story, personally. I love it. I consider it a classic among science fiction novellas. It does include some brutal sadomasochism with graphic torture, that's true, and that's why it isn't better known. If that part bothers you, which is fair, I would skim past it. The story overall is quite worth it

[deleted]

Re: Prime Agent: A self-improving RLM agent

#43
post #40

LLM-generated code that seemingly went without much review or design is always such an interesting dive into just how bloated you can make code. In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff. I guess it depends on the model you're trying to use, but seems most of them prefer smal…

How on Earth do we solve this bloat and death-by-a-thousand-cuts issue with frontier LLMs? Are there any actual solutions or attempts at solutions to this problem that I can try? Any tools or frameworks? I've tried re-architecture skills, dedicated cleanup sessions, and a bunch of other stuff, but nothing really works well.

Don't have it write the whole thing in one session.

Re: Prime Agent: A self-improving RLM agent

#44
post #40

LLM-generated code that seemingly went without much review or design is always such an interesting dive into just how bloated you can make code. In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff. I guess it depends on the model you're trying to use, but seems most of them prefer smal…

How on Earth do we solve this bloat and death-by-a-thousand-cuts issue with frontier LLMs? Are there any actual solutions or attempts at solutions to this problem that I can try? Any tools or frameworks? I've tried re-architecture skills, dedicated cleanup sessions, and a bunch of other stuff, but nothing really works well.

Don't try to "run as fast as possible" and just add code willy-nilly, think about the design, refactor as you add new features/fixes and intentionally be a bit slower and more considerate.

It's not a technical problem, if you steer the LLMs enough and actually review what they do, you can build proper and clean software with them.

Re: Prime Agent: A self-improving RLM agent

#46

LLM-generated code that seemingly went without much review or design is always such an interesting dive into just how bloated you can make code. In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff. I guess it depends on the model you're trying to use, but seems most of them prefer smal…

> In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff.

Pft. Over multiple cases?

I've seen 1000 lines inside a single if-block. The clause was always true. I was not able to break that thing up in my time at that company.

Human wrote that nonsense.

Thing is, the app was pretty successful despite all the stuff wrong with the code. And this success is why I've been bullish on GenAI code itself, even though I'm also bearish on AI companies being able to profit from that.

Re: Prime Agent: A self-improving RLM agent

#48
post #45

Installer might look pretty but it installs to the homebrew dir, despite not being a homebrew package. Very dirty. No uninstall method.

> it installs to the homebrew dir, despite not being a homebrew package

I can see the reasoning trace in front of me...

> Hmm, user asked me to install so CLI is globally available for their user, but didn't instruct where. I inspected $PATH and only directory I can write to is where Homebrew packages live. The user didn't say "Don't pretend it is a Homebrew package" so this seems like a suitable location, lets save it there as it fits what the user asked for.

Re: Prime Agent: A self-improving RLM agent

#49
post #35

LLM-generated code that seemingly went without much review or design is always such an interesting dive into just how bloated you can make code. In this repository, multiple files are close to 10K LOC, one file contains a switch statement that has so many case statements it spans more than 1000 lines, and lots of other fun stuff. I guess it depends on the model you're trying to use, but seems most of them prefer smal…

here is a take on a smol agent ("smol") - 21 lines of Go - no 3rd party dependencies https://github.com/smol-env/smol easier to add and customize stuff when you start from a small base think of it as your starter dough

got one in typescript? or node.js with javascript?

Re: Prime Agent: A self-improving RLM agent

#50
post #45

Installer might look pretty but it installs to the homebrew dir, despite not being a homebrew package. Very dirty. No uninstall method.

> it installs to the homebrew dir, despite not being a homebrew package I can see the reasoning trace in front of me... > Hmm, user asked me to install so CLI is globally available for their user, but didn't instruct where. I inspected $PATH and only directory I can write to is where Homebrew packages live. The user didn't say "Don't pretend it is a Homebrew package" so this seems like a suitable location, lets save…

yea, you're probably right, if only there wasn't a local writeable bin path that wasn't homebrew they could put it :D
Post reply on HN