The gist is that current models don't really need tools, they can just use bash. So you can make an agent in 50 lines of code!
I followed this tutorial today and made my own coding agent in 50 lines. That's kind of blowing my mind.
It's not just a toy though. Turns out you can do real work with just Bash!
I just tested it on a real project, I asked it to fix some bugs in my game. It did just fine. Fixed the TS errors too.
In my version I added the one missing line of code, the outer loop that turns it into an actual interactive agent!
Enjoy
https://gist.github.com/a-n-d-a-i/bd50aaa4bdb15f9a4cc8176ee3...
(I vendored in my tiny llm lib, so it's 150 lines dependency free.)