At this point why not make the agents use a restricted subset of python, typescript or lua or something.
Bash has been unchanged for decades but its not a very nice language.
I know pydantic has been experimenting with https://github.com/pydantic/monty (restricted python) and I think Cloudflare and co were experimenting with giving typescript to agents.
huntaub 10 minutes ago [-]
We just released a driver that allows users of just-bash to attach a full Archil file system, synced to S3. This would let you run just-bash in an enrivonment where you don't have a full VM and get high-performance access to data that's in your S3 bucket already to do like greps or edits.
I have been playing around with something like this.
I'm not going for compatibility, but something that is a bit hackable. Deliberately not having /lib /share and /etc to avoid confusion that it might be posix
Why do you think there is a lot of training data? Could it be because it's stable and virtually unchanged for decades? Hmmm.
esafak 4 minutes ago [-]
Because bash is everywhere. Stability is a separate concern. And we know this because LLMs routinely generate deprecated code for libraries that change a lot.
gaigalas 21 minutes ago [-]
> No, they use it because there's a lot of training material.
Trained on an interpreter that is stable is virtually unchanged for decades. That's precisely my point.
It was never trained on an incompatible, partial implementation.
> agent-based browser automation
Clearly out of scope. You a bot?
Rendered at 15:28:44 GMT+0000 (Coordinated Universal Time) with Vercel.
Bash has been unchanged for decades but its not a very nice language.
I know pydantic has been experimenting with https://github.com/pydantic/monty (restricted python) and I think Cloudflare and co were experimenting with giving typescript to agents.
Check it out here: https://www.npmjs.com/package/@archildata/just-bash
I'm not going for compatibility, but something that is a bit hackable. Deliberately not having /lib /share and /etc to avoid confusion that it might be posix
On neocoties for proof of static hosting
https://lerc.neocities.org
That's a lot of incompatibilities.
LLMs like to use the shell because it's stable and virtually unchanged for decades.
It doesn't need to worry much about versions or whether something is supported or not, it can just assume it is.
Re-implementing bash is a herculean effort. I wish good luck.
pro-tip: vercel's https://agent-browser.dev/ is a great CLI for agent-based browser automation.
Trained on an interpreter that is stable is virtually unchanged for decades. That's precisely my point.
It was never trained on an incompatible, partial implementation.
> agent-based browser automation
Clearly out of scope. You a bot?