Re:Pi – a minimal terminal coding harness
by chriswarbo on Tuesday February 24, 2026 @07:43PM
(#47145765)
pi has an RPC mode which just sends/receives JSON lines over stdio (including progress updates, and "UI" things like asking for confirmation, if it's configured for that).
That's how the pi-coding-agent Emacs package interacts with pi; and it's how I write automated tests for my own pi extensions (along with a dummy LLM that emits canned responses).
Re:Pi – a minimal terminal coding harness
by fred_tandemai on Tuesday February 24, 2026 @06:22PM
(#47144944)
Been using pi exactly for this and it's working great!
Re:Pi – a minimal terminal coding harness
by evalstate on Tuesday February 24, 2026 @06:19PM
(#47144907)
fast-agent lets you do this as well (and has a skill in its default skills repo to help with automation/running in container/hf job).
Re:Pi – a minimal terminal coding harness
by rcarmo on Tuesday February 24, 2026 @05:41PM
(#47144383)
You probably want to look into pi then - it's extremely extensible.
Re:Pi – a minimal terminal coding harness
by dosinga on Tuesday February 24, 2026 @05:41PM
(#47144395)
you can run https://block.github.io/goose/ in headless mode (I work on goose)
Re:Pi – a minimal terminal coding harness
by mihneadevries on Wednesday February 25, 2026 @06:22AM
(#47150120)
Aider's `--yes` flag combined with a git-based loop works honestly better than I expected for this, like it'll just commit and you review the diff.
Pi I've tried headless and it's fine but you kinda have to wire up the exit conditions yourself since it's so minimal by design.
Fwiw the janky `claude -p` approach you described is actually pretty solid once you stop fighting it, the simplicity is the feature I think.
Re:Pi – a minimal terminal coding harness
by alchemist1e9 on Wednesday February 25, 2026 @09:19AM
(#47151814)
Finally found another Aider user to ask. How does Pi compare to it?
EDIT: Thank you to both responders. I'll just try the two options out then.