←back to thread

469 points ghuntley | 1 comments | | HN request time: 0.245s | source
Show context
normie3000 ◴[] No.45001738[source]
Why are any of the tools beyond the bash tool required?

Surely listing files, searching a repo, editing a file can all be achieved with bash?

Or is this what's demonstrated by https://news.ycombinator.com/item?id=45001234?

replies(6): >>45001930 #>>45001984 #>>45002135 #>>45002208 #>>45002306 #>>45003670 #
ghuntley ◴[] No.45003670[source]
Yeah, you could get away with a coding agent just using the Bash tool and the Edit tool (tbh somewhat optional but not having it would be highly inefficient). I haven't tried it, but it might struggle with the code search functionality. It would be possible with the right prompting. For example, you could just prompt the LLM to say "If you need to search the source code, use ripgrep with the Bash tool."
replies(1): >>45006289 #
1. normie3000 ◴[] No.45006289[source]
> Edit tool (tbh somewhat optional but not having it would be highly inefficient)

If you need to edit the source, just use patch with the bash tool.

What's the efficiency issue?