←back to thread

469 points ghuntley | 1 comments | | HN request time: 0s | 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 #
zarzavat ◴[] No.45001930[source]
Separate tools is simpler than having everything go through bash.

If everything goes through bash then you need some way to separate always safe commands that don't need approval (such as listing files), from all other potentially unsafe commands that require user approval.

If you have listing files as a separate tool then you can also enforce that the agent doesn't list any files outside of the project directory.

replies(1): >>45002621 #
1. normie3000 ◴[] No.45002621[source]
> you need some way to separate always safe commands that don't need approval (such as listing files), from all other potentially unsafe commands that require user approval.

This is a very strong argument for more specific tools, thanks!