
What if WordPress was a Lisp Machine? (Nobody has asked this question)
Honestly, I don't know. It's kind of like a Smalltalk. You, or your agent, can write functions. They get saved in the database and reloaded. Those functions can render web pages, so it's kind of a web framework.
I gotta tell ya. Using it is beautiful. You don't need an API at all. Even your local agent can just use the REPL. I plugged in an LLM to it and it just... worked? It understood the harness and successfully started writing functions.
Look, I don't even care if anybody uses this at all. I just want people to know about this design pattern. For small and medium business this is insanely powerful.
After you log in (or from scripts/repl.sh against a local image):
scripts/repl.sh(define hi-page (lambda () (render-html "<h1>Hello</h1>")))(route "/hello" "hi-page")(propose-function "double" "lambda of int x -> (* x 2)")Remote agents (Agora, pi, curl on a phone) do not need a custom REST surface. Fetch the public bootstrap doc, take a username/password from a human once, then POST Lisp to /api/eval.
Machine contract: /.well-known/agent.json u00b7 Prose: /agent.txt. No secrets in either document.
Browse the source or download the book without an account. To run code in the image, log in u2014 workspace home, Functions, Pages, Data, and the REPL stay private.