Agreed. It would be one thing if it was a regular bash project that got minified via a script or something, since at least you could tell what it's doing.
This is just spaghetti. Maybe it's spaghetti that runs, but code of this quality does not engender confidence.
… no, you shouldn’t use AI for simple reformatting of code without the newlines. We have syntax parsers and reformatters for this. Use them, then put that into the LLM for commenting, if you really want to.
if you are looking for a customizable agent harness that provides everything except a tui (cli, acp, embeddable python package) i built and use this for a handful of projects where i needed a vendor-agnostic replacement for claude agent sdk: https://github.com/zackham/aloop
Kudos. I set on this exact journey a couple of days back and Pi is what I started reading for inspiration as well. I really can't stand the text boxes and the animations of the mainstream harnesses.
I love it. I think I'm going to have fun with this and possibly learn a bit, too. I'm pondering a container based dev environment at the moment and might throw it in with busybox and see how far I get :)
Really like the looks of it, but minifying the code to achieve the “400 lines” marketing gimmick is a huge turn-off.
It’s also a security nightmare, and ensures it remains 100% vibe coded. Would rather have a readable source with an honest line count.
Agreed. It would be one thing if it was a regular bash project that got minified via a script or something, since at least you could tell what it's doing.
This is just spaghetti. Maybe it's spaghetti that runs, but code of this quality does not engender confidence.
I think it's fine that it's minified, code-golf style, but yes I agree that this would be much more convincing and useful with an unminified source.
Isn’t unwrapping and commenting just one prompt away?
… no, you shouldn’t use AI for simple reformatting of code without the newlines. We have syntax parsers and reformatters for this. Use them, then put that into the LLM for commenting, if you really want to.
Assuming the agent doesn't forget or misinterpret anything.
It would be much better to just have a deterministic minification script.
I'm not even sure why it stopped at 500 line limit. If it's just a shell script then why not make it one line?
if you are looking for a customizable agent harness that provides everything except a tui (cli, acp, embeddable python package) i built and use this for a handful of projects where i needed a vendor-agnostic replacement for claude agent sdk: https://github.com/zackham/aloop
Could you post the initial 6KB version? I'd love to have a version that I can actually read and understand. I don't care if it's 2K LOC.
> Could you post the initial 6KB version? I'd love to have a version that I can actually read and understand. I don't care if it's 2K LOC.
I don't think that even with APL you could get an average of three characters per line of code to get a 6 Kb file in 2 K LOC.
I love this. This is the grown-up brother of my one-liner bash+python at
https://github.com/kkovacs/kkrc/blob/ecff1f65d5ccfa24d5f6695...
:)
your 500 LOC requirement has made this thing completely and unnecessarily inscrutable and unreadable.
Pass.
No kidding https://github.com/NahimNasser/pu/blob/main/pu.sh
Does it work in just-bash?
https://github.com/vercel-labs/just-bash/blob/main/packages/...
Kudos. I set on this exact journey a couple of days back and Pi is what I started reading for inspiration as well. I really can't stand the text boxes and the animations of the mainstream harnesses.
I'd love to learn how to build something like this, but unfortunately the code is unreadable.
If author could write a heavily commented version that would be amazing.
why the LOC limit? just because?
Interested in something like this if the code can be more readable, it would be interesting to see it in languages like lua etc. too in future.
I love it. I think I'm going to have fun with this and possibly learn a bit, too. I'm pondering a container based dev environment at the moment and might throw it in with busybox and see how far I get :)