r/emacs • u/offline-ant • 16d ago
My Emacs setup for running coding agents
https://github.com/offline-ant/phimacs
Over the past years since AI I gradually moved from living in Emacs into tmux and then moved to Herdr for running multiple coding agents. When Emacs turned 50 I decided to try and move my whole flow back into Emacs and rebuilt the parts I actually used. I mentioned it on HN and a few people asked for it, so I put it up.
Up front: AI agents wrote all of the code and the docs. It's my own setup, built one problem at a time, not a package I plan to maintain for other people's use cases. Its Linux only, and not tested on anything else. Its set up to be easy (for an AI) to take only the parts you find useful.
What it does: the agents (Pi) run in a background service 'pimux'. Closing Emacs or dropping an SSH connection doesn't stop them. Each project gets its own space, a sidebar shows which agents need me, and an agent can hand tasks to workers that run in parallel under it. The chat is a fork of Pilish.
6
u/nimzobogo 16d ago
Why not just agent-shell or emacs-eca?
2
u/magiollie 16d ago
Here is my attempt with a similar goal in mind
https://gist.github.com/ojhughes/58d4b71a5cab37dadd8cf898b6d18364
1
u/dabian2333 15d ago
good, however, tmux seems is overkill, i use zmx instead