Hacker News new | ask | show | jobs
by mickeyp 10 days ago
It will not run in Emacs. Emacs is great, but it's fundamentally unsuited, today, in its current shape -- and by Emacs I mean GNU Emacs specifically -- to a high-fidelity, asynchronous and highly parallel agent workflow engine.

I wish it did fit the mould --- it does not. Not for what I want.

By all means avail yourself of DreamCoder's features and port them yourself though.

2 comments

I don't understand why agentic workflows would need to be parallel, not merely asynchronous. I was planning (perhaps naively) to implement agentic features asynchronously. Emacs would be suited to async, because I can kick off the job in another process and resume emacs loop in the meantime. It seems to me that LLM inference is so incredibly slow compared to whatever contention would arise between different agents, even if you had thousands of them, why would asynchronously kicking them off and synchronously merging the results (through a CRDT in front of buffers for instance) not work?

Also, emacs and web browsers share the same single threaded event driven model, and there are definitely agentic web IDEs, so I find it difficult to believe that could possibly be the important limitation.

I'm interested to hear what you did try when you started building DreamCoder, and why you decided ultimately that emacs was unsuitable.

I have been experimenting with running a bunch of emacs daemons in parallel with another emacs orchestrator in front. I should pick up that project again. My basic idea is to tune a small model to only speak emacs Lisp, then build a claw agent that runs in the repl.