Application environments like Smalltalk that can modify themselves on the fly while running always seemed uniquely suited to AI, I've thought
show comments
jm4
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.
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.
whacked_new
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.
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!
nmbr5
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.
show comments
jnpnj
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)
manoDev
A lisp runtime will be the ultimate environment for AI.
show comments
rahen
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'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 :)
LLMs have really changed what experiments you do...
show comments
tester89
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.
show comments
rclabs
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.
skeledrew
I'm doing this with Python. Made a tool that allows easy live dev in Python processes anywhere it's running, including on mobile.
show comments
mark_l_watson
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.
show comments
Ohentis
Whatever this is, it certainly isn't native.
iLemming
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.
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
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
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.
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?
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
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.
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.
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
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
I did my own emacs clone I call amacs, https://github.com/ast/amacs
LLMs have really changed what experiments you do...
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.
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.
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.
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.
I did this for financial consulting!
https://rowview.app/
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