Simple AI agent in POSIX shell

2 pointsposted a day ago
by pianopatrick

1 Comments

pianopatrick

a day ago

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.