Generative UI for your agent
https://leaf.page/ ↗// readme
leaf
Experimental software; not ready for general use.
Leaf is generative UI for Claude Code and Codex. Review a plan, make a decision, or follow live work in a page you can comment on and change. The agent responds by revising the page.
Try Leaf on the home page, where a small demo agent responds in your private copy, or explore the examples.
Install
You need uv,
jq 1.6 or newer on PATH, and a
browser that can reach the machine the agent runs on. No Leaf account or
configuration is required.
Leaf ships a prepared browser runtime. Users and package authors never need to
build Leaf or run a package manager; custom widgets are ordinary browser JavaScript.
Claude Code:
/plugin marketplace add max-sixty/leaf#prepared
/plugin install leaf@leaf
Codex:
codex plugin marketplace add max-sixty/leaf --ref prepared
codex plugin add leaf@leaf
Pi (a highly experimental trial, which the rest of these docs don’t cover yet):
pi install git:github.com/max-sixty/leaf@prepared
Then ask: “Use Leaf to write up the options for…