3 ms·
Has anyone used an open coding agent in headless mode? I have a system cobbled together with exceptions going to a centralized system where I can then have each
by arjie 8mo ago
Has anyone used an open coding agent in headless mode? I have a system cobbled together with exceptions going to a centralized system where I can then have each one pulled out and `claude -p`'d but I'd rather just integrate an open coding agent into the loop because it's less janky and then I'll have it try to fix the problem and propose a PR for me to review. If anyone else has used pi.dev or opencode or aider in this mode (completely non-interactive until the PR) I'd be curious to hear.
EDIT: Thank you to both responders. I'll just try the two options out then.
- rcarmo 8mo agoYou probably want to look into pi then - it's extremely extensible.
- dosinga 8mo agoyou can run https://block.github.io/goose/ https://block.github.io/goose/ in headless mode (I work on goose)
- evalstate 8mo agofast-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).
- fred_tandemai 8mo agoBeen using pi exactly for this and it's working great!
- chriswarbo 8mo agopi 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).
- mihneadevries 8mo agoAider'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.
- alchemist1e9 8mo agoFinally found another Aider user to ask. How does Pi compare to it?