Over the last week I wrote a simple AI agent using ~1000 lines of POSIX sh. Makes sandboxing scripts an AI wants to run on your computer relatively straightforward. Lets you prompt the AI by llama.cpp or curl to an OpenAI API endpoint. Feels like a unix util.