Hacker News new | ask | show | jobs
by koe123 14 hours ago
Has anyone made a AI coding harness that uses lisp to essentially morph into any software under the sun? Quite a compelling idea I feel
7 comments

Compos does this - https://compos.svs.io

It's the ideas of emacs reimplemented as an Elixir core with a scheme interpreter and HTML as the first rendering surface. Can (easily) be extended to TUI/GPUI.

The ideas in emacs are incredibly powerful - the powerful evaluation environment and the highly optimised ux for flying through the idea space - and I figured it would be nice to have these same ideas in a more modern rendering surface perhaps with better concurrency. The end result is a very pleasant harness for all kinds of knowledge work.

If you had to quit emacs so you could use coding agents properly, this one is for you.

Thanks for sharing this - I didn't know about this project! The concepts used in here are something I actually need for another project to manage adaptable agents
Yes, here's a lisp based setup, works with Codex on a Mac using your ChatGPT subscription tokens - a coding agent that can modify a coding agent, change development processes it uses, or even do it recursively. Implemented via Python/Hy: https://github.com/dchichkov/progp/tree/main#articoder-progr...

There's abstract version of it, that can run on top of a working lisp implementation, in the: https://github.com/dchichkov/progp/blob/main/abstract/README...

I did, but haven’t found a killer use case yet (as in something that can’t be done practically the same in a traditional system).

Interpreted languages or languages that compile quickly (eg Go) feel almost the same to the end user. Ie on a webapp I rarely notice if the backend restarts.

Running in the same process also means your agent can break itself, and untangling that without saying screw it and restarting the service. Mine messed with its Ollama library and broke its ability to do inference.

Languages that support this tend to be sort of baroque too. Maybe not an issue, but Clojure or Smalltalk put off some users.

I haven’t given up, but I do think it will have to do something that eg Go can’t even come close to.

spin it up in a seperate lisp binary, attach to the 'target' via swank.
Yes - well, that's roughly what I've been trying with AffrescoUI. Each app is a Lisp program that can be edited while it runs - a core architecture feature is modularity and data safety (migrations maintain consistency and allow not to have conflicts)
Super cool project!!!
lisp is back
In the era of AI, Lisp will be a true winner indeed, as in many dreamed since its release
I agree, the issue with Lisp was that there are few developers that could use it efficiently. With AI, this is no longer an issue, so there might be a renaissance.

It'd be good to compare notes - try pointing your agent at https://github.com/dchichkov/progp - maybe it'd pick up some ideas there.

truly "alien technology"
yup, that's how my harness works https://github.com/samizdat-code/samizdat