AI Agents the Unix Way – built with bash, curl, and jq
AI Agents the Unix Way – built with bash, curl, and jq
While working on an educational exercise tinkering with local models and trying my hand at setting up agents, I went down a rabbit hole: to see how far I could build a custom agent loop using exclusively command-line building blocks and stripping out dependencies wherever possible. It turns out you can get pretty far with pipes, text streams, append only logs, and standard command-line components - concepts pretty well aligned with classic Unix philosophy. The agent is a wrapper composed of a handful of smaller programs, which should allow for flexibly injecting various tool to inspect, filter, redirect, and audit different stages of the agent loop. This project as it stands is a proof-of-concept, but packs enough punch with tool calling support - which in theory should make it indefinitely extensible. With that said, it does appear that the sophistication of tool calling is largely limited by the underlying model, and so far I’ve only experimented with lightweight local models (e.g. llama3.2:1b) that have modest success for tools. Nevertheless, I wanted to share this here and am curious to see if others find it interesting enough to build upon or extend!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
AI Agents Benchmarking and Competition
OAuth for AI Agents
47jobs – A Fiverr/Upwork for AI Agents
SAIA – SCUMM for AI Agents
RoverBook – PostHog for AI Agents
Teleport-env – <500ms stateful rollbacks for AI agents via CRIU
Declarative, reproducible configuration materializer for AI agents
Neoswarm – Neovim for controlling AI agents
AI Agents for Osint/Sigint
Keydris, Sudo for AI Agents