agent active

Pu.sh

Maker: NahimNasser License: MIT Stars: 227 First released: 2026-04-24 Language: Shell
CLI

About

Pu.sh answers a question most harnesses never ask: how small can a working coding agent be? The entire implementation is a single POSIX shell script under 50KB that runs with sh, curl, and awk plus an API key — no npm, no Python, no Docker, no runtime beyond a Unix system. The script implements an agent loop where tool calls execute as shell commands the model requests, with conversation compaction built in to keep long sessions inside the context window. Because every line is readable shell, the mechanism is auditable in one sitting, which makes it useful as a reference implementation for anyone learning how agent loops actually work. Developers use it in constrained environments — containers, CI jobs, minimal servers — where installing a full harness is impractical, and as a starting point for building their own loop.