logoalt Hacker News

HarHarVeryFunnyyesterday at 5:12 PM5 repliesview on HN

If all you want is a program that calls the model in a loop and offers a bash tool, then ask Claude Code to build that. You won't like it though!

For a preview of what it'd be like, just tell your AI chat app that you'll run bash commands for it, and please change the app in your "current directory" to "sort the output before printing it", or some such request.


Replies

senkoyesterday at 5:45 PM

Claude Code with Opus 4.6 regularly uses sed for multi-line edits, in my experience. On top of it, Pi is famously only exposing 4 tools, which is not just Bash, but far more constrained than CCs 57 or so tools.

So, yes, it can work.

show 2 replies
Yokohiiiyesterday at 5:41 PM

I think you get him wrong? He is already concerned about "bash on steroids" and current tools add concerning amounts of steroids to everything.

girvoyesterday at 9:49 PM

> If all you want is a program that calls the model in a loop and offers a bash tool, then ask Claude Code to build that. You won't like it though!

Okay sure it’s technically more than just bash, but my own for-fun coding agent and pi-coding-agent work this way. The latter is quite useful. You can get surprisingly far with it.

stanleykmyesterday at 5:44 PM

i did.. and thats what i use. obviously its a little more than just a tool that calls bash but it is considerably less than whatever they are doing in coding agents now.

slopinthebagyesterday at 6:26 PM

Claude Code gets smoked on benchmarks by an agent that has a single tool: tmux. So I think they might actually like that quite a bit.

show 1 reply