Remix.run Logo
ghuntley 4 days ago

Sonnet does this via the edit tool and bash tool. It’s inbuilt to the model.

revskill 4 days ago | parent [-]

Interesting.

ghuntley 4 days ago | parent [-]

Keep an eye out for Sonnet generating Python files. What typically happens is: let's say you had a refactor that needs to happen, and let's say 100 symbols need renaming. Instead of invoking the edit tool 100 times, Sonnet has this behaviour where it will synthesise a Python program and then execute it to do it all in one shot.

gbrindisi 4 days ago | parent [-]

I wonder how far I could go with a barebone agent prompted to take advantage of this with Sonnet and the Bash tool only, so that it will always try to use the tool to only do `python -c …`