Settings

Theme

Simple AI agent in POSIX shell

github.com

2 points by pianopatrick 2 days ago · 1 comment

Reader

pianopatrickOP 2 days 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection