micro-agent
micro-agent copied to clipboard
Direct terminal interaction
Why not let it simply use the terminal directly?
Then you don't have to keep implementing and maintaining fixed actions it has to use, and it can use existing training rather than wasting prompt space to explain your api as it grows.
GPT seems to already have a pretty good grip on cat, echo, git, etc, and if you put it behind a docker container it could even install tools to help it self and create it's own dev environment.
Safety comes to mind of course but that's fairly solvable by having human in the loop for now (which also lets you help it debug problems).
I don't yet have GPT4 api access to try this, but I've been playing with this concept using the turbo model and an app I made here ModelProgrammer and it seems to get stuck in weird circles like modifying it's tests rather than the code under test that I find having a human to guide out of is helpful anyway.