Repository navigation
leon is a terminal multiplexer for people who run several terminal programs and coding agents at
once. In 0.2.0, an agent can start other agents and hear back from them. You can see and drive
your sessions from a browser or a phone over your tailnet. A pane keeps its scrollback in about a
ninth of the memory it took. Leon.app adds a card for links, closing and renaming tabs and
sessions, cursor shaders, input methods, and keys that echo at once. leon --version prints
leon 0.2.0 (<commit>), and the socket API is 1.18.0. To update: leon self-update, Install in
the app, or brew upgrade (Install).
Agents
-
Agents orchestrating agents.
leon agent startruns Claude Code, Codex or any agent in a tab
or pane, working for you; its hooks report to yourleon inbox, and leon types a notice into
your prompt when your turn ends. New experimental methodsagent.link,agent.list,
agent.inbox, andkindondev.leon.terminal.report_status;api_version1.13.0.
leon agent start --worktreegives a worker its own git worktree, whichleon agent close
removes only when that loses no work
(detail). -
Permission prompts stay yours. An agent in leon can't type into a pane that waits on one,
or move your keys onto it; only your own focus move puts them there. It keeps agents from
answering; it is not a sandbox (detail).
leon in the browser
- leon in the browser, over your tailnet.
serve_webserves a page of your sessions, tabs
and panes to your own machines;api_versiongoes to1.16.0(detail). - HTTPS for the browser page.
serve_web_certandserve_web_keyname the filestailscale cert
wrote; leon reads and reloads them;api_versiongoes to1.17.0(detail). - Drive leon from the browser. The tailnet web page types, pastes, copies, sends the mouse,
opens and closes sessions, tabs and panes, and lists Activity (detail). - The web page on a phone. Activity first, one pane at a time, a drawer for sessions and tabs,
and a key row with Esc, a sticky Ctrl, Tab and the arrows (detail).
Leon.app
-
A link card. Resting the mouse on a link, or right-clicking it, shows its address with Copy and
Open in Browser;link_cardturns it off, andapi_versionis1.14.0(detail). -
Closing and renaming tabs and sessions. Close Tab (⌥⌘W), Close Session (⌥⇧⌘W), a × on hover,
right-click menus and double-click to rename (detail). -
Cursor shaders. Leon.app draws a Shadertoy-style cursor shader file you name with
cursor_shaderover its window, on macOS;api_versiongoes to1.15.0(detail). -
Input methods and the emoji picker in Leon.app's panes. Japanese, Chinese and other input
methods compose at the cursor (detail). -
A key's echo is shown at once in Leon.app, not at the next display tick (detail).
-
Leon.app doesn't wait on its own server once its window is up. Keys, splits, copies and the
window's other calls to This Mac's server queue in order off its thread, and a config reload shows at once (detail). -
Overlays give the keys back. The palette, switcher, find bar, overview and rename field each
take the focus while open and, however they close, give it to the overlay still open, else the pane (detail). -
What's new, in the app. The first launch of a new version says "Updated to leon X.Y.Z" once,
with What's New, which opens that version's page on the website (detail).
Scrollback
- Scrollback that costs what its text costs. A pane keeps its 10,000 lines in about a ninth of
the memory;leon.set("scrollback", N)sets how many, reported byserver.settings(api_version
1.18.0) (detail).
Docs
- A website. https://aindong.github.io/leon-cli/: the docs, What's new per release and a demo
(detail). - Diagrams and benchmark charts in the docs (detail).



