Someone did suggest me not to only allow for Clojure Lisp, but also Smalltalk due to the fact that it resolves around the same concept of meallability on software, along to the fact that is token efficient due to the syntax
To me, it's the best dynamic language by far for scripting and serious apps alike. The lisp syntax is tough at first if you've never seen it, but once I got used to it, it was very readable (if using macros like ->).
But I am still unsure whether a language like that is best for agentic programming. Without strict type checking, validating your software is up to how much testing you've added. Yes, it's cool that an agent can work with the REPL, but I am not sure that is helpful if the agent hallucinates and thinks the app works because it's testing the wrong function. And it's all immutable so it's easy for an LLM to test things in isolation, see a green checkmark, and think we're good.
Could there be the right blend of REPL, Malli, and code linting? Idk.
The big players are focused on harnesses for traditional software development, including source control, pull requests, deployments, automated testing, etc.
But the Smalltalk/Lisp model seems a much better fit for “power users” working on something other than commercial software. Science, engineering, art, etc. where a domain expert can dictate the software they need interactively into existence on the fly.
Big ups for this, great talk that I still think about a lot years later. Sussman is a brilliant dude and probably one of the only people who talks about AI and is actually worth listening to, been there from the beginning and still as sharp as ever.
Yes these are the same exact thoughts in my mind! Reducing the experience gap that is needed to ship projects that are actually usable without fully knowing all the different technical concepts
Nah, we've been walking on planet Lisp all this time, and it's more beautiful than ever. Why most people choose to ignore it, I never could apprehend. Being scared of effing parentheses? What a bunch of snivelers, excuse my honesty.
I've been working on something similar - at least the part where an agent modifies a running system. Mine is a web-based data platform and reporting tool. It allows for pages, forms, reports, and charts and you get to see a live draft of what the agent builds before it becomes part of the application. There's version history and rollbacks on everything the agent does. Like your system, it all happens without a restart. The big difference is my system doesn't allow the agent to write code. It writes only declarations, plain data over a closed vocabulary, which the engine checks and turns into the running app. So instead of sandboxing agent code, there's no code to sandbox. Mine is also developed in clojure.
I'm a clojure fan so you have my attention. I also use bb (https://getbb.app/) for almost the exact same use case. I tried glamorous toolkit (smalltalk) and found bb to just give a smoother experience. No data, but I suspect the mere fact that it uses TypeScript makes agents more effective working with bb.
Super cool. Yes bb follows the same concept when it comes to having malleable software - imagine having the same type of functionalities to other types of software that you use daily other than an editor.
Agreed, I would say that the minimum requirement for an LLM is Sonnet 5.5 when it comes to such clojure maintained applications - Next step for me is to find ways to simplify the code of the different examples I have created while maintaining the same features on a surface level for the end user.
A lot of weird things have happened in computing because of how hard and awkward the GUIs are.
Now that we're entering a new era, I'm wondering if there might be surprising changes here? My wildest prediction is that the web itself might be partially replaced.
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...
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.
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)
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.
Not entirely similar, more of a "language you use LLMs in" rather than "a language LLMs use", but it does have a WIP MCP server for letting LLMs modify a running program.
I love this project, I'm using it in my custom harness. And even then, I'm probably going to keep embedding this in any Rust project I make now just because it's genuinely just the best embeddable Lisp for Rust I've ever used. There's so many cool projects leveraging LLMs and Clojure-likes now!
First I am OLD by AI users standards, but in Highschool in the early 80's I was writing self altering Basic programs, this is not a new concept. why AI isn't capable of it boggles my mind. My implantation back then was just for data storage, the program literally opened it's own basic file on disk and added Data lines to save states between runs. over 40 years ago.
Funny, I was trying to do the same at work but in the form of a mini react metaframework that would allow users to point at and customize elements, layouts and logic in real-time.
I love the idea of malleable software (and yeah, lisp, smalltalk and parametric cgi software as inspiration)
Emacs already is. Despite all its flaws. What people miss about the Lisp-based text editor is that not only does it focus on text-composition - (e.g., Neovim is great at that) - typing text, manipulating it, navigating through it, but (unlike most other text editors) it also allows an incredible measure of text-consumption - it is relatively simple to turn Emacs into a text-orchestrator that can absorb text from any app on the local screen or any remote computer.
For example, I can easily grab some text from Slack.app, manipulate it and redirect this new content to be posted as a Jira ticket comment. This can be fully automated, or kept with some knobs - to do it in a more controlled fashion.
The second point that even Lispers miss about Emacs is that, unlike most other Lisp dialects that are traditionally data-oriented, ELisp is very text-oriented. The basic primitives are all about text.
LLMs are too - all about text and mostly text. And these two points above make Emacs surprisingly better equipped than almost anything else in existence for creating AI-oriented workflows. Not only can you change any aspect of the text editor itself on the fly, you can easily manipulate virtually anything from an Emacs buffer. That's what I do - on Mac I control my WM through Hammerspoon, which is Lua-based, therefore it can be hooked to a Fennel REPL (a Lisp), then control any window, and every element of that window. On Linux I have a running Clojure REPL that sends signals to Hyprland through its IPC. Less flexible than on Mac, it is still a very capable contraption.
I know, right? in the past Lisp had real limits on efficiency and speed, but most of those have been overcome since then. Most importantly, Lisp has a tiny, uniform syntax where code is just data, and that (along with plenty of other reasons) makes it the perfect environment for malleable software and AI
I've been developing a Clojure-like ML framework with a REPL for over a year. It runs on Metal and CUDA through IREE, as a single static binary with no Python.
I'd love to now see embedding fixed function blocks within the LLM first-class. Sheaf seems uniquely suitable to this. Embedded a Sheaf engine inside an LLM described in Sheaf...??!!
Thanks! Have a look at CLEVR, it's pretty close to that. The neural network does the perception, and each query assembles a neural pipeline on top of it.
It's a nice small example of Lisp's "code as data" applied to neural networks.
I've started something similar - environment that merges Glamorous Toolkit and Emacs with Haskell. It has data inspectors/view from GT (and of course allows for adding new) and carries full GHC for re-compiling and swapping modules on the fly.
It's in reasonably working state but still far away from being releasable, might share one day :)
It's highly customizable, but I haven't tested to extents because some modules aren't live-swappable. Mostly those related to Kernel processing and the app itself (and I didn't try to override App and then re-run in to check if overrides are picking up). Reason for that is purely performance - swapping one module takes millisecond, but replacing a big module tree takes second and UX is just yuck.
But other than that: user defined files are customizable, many elements are using typeclasses so extension is relatively easy and finally there's a Var type that allows overriding on various scope levels :)
Very cool! I gotta take a closer look at this later. I have my own slopped emacs inspired editor written in rust as well, configured in Racket
With a modern browser baked in, so that I can totally phase out my use of Zen (or whatever other browser). It’s pretty much the only program I use anymore
I’ve yet to share it publicly, but I’m quite pleased with how flexible LLMs are for making personalized software
I’m preparing to push it publicly, but I’m not even sure what the point would be. I’m not intending to maintain it for others. I’d even go as far to advocate for everyone to will their own tools into existence rather than use it
I know, right... I have mixed feelings about how "easy" it is to steer LLMs into delivering intrinsically complex features and software in just a couple of days.
the part of me that loves shipping cool stuff loves this, because the time between an idea and making it real gets crunched.
the other part of me, the one that loved programming because I'd think through every single if statement, is a bit disappointed.
one idea: since you said most of the features you had in mind are "complete", would it be worth making the project more "open", so you could connect it to Claude or Copilot through MCP and let them drive what it runs? just a thought
What is the benefit of using clojure now? Used to be a big Lisp head before AI, but with AI I feel like using widely-used statically-typed, strongly-typed languages is better over Lisp, for the training set and validation benefits.
Besides immutability and iterating with the repl, another point made was apparently more efficient context window usage due to fewer lines of Clojure code compared to alternatives.
Yes! That's the reason why I chose it - due to iterations with repl and extremely efficient context window usage / token expenditure. Effectively, for the use case scenario of my project, Clojure can express logic and functionalities that are shown on screen with just a couple of lines of code, removing all the boilerplate/overhead code.
> statically-typed, strongly-typed languages is better over Lisp
Nope, in practice, that point turned out to be not exactly accurate. Giving an agent access to the "true Lisp REPL" makes it stop guessing and start empirically analyzing the current state of things. It reaches decisions faster, costing far fewer tokens. You just need to build a proper, "Lisp-aware" harness.
It looks like they are just borrowing clojure syntax (I like), and perhaps the culture of supporting hot code reload (I also like), but I share the same reservations.
Both are valid points and some of the reasons why + the fact that it is super "token friendly" allowing to express logic and have functionalities expressed in just a couple of lines
I went down a similar path using smalltalk. Then as I started to play whack-a-mole with UI edge cases (live markdown editor), the loop became tedious because I had to use the app to find the interaction bugs (what to do about link rendering when the cursor enters, leaves, and when exactly to prettify and unprettify), while suspecting that this has been solved 100x over in javascript land. Sure enough, when I moved to bb, I had to pull in a lot of libs, which is a lot of pregenerated tokens, but those were battle tested tokens.
I guess it has to be done though, as long as you bring a new stack.
You could be using your app to solve some problem, and just modify it instantly with a prompt to just-in-time add a new feature. No need to shift between “using the app” mode and “programming the app” mode.
Yes, those are the main points. I believe that it is also fundamental to also maintain versioning and data migrations, so, each time you try edit/add a new feature, you can switch between the different versions/rollback - and most importantly you do not compromise data - as there's a fine line between full software malleability that has no control of any sort (and issues can arise) - and a framework that allows such an experience but has some sort of "guardrails".
Every stage in Read-Eval-Print-Loop differs. So it's not "just any language with a REPL", no. Lispers call Lisp REPL "a true REPL", not for emotional reasons, for quite practical ones.
Please send through the project if it is public, sounds interesting considering that you mentioned that runs also on mobile (so I guess it's crossplatform)?
I would love to know more about it, is it open source? and does it support any other languages than Python (also another question: as to what are some other programming languages where such a tool can have high value too)
It's still pretty fresh, so though I've used it to do some work on another project I don't really consider it satisfactorily proven yet. I'll probably open source it when I feel it's more solid. Only Python is supported, though theoretically the CLI side (it's split into CLI, server and debugger portions) could send commands to a debugger made in any language that supports the API. The only languages that can be fully supported though are those that allow full runtime evaluation, typically anything interpreted. Compile-only languages are out.
I can't say much in terms of pros/cons as Python has always been my primary language. I started out with QBasic in high school, then researched languages when I was ready to go into software dev, settling on Python because it has a huge ecosystem and is very readable. I've dabbled in ELisp (Emacs is my IDE) and Pharo/Smalltalk (Glamorous Toolkit is very nice), but one is tied to a particular app and the other has a tiny ecosystem.
Such a creative idea! This is what we get in the age of AI: we can produce good things that we want within a reasonable time budget. I will try to get some tie to build and try it.
Thank you! I feel like that my contribution was assembling already proven concepts together and find where things can be optimised for AI-driven development and follow the philosophy of malleable software.
I'm so abundantly grateful for my younger self for ignoring all the siren songs of tech hype years ago and deciding to grok Lisp and to use Emacs. That might be the wisest, most profitable decision of my entire career.
Every single point of skepticism about Lisp turned out to be just outright false. Lisp, in fact, remains the most practical, enormously pragmatic tool I have ever put in my toolbelt (and mind you, I've been in tech since the time of BASIC and Pascal - yes, I have seen some real shit), and lately all the compounding effects are just overflowing - it just keeps giving, the abundance feels unreal.
And the age of LLMs made it clear - Lisp is an effing king. Despite all of its shortcomings, I just couldn't find a better duo for agentic workflows - even faster compilation and advanced static typing just can't seem to beat it, Lisp keeps winning on token efficiency and faster cycles. Majority of programmers have little clue what it actually feels like, to be able to mold your entire computing universe on the fly - without stopping, without restarting, [almost] without waiting. Every single delusional, shortsighted mofo who even a year ago was yapping on every corner about how Lisp is effing dead would be so point-blank speechless if they could only see how it works in practice. I'm driving my entire system, affecting not only how my editor works, but my WM, my browser, my shell, my videoplayer and even other apps I use - Slack, Zoom, Outlook (I wish I could just get rig of them suckers, but work requires them). And I can do it while typing this very comment. Without missing a beat I can just do it - anytime, anywhere, from any buffer in Emacs. AI can pour gallons of some drastic shit all over the places, and Emacs? It simply abides and obeys. Works like some mind-boggling magic.
Programmers, do learn Lisp! Do not ignore my plight. You seriously should be having shivers of FOMO if you're so deeply invested in your favorite stack, blinded by the hype, and have been overlooking Lisp simply because it sounds like nobody's using it. You have no idea of what you're missing. For real.
Could you maybe do a quick demo video? I’m really, really curious, but as someone coming from a very “traditional” programming background, your comment sounds super intriguing, but just doesn’t “click” for me.
Great! It seems that some of the concepts when it comes to malleable software are followed by your project too!
Quick question: do you think that your project will also expose an MCP so it can be used from Claude / Copilot as well? So, the core/framework implementation + server is implemented by your side, however, you can have it plugged with other services too.
I have my own start up on K8s on bare-metal but since it is based on NixOS I can run without kubernetes a Clickhouse Cluster, Slurm, PostgreSQL cluster and more https://kcorehypervisor.com/index.html
We've come full circle back to Smalltalk
Application environments like Smalltalk that can modify themselves on the fly while running always seemed uniquely suited to AI, I've thought
I feel like Newspeak, and its Ampleforth documents deserve honorable mention. https://youtu.be/_rIGfcXNEpo
Someone did suggest me not to only allow for Clojure Lisp, but also Smalltalk due to the fact that it resolves around the same concept of meallability on software, along to the fact that is token efficient due to the syntax
To me, it's the best dynamic language by far for scripting and serious apps alike. The lisp syntax is tough at first if you've never seen it, but once I got used to it, it was very readable (if using macros like ->).
But I am still unsure whether a language like that is best for agentic programming. Without strict type checking, validating your software is up to how much testing you've added. Yes, it's cool that an agent can work with the REPL, but I am not sure that is helpful if the agent hallucinates and thinks the app works because it's testing the wrong function. And it's all immutable so it's easy for an LLM to test things in isolation, see a green checkmark, and think we're good.
Could there be the right blend of REPL, Malli, and code linting? Idk.
Yes, UX for AI agents is very under explored.
The big players are focused on harnesses for traditional software development, including source control, pull requests, deployments, automated testing, etc.
But the Smalltalk/Lisp model seems a much better fit for “power users” working on something other than commercial software. Science, engineering, art, etc. where a domain expert can dictate the software they need interactively into existence on the fly.
Gerald Sussman spoke about this at Strange Loop in 2011.
https://www.thestrangeloop.com/2011/we-really-dont-know-how-...
Big ups for this, great talk that I still think about a lot years later. Sussman is a brilliant dude and probably one of the only people who talks about AI and is actually worth listening to, been there from the beginning and still as sharp as ever.
Yes these are the same exact thoughts in my mind! Reducing the experience gap that is needed to ship projects that are actually usable without fully knowing all the different technical concepts
Had the exact same thought. I played with Pharo, but really disliked Morphic. Maybe I should retry it now that AI is a thing.
Interesting. You should indeed retry it
> We've come full circle
Nah, we've been walking on planet Lisp all this time, and it's more beautiful than ever. Why most people choose to ignore it, I never could apprehend. Being scared of effing parentheses? What a bunch of snivelers, excuse my honesty.
Super cool!
I've been working on something similar - at least the part where an agent modifies a running system. Mine is a web-based data platform and reporting tool. It allows for pages, forms, reports, and charts and you get to see a live draft of what the agent builds before it becomes part of the application. There's version history and rollbacks on everything the agent does. Like your system, it all happens without a restart. The big difference is my system doesn't allow the agent to write code. It writes only declarations, plain data over a closed vocabulary, which the engine checks and turns into the running app. So instead of sandboxing agent code, there's no code to sandbox. Mine is also developed in clojure.
I'm not ready to make the code available, but here's a quick video of it in action: https://github.com/jeffmarder/daedalus
I'm a clojure fan so you have my attention. I also use bb (https://getbb.app/) for almost the exact same use case. I tried glamorous toolkit (smalltalk) and found bb to just give a smoother experience. No data, but I suspect the mere fact that it uses TypeScript makes agents more effective working with bb.
The untyped, macro-full code like https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... gives me pause. It seems like it needs a pretty strong LLM to get things right?
Super cool. Yes bb follows the same concept when it comes to having malleable software - imagine having the same type of functionalities to other types of software that you use daily other than an editor.
Agreed, I would say that the minimum requirement for an LLM is Sonnet 5.5 when it comes to such clojure maintained applications - Next step for me is to find ways to simplify the code of the different examples I have created while maintaining the same features on a surface level for the end user.
A lot of weird things have happened in computing because of how hard and awkward the GUIs are.
Now that we're entering a new era, I'm wondering if there might be surprising changes here? My wildest prediction is that the web itself might be partially replaced.
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
Autolith does this. I've watched GLM 5.2 morph it in real-time.
https://news.ycombinator.com/item?id=49934573
https://autolith.rocks/
https://github.com/lambda-symbolics/autolith
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)
yep. https://github.com/modus-lisp/operandi
and the rest of the owl: https://modus-lisp.github.io/
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"
Shoutout to Sema Lisp for a similar concept: https://sema-lang.com/
Not entirely similar, more of a "language you use LLMs in" rather than "a language LLMs use", but it does have a WIP MCP server for letting LLMs modify a running program.
I love this project, I'm using it in my custom harness. And even then, I'm probably going to keep embedding this in any Rust project I make now just because it's genuinely just the best embeddable Lisp for Rust I've ever used. There's so many cool projects leveraging LLMs and Clojure-likes now!
First I am OLD by AI users standards, but in Highschool in the early 80's I was writing self altering Basic programs, this is not a new concept. why AI isn't capable of it boggles my mind. My implantation back then was just for data storage, the program literally opened it's own basic file on disk and added Data lines to save states between runs. over 40 years ago.
but with BASIC you'd need to restart the interpreter after modifying the source: with this, the image gets updated along the way, preserving state.
Funny, I was trying to do the same at work but in the form of a mini react metaframework that would allow users to point at and customize elements, layouts and logic in real-time.
I love the idea of malleable software (and yeah, lisp, smalltalk and parametric cgi software as inspiration)
A lisp runtime will be the ultimate environment for AI.
Emacs already is. Despite all its flaws. What people miss about the Lisp-based text editor is that not only does it focus on text-composition - (e.g., Neovim is great at that) - typing text, manipulating it, navigating through it, but (unlike most other text editors) it also allows an incredible measure of text-consumption - it is relatively simple to turn Emacs into a text-orchestrator that can absorb text from any app on the local screen or any remote computer.
For example, I can easily grab some text from Slack.app, manipulate it and redirect this new content to be posted as a Jira ticket comment. This can be fully automated, or kept with some knobs - to do it in a more controlled fashion.
The second point that even Lispers miss about Emacs is that, unlike most other Lisp dialects that are traditionally data-oriented, ELisp is very text-oriented. The basic primitives are all about text.
LLMs are too - all about text and mostly text. And these two points above make Emacs surprisingly better equipped than almost anything else in existence for creating AI-oriented workflows. Not only can you change any aspect of the text editor itself on the fly, you can easily manipulate virtually anything from an Emacs buffer. That's what I do - on Mac I control my WM through Hammerspoon, which is Lua-based, therefore it can be hooked to a Fennel REPL (a Lisp), then control any window, and every element of that window. On Linux I have a running Clojure REPL that sends signals to Hyprland through its IPC. Less flexible than on Mac, it is still a very capable contraption.
I know, right? in the past Lisp had real limits on efficiency and speed, but most of those have been overcome since then. Most importantly, Lisp has a tiny, uniform syntax where code is just data, and that (along with plenty of other reasons) makes it the perfect environment for malleable software and AI
God wrote the universe in Lisp, if I remember correctly.
… and has been since the mid 1980s!
I've been developing a Clojure-like ML framework with a REPL for over a year. It runs on Metal and CUDA through IREE, as a single static binary with no Python.
A small LLM like NanoGPT looks really neat in Lisp: https://github.com/sheaf-lang/sheaf/blob/main/examples/nanog...
Besides, because Lisp is so orthogonal and concise, LLMs can write Sheaf code from an 8K-token context file embedded in the binary.
Currently porting Gemma and Qwen to it.
https://sheaf-lang.org
I love this!
I'd love to now see embedding fixed function blocks within the LLM first-class. Sheaf seems uniquely suitable to this. Embedded a Sheaf engine inside an LLM described in Sheaf...??!!
Thanks! Have a look at CLEVR, it's pretty close to that. The neural network does the perception, and each query assembles a neural pipeline on top of it.
It's a nice small example of Lisp's "code as data" applied to neural networks.
https://github.com/sheaf-lang/sheaf/tree/main/examples/clevr
Laudable initiative.
I've started something similar - environment that merges Glamorous Toolkit and Emacs with Haskell. It has data inspectors/view from GT (and of course allows for adding new) and carries full GHC for re-compiling and swapping modules on the fly.
It's in reasonably working state but still far away from being releasable, might share one day :)
Screenshots: https://img.axk.sh/g/70665/hamacs
Looking at the screenshot it looks great, well done! To what extend you feel it is customisable?
It's highly customizable, but I haven't tested to extents because some modules aren't live-swappable. Mostly those related to Kernel processing and the app itself (and I didn't try to override App and then re-run in to check if overrides are picking up). Reason for that is purely performance - swapping one module takes millisecond, but replacing a big module tree takes second and UX is just yuck.
But other than that: user defined files are customizable, many elements are using typeclasses so extension is relatively easy and finally there's a Var type that allows overriding on various scope levels :)
I did my own emacs clone I call amacs, https://github.com/ast/amacs
LLMs have really changed what experiments you do...
Very cool! I gotta take a closer look at this later. I have my own slopped emacs inspired editor written in rust as well, configured in Racket
With a modern browser baked in, so that I can totally phase out my use of Zen (or whatever other browser). It’s pretty much the only program I use anymore
I’ve yet to share it publicly, but I’m quite pleased with how flexible LLMs are for making personalized software
I’m preparing to push it publicly, but I’m not even sure what the point would be. I’m not intending to maintain it for others. I’d even go as far to advocate for everyone to will their own tools into existence rather than use it
Please once confident feel free to share, as I am curious to see what others are doing supported by AI in the malleable software realm
Very nice.
Super cool! How challenging was it to work on it? What are the next functionalities you plan to implement
It's mostly an experiment in what you can do with LLMs. I'm just steering it in the direction I want, so I can't really take credit for it.
It feels pretty feature complete to be honest, but there's always things you can add.
I find it quite amazing you can do your own editor with its own Scheme, LSP support, GPU rendering, tramp like, threading etc in just a few days.
I know, right... I have mixed feelings about how "easy" it is to steer LLMs into delivering intrinsically complex features and software in just a couple of days.
the part of me that loves shipping cool stuff loves this, because the time between an idea and making it real gets crunched.
the other part of me, the one that loved programming because I'd think through every single if statement, is a bit disappointed.
one idea: since you said most of the features you had in mind are "complete", would it be worth making the project more "open", so you could connect it to Claude or Copilot through MCP and let them drive what it runs? just a thought
The MCP part is already there, I use it via Claude Code. That's how I work on it.
It also has a built in agent so you can use Claude directly in it.
Great, I will then check it out :)
Would be cool to hear what you think. This is just a personal project but it turned out better than expected.
How much did it cost?
I'm on a subscription but I would guesstimate a few hundred USD.
What is the benefit of using clojure now? Used to be a big Lisp head before AI, but with AI I feel like using widely-used statically-typed, strongly-typed languages is better over Lisp, for the training set and validation benefits.
Listened to this a couple days ago: https://m.youtube.com/watch?v=tzzg8CVkl2A
Besides immutability and iterating with the repl, another point made was apparently more efficient context window usage due to fewer lines of Clojure code compared to alternatives.
Cool talk. I've expected Lisps to be the winner for these reasons.
Here is a similar talk from Anurag Mendhekar at the European Lisp Symposium a year ago:
Is Lisp Still Relevant in the New Age of AI? [video]
https://news.ycombinator.com/item?id=50671492
Yes! That's the reason why I chose it - due to iterations with repl and extremely efficient context window usage / token expenditure. Effectively, for the use case scenario of my project, Clojure can express logic and functionalities that are shown on screen with just a couple of lines of code, removing all the boilerplate/overhead code.
> statically-typed, strongly-typed languages is better over Lisp
Nope, in practice, that point turned out to be not exactly accurate. Giving an agent access to the "true Lisp REPL" makes it stop guessing and start empirically analyzing the current state of things. It reaches decisions faster, costing far fewer tokens. You just need to build a proper, "Lisp-aware" harness.
It looks like they are just borrowing clojure syntax (I like), and perhaps the culture of supporting hot code reload (I also like), but I share the same reservations.
Both are valid points and some of the reasons why + the fact that it is super "token friendly" allowing to express logic and have functionalities expressed in just a couple of lines
obv I could clone and ask an AI but since you're here, https://github.com/RiccardoSottini/AffrescoUI/blob/master/ex... is a limited syntax definition for the built-in markdown parser?
I went down a similar path using smalltalk. Then as I started to play whack-a-mole with UI edge cases (live markdown editor), the loop became tedious because I had to use the app to find the interaction bugs (what to do about link rendering when the cursor enters, leaves, and when exactly to prettify and unprettify), while suspecting that this has been solved 100x over in javascript land. Sure enough, when I moved to bb, I had to pull in a lot of libs, which is a lot of pregenerated tokens, but those were battle tested tokens.
I guess it has to be done though, as long as you bring a new stack.
Live editing running applications.
You could be using your app to solve some problem, and just modify it instantly with a prompt to just-in-time add a new feature. No need to shift between “using the app” mode and “programming the app” mode.
Yes, those are the main points. I believe that it is also fundamental to also maintain versioning and data migrations, so, each time you try edit/add a new feature, you can switch between the different versions/rollback - and most importantly you do not compromise data - as there's a fine line between full software malleability that has no control of any sort (and issues can arise) - and a framework that allows such an experience but has some sort of "guardrails".
I mean that's just any language with a REPL?
Every stage in Read-Eval-Print-Loop differs. So it's not "just any language with a REPL", no. Lispers call Lisp REPL "a true REPL", not for emotional reasons, for quite practical ones.
Image based languages are fundamentally different from others and the similarities end at "has a repl"
I wish someone took pharo - had it boot without any OS, and had a built in agent where you could re-program it on the fly.
I'm doing this with Python. Made a tool that allows easy live dev in Python processes anywhere it's running, including on mobile.
Please send through the project if it is public, sounds interesting considering that you mentioned that runs also on mobile (so I guess it's crossplatform)?
Not public at this time, but I can tag if/when I make it so.
I use Flet⁰ for cross-platform work. The live dev tool itself is pure Python so it just works wherever Python is available.
⁰ https://flet.dev
I would love to know more about it, is it open source? and does it support any other languages than Python (also another question: as to what are some other programming languages where such a tool can have high value too)
It's still pretty fresh, so though I've used it to do some work on another project I don't really consider it satisfactorily proven yet. I'll probably open source it when I feel it's more solid. Only Python is supported, though theoretically the CLI side (it's split into CLI, server and debugger portions) could send commands to a debugger made in any language that supports the API. The only languages that can be fully supported though are those that allow full runtime evaluation, typically anything interpreted. Compile-only languages are out.
What were the pros/cons you have experienced by using Python for such a project?
I can't say much in terms of pros/cons as Python has always been my primary language. I started out with QBasic in high school, then researched languages when I was ready to go into software dev, settling on Python because it has a huge ecosystem and is very readable. I've dabbled in ELisp (Emacs is my IDE) and Pharo/Smalltalk (Glamorous Toolkit is very nice), but one is tied to a particular app and the other has a tiny ecosystem.
Such a creative idea! This is what we get in the age of AI: we can produce good things that we want within a reasonable time budget. I will try to get some tie to build and try it.
Thank you! I feel like that my contribution was assembling already proven concepts together and find where things can be optimised for AI-driven development and follow the philosophy of malleable software.
Whatever this is, it certainly isn't native.
I'm so abundantly grateful for my younger self for ignoring all the siren songs of tech hype years ago and deciding to grok Lisp and to use Emacs. That might be the wisest, most profitable decision of my entire career.
Every single point of skepticism about Lisp turned out to be just outright false. Lisp, in fact, remains the most practical, enormously pragmatic tool I have ever put in my toolbelt (and mind you, I've been in tech since the time of BASIC and Pascal - yes, I have seen some real shit), and lately all the compounding effects are just overflowing - it just keeps giving, the abundance feels unreal.
And the age of LLMs made it clear - Lisp is an effing king. Despite all of its shortcomings, I just couldn't find a better duo for agentic workflows - even faster compilation and advanced static typing just can't seem to beat it, Lisp keeps winning on token efficiency and faster cycles. Majority of programmers have little clue what it actually feels like, to be able to mold your entire computing universe on the fly - without stopping, without restarting, [almost] without waiting. Every single delusional, shortsighted mofo who even a year ago was yapping on every corner about how Lisp is effing dead would be so point-blank speechless if they could only see how it works in practice. I'm driving my entire system, affecting not only how my editor works, but my WM, my browser, my shell, my videoplayer and even other apps I use - Slack, Zoom, Outlook (I wish I could just get rig of them suckers, but work requires them). And I can do it while typing this very comment. Without missing a beat I can just do it - anytime, anywhere, from any buffer in Emacs. AI can pour gallons of some drastic shit all over the places, and Emacs? It simply abides and obeys. Works like some mind-boggling magic.
Programmers, do learn Lisp! Do not ignore my plight. You seriously should be having shivers of FOMO if you're so deeply invested in your favorite stack, blinded by the hype, and have been overlooking Lisp simply because it sounds like nobody's using it. You have no idea of what you're missing. For real.
Could you maybe do a quick demo video? I’m really, really curious, but as someone coming from a very “traditional” programming background, your comment sounds super intriguing, but just doesn’t “click” for me.
I did this for financial consulting!
https://rowview.app/
Great! It seems that some of the concepts when it comes to malleable software are followed by your project too! Quick question: do you think that your project will also expose an MCP so it can be used from Claude / Copilot as well? So, the core/framework implementation + server is implemented by your side, however, you can have it plugged with other services too.
Yeah! My next project is adding an MCP so that subscribers can create personalized spending trackers
I have my own start up on K8s on bare-metal but since it is based on NixOS I can run without kubernetes a Clickhouse Cluster, Slurm, PostgreSQL cluster and more https://kcorehypervisor.com/index.html