Autolith: a Lisp coding agent that rewrites its own running code

A terminal agent living in an SBCL image it inspects, patches, and rolls back mid-session — Nix-installable, ISC-licensed, wired to Codex, Claude, Fireworks.

Nowline AUG 23 5:00 AM banner

Top AI stories from the last hour

Top AI stories from the last hour

Copy markdown

  • It rewrites its own running functions

    Autolith runs inside a live Common Lisp (SBCL) image and can inspect and replace whole functions, methods, classes, and macros in the process it's already running — natural-language prompts are just sugar over Lisp calls. Every change lands in an append-only mutation journal you can read back.

  • A bad self-edit rolls back, not bricks

    The agent versions its own image as "generations," so a catastrophic self-edit reverts to the last good snapshot instead of corrupting your session. Conversations, memories, and checkpoints persist as plain readable files, with a vault to recover crashed runs.

  • Free to run, one command to install

    Install on Linux x86-64 or macOS arm64 with `nix run github:luciusmagn/autolith` (or the curl script), point it at a ChatGPT Codex, Anthropic, or Fireworks key, and it works your repo with shell, search, and filesystem tools. ISC-licensed and on the Hacker News front page today.