Prime Agent: A self-improving RLM agent
Posted by Xeophon 1 day ago
Comments
Comment by _joel 22 hours ago
Comment by embedding-shape 20 hours ago
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.
Comment by _joel 19 hours ago
Comment by axus 1 day ago
Comment by windowshopping 1 day ago
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
Comment by dilap 17 hours ago
So all these years later AI is real, I see the story again, and I figure, hey, why not read it. And how very surprised I was to find out it's basically a horny kink story with a little bit of AI/SF window dressing!
Comment by Jordan-117 1 day ago
It's frustrating because apart from those (awful) aspects the story is quite thoughtful and compelling. I always recommend people skip the final chapter since the resulting existential cliffhanger is far better than the bizarre last-minute swerve into gratuitous sex abuse.
Comment by embedding-shape 19 hours ago
(Potential spoilers to the story ahead) Are you talking specifically about the "re-population" stuff from the ending? It was many years I last read it, but I seem to recall that there was hesitation and stuff involved, together with "This is literally the only way to re-populate since we're just two people" basically, not sure what other direction it could have gone into, unless you'd just skip describing it completely. But maybe I misremember (or my brain subconsciously suppress my memory) more of the same horrible stuff from the story?
Comment by Jordan-117 18 hours ago
Aside from it being biologically impossible to repopulate from a single couple, it was not really portrayed ambiguously. I don't care to reread it, but from what I remember, the main protagonist was the driving force behind it, grooms her own (single-digit-age?) daughter into the idea, who then sleeps with her own father in graphic detail. He is a little hesitant at first, but relents almost immediately, and this is implied to be a good thing. Cue decades of continued child-incest and inbreeding.
Putting the characters in that situation and resolving it the explicit way he did was a deliberate choice the author makes -- it didn't have to be that way.
Comment by elaida73 11 hours ago
Comment by ajmurmann 18 hours ago
Comment by phrotoma 19 hours ago
Comment by nullc 1 day ago
If you imagine it being written for alt.sex.stories.moderated but somehow failing to be erotic by virtue of being too explicit, and being a few orders of magnitude better writing for that venue... then you wouldn't be too far off. [Started making a silly example of how some sex story could fail like that and then realized I was litterally describing a scene from prime intellect].
It's also arguably the origin of a lot of the mentally ill ai-safety hysteria. Arguably an enjoyable romp for those who understand that it's fiction, but it seems a lot of people cannot.
Comment by axus 17 hours ago
Comment by JSR_FDED 23 hours ago
I was wrong.
Comment by EarlKing 1 day ago
Comment by JLO64 1 day ago
That said, the stuff that deals with AI and its implications on the universe was great and more relevant than ever. The way PI works is pretty similar to how we use subagents to tackle large repos!
Comment by heed 1 day ago
Comment by ajmurmann 18 hours ago
Comment by EarlKing 1 day ago
Comment by KiwiJohnno 1 day ago
Comment by andai 1 day ago
Comment by embedding-shape 1 day ago
I guess it depends on the model you're trying to use, but seems most of them prefer smaller codebases, they work a lot better with less code, which kind of makes sense. With that in mind, I'd probably aim for something way smaller to bootstrap a self-improving agent. Then I'd use this "Prime Agent" as an example to my self-improving agent for what it should not evolve to.
Comment by c-hendricks 1 day ago
Probably best to leave YandereDev's code out of the training data.
Comment by tosh 1 day ago
- 21 lines of Go
- no 3rd party dependencies
https://github.com/smol-env/smoleasier to add and customize stuff when you start from a small base
think of it as your starter dough
Comment by efskap 8 hours ago
Comment by vivzkestrel 20 hours ago
Comment by tosh 18 hours ago
all with the same zero 3rd party dependencies approach
also want to do clojure, unfortunately it looks like java does not come with json support out of the box
Comment by embedding-shape 16 hours ago
Clojure has clojure.data.json (https://clojure.github.io/data.json/), should be easy to use albeit not blazing fast exactly, doesn't really matter here though. Otherwise, you could use Babashka, comes with Cheshire (and others) out of the box.
Comment by tosh 16 hours ago
I like the babashka angle!
Comment by evanjrowley 14 hours ago
Comment by tosh 6 minutes ago
but the runtimes are everywhere
and a smol agent /w no 3rd party dependencies is probably a good option to have in a pinch
Comment by ben_w 22 hours ago
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.
Comment by dd8601fn 17 hours ago
It has lots of utility. Very broad… but not the best for a lot of things. It will be a ubiquitous tool. Outcomes will depend heavily on the quality of the mechanic unless you’re tightening a bolt on your fence gate.
Comment by andai 1 day ago
Comment by digidecode 1 day ago
Comment by whattheheckheck 1 day ago
Comment by nullbio 1 day ago
Comment by kooi 4 hours ago
It's an offline coding grader. It works well: You ask for a new module, LLM starts spitting out bloated crap, the code score goes down. LLM keep looping until code score is back up.
Not a substitute for human code review, but keeps things within tight guard rails.
Comment by embedding-shape 22 hours ago
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.
Comment by nullbio 14 hours ago
Comment by impulser_ 23 hours ago
Comment by trenchgun 1 day ago
Comment by supermdguy 1 day ago
Curious if anyone's tried using RL for harness engineering? I think we're still pretty far away from the optimal harness, especially when it comes to long-context memory management.
Comment by astrobiased 1 day ago
Comment by riddlemethat 1 day ago
Comment by hypercube33 1 day ago
Comment by oofbey 1 day ago
Prime Agent took the RLM idea (which is really just an academic view on how coding agents have always worked) and then added this "continual harness" idea. This part isn't super well described in the blog post, but includes some message passing between the agents, and the ability to share code.
Overall I chalk it up as neat, but not revolutionary. Another version of what most of these systems are already doing.
Comment by stared 1 day ago
I am curious - how does it fare for other benchmarks, or everyday programming?
Comment by tintor 1 day ago
Comment by stared 1 day ago
Is it that it wasn't accepted yet, or are there issues with how it was run?
Comment by noahbp 1 day ago
There’s a lot of improvement to be had from the benchmark harnesses, but sometimes, like with ARC-AGI-3, the limitations are intentional.
Comment by andriy_koval 13 hours ago
Comment by sexyketchup777 1 day ago
Comment by ViscountPenguin 1 day ago
Comment by znnajdla 17 hours ago
Comment by woah 1 day ago
Comment by zuzululu 1 day ago
self improvement is not a new idea but at current economics its not feasible
Comment by eliaseffects 18 hours ago
Comment by modgate 1 day ago
Comment by monocola 22 hours ago
Comment by mukundzzha 1 day ago
Comment by Lortu_AEGIS 1 day ago
Comment by amdahl 1 day ago