3 ms·
here is a take on a smol agent ("smol") - 21 lines of Go - no 3rd party dependencies https://github.com/smol-env/smol https://github.com/smol-env/smol ea
by tosh 3mo ago
here is a take on a smol agent ("smol")
- 21 lines of Go
- no 3rd party dependencies
https://github.com/smol-env/smol 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
- vivzkestrel 3mo agogot one in typescript? or node.js with javascript?
- tosh 3mo agoI'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
- embedding-shape 3mo ago> 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/ 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.
- tosh 3mo agoty for the pointers I like the babashka angle!
- evanjrowley 3mo agoThe stuff 99% of agents are coded in? Please tell me this was sarcasm.
- tosh 3mo agoi'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
- efskap 3mo agoI 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.