Discussion about this post

User's avatar
JP's avatar

You've nailed why bash is the key tool. It's also the scariest one to hand over. I've been using just-bash from Vercel which reimplements the entire shell in TypeScript. No child processes, no real filesystem, no network unless you explicitly opt in. Your agent gets grep, sed, awk, jq without any of the blast radius. I did a full teardown here: https://reading.sh/vercels-cto-built-a-fake-bash-and-it-s-pure-genius-a79ae1500f34?sk=9207a885db38088fa9147ce9c4082e9d

Pawel Jozefiak's avatar

131 lines is a surprisingly honest number. Most agent tutorials either oversimplify ('just call the API!') or overcomplicate things with enterprise patterns nobody needs.

I've been running an autonomous agent called Wiz built on Claude Code for months now. Started simple too - but the loop of tool use, memory, and self-correction is where the real complexity hides. Your point about coding agents being general-purpose is exactly right. Mine manages tasks, deploys code, runs night shifts.

The 'tool use + loop' pattern you describe is the core. Everything else is scaffolding.

Documented the full journey building mine from scratch: https://thoughts.jock.pl/p/wiz-personal-ai-agent-claude-code-2026

What's been the hardest part of keeping yours reliable long-term?

No posts

Ready for more?