Pull down to go back
Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

Show HN: Pu.sh – a full coding-agent harness in 400 lines of shell

Show HN: Pu.sh – 用 400 行 Shell 寫出完整的編碼代理框架

Started as an experiment with pi-autoresearch, building the most portable coding agent possible. The first version was just 6 KB of shell script—worked great for single tasks but fell apart when used interactively. Surprisingly, it actually worked. Then kept adding features while enforcing two brutal constraints: zero new dependencies and staying under 500 lines of code. The result is genuinely portable—just sh, curl, awk, and system primitives. This meant doing some truly horrifying things in awk, including hand-rolled JSON parsing.