hn.today

Jiti – Grow a running Lisp application by talking to it

github.com29 points0 comments
Screenshot of Jiti – Grow a running Lisp application by talking to it

Jiti is a cooperative kernel that lets developers grow and interact with a live Common Lisp application through a chat-style interface. Users can ask for functions to be added, compose them, run expressions and inspect source; accepted definitions become ordinary Lisp functions stored in a persistent workspace and available to later requests without model inference. The system runs a persistent SBCL worker per managed world, a controller mediates validated tool calls from a model, and a world adapter declares what state and resources are managed. Installation uses Nix and devenv; examples include defining simple string utilities, composing them into named functions, and re-entering a workspace to recover accepted code and data. Manual Lisp interaction works without model credentials.

Execution and development are transactional and guarded: every attempt checkpoints before compile/eval, and preview operations return results then restore the checkpoint. Two primary tools - develop_form (add/redefine/remove) and execute_form - share an evaluator and transaction engine; caller-supplied checks express goals and safety invariants and must pass for changes to be accepted. The worker preserves live stacks and paused restarts so controller-driven repairs can be applied within the running dynamic extent. Accepted changes become immutable revisions with diagnostics, rollback and recovery semantics. The terminal exposes commands (/functions, /develop, /execute, /preview, /rollback, /abort, /context, /model, etc.), configurable tool limits and model integration via OpenAI-compatible endpoints.

Read on github.com0 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

Worth Building

Worth Building

Building tools without the need to monetize allows for more personal, enjoyable, and quick development of useful applications. This shift enables more people to create small, polished tools for their own needs or ideas, regardless of broader market appeal. (armstr.ng)

The daily digest

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