News for hackers. Stuff that matters.
Re:Prime Agent: A self-improving RLM agent by tosh on Thursday August 06, 2026 @02:39AM (#49193296)
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

Re:Prime Agent: A self-improving RLM agent by vivzkestrel on Thursday August 06, 2026 @07:14AM (#49195180)
got one in typescript? or node.js with javascript?
Re:Prime Agent: A self-improving RLM agent by tosh on Thursday August 06, 2026 @09:46AM (#49196641)
I'm adding python in a few minutes and then looking into other languages including javascript and typescript

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

Re:Prime Agent: A self-improving RLM agent by embedding-shape on Thursday August 06, 2026 @11:04AM (#49197714)
> also want to do clojure, unfortunately it looks like java does not come with json support out of the box

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.

Re:Prime Agent: A self-improving RLM agent by tosh on Thursday August 06, 2026 @11:18AM (#49197903)
ty for the pointers

I like the babashka angle!

Re:Prime Agent: A self-improving RLM agent by evanjrowley on Thursday August 06, 2026 @01:30PM (#49199740)
The stuff 99% of agents are coded in? Please tell me this was sarcasm.
Re:Prime Agent: A self-improving RLM agent by tosh on Friday August 07, 2026 @03:45AM (#49207143)
i'm also not a fan of javascript and typescript (let alone the ecosystem they come with)

but the runtimes are everywhere

and a smol agent /w no 3rd party dependencies is probably a good option to have in a pinch

Re:Prime Agent: A self-improving RLM agent by efskap on Thursday August 06, 2026 @06:58PM (#49203781)
I dig the spirit, but if I'm meant to understand it in an afternoon, why is it codegolfed to such an extent? It's like reading the output of a minifier, not idiomatic Go.