top | item 47167031

(no title)

gaigalas | 3 days ago

https://github.com/vercel-labs/just-bash/blob/main/src/spec-...

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.

discuss

order

cramforce|3 days ago

I would not over-read into that doc. In practice, the only missing stuff are extreme edge cases of the type that is actually not consistent between other implementations of bash.

In practice it works great. I haven't seen a failed command in a while

[Disclaimer: I made the thing]

gaigalas|3 days ago

I gave it a shot. Failed with a simple `> /dev/null` redirection. LLMs do that a lot.

Good luck with the project! I'm sure it will get there.

esafak|3 days ago

No, they use it because there's a lot of training material.

pro-tip: vercel's https://agent-browser.dev/ is a great CLI for agent-based browser automation.

athorax|3 days ago

Why do you think there is a lot of training data? Could it be because it's stable and virtually unchanged for decades? Hmmm.

simonw|3 days ago

Incompatibilities don't matter much provided your error messages are actionable - an LLM can hit a problem, read the error message and try again. They'll also remember that solution for the rest of that session.

gaigalas|3 days ago

I don't think the current incompatibilities can be worked around.

Also, huge waste of tokens. And the waste is not even worth it, the sandbox seems insufficient.

Again, good luck to the developers. I just don't think it's ready.