hn.today

Autolith: The Common Lisp agent that rewrites itself and rocks

autolith.rocks33 points0 comments
Screenshot of Autolith: The Common Lisp agent that rewrites itself and rocks

Autolith is a self-contained Common Lisp agent implemented as a single live image that inspects and rewrites its own implementation at runtime. Interaction is a REPL that accepts plain prose or Lisp forms, letting users call (prompt ...) and steer sub-agents, spawn heap-isolated workers, run LSP integrations, and navigate repositories with fast Rust-backed file search. Developers can update functions, methods, classes and macros without restarting the process, validate changes with SELF.EXERCISE, review with SELF.DIFF, discard or SELF.COMMIT into an internal git-style journal, and persist private image commits that replay on other machines. Sessions are attachable/detachable over authenticated loopback endpoints, exportable as S-expression archives, and runnable headless for automated workflows.

Resilience, large-context processing, and security are built in. Recursive Language Model (RLM) tooling partitions huge corpora by writing small search/slicing programs and running side conversations under configurable token/call budgets, enabling analysis of multi-megabyte codebases. If a crash occurs Autolith writes a crash capsule, boots a pristine recovery image, restores conversation state, and opens a read-only diagnosis turn so fixes can be applied safely. Command execution uses cl-exec-sandbox with namespaces, seccomp and scoped filesystem access, interactive approval levels, credential censoring, and bounded resource policies. Recorded sessions demonstrate live edits, crash-and-recover workflows, and multi-process persistence (example recordings used gpt-5.6-terra).

Read on autolith.rocks0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.