Skip to content
punt-labsPublic

About

GUI - a whiteboard and dashboard interface for agents to share visual data with humans.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

777 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lux

Terminals, live graphics, and controls for your AI agents, in one window.

License CI PyPI Python Working Backwards

Lux is one window on your desktop where coding agents run and show their work. Agents such as Claude Code run in Lux terminals. Next to them, agents and other programs draw charts, tables, forms, and control panels that stay live: they update while you watch, and your clicks go back to whoever drew them. In the picture below, one Claude Code session has charted a week of pull requests, and vox, a text-to-speech tool, has added its voice controls and music player.

Lux is multi-host and multi-agent by design. The background service that holds what is shown, the window that draws it, and the service that runs the terminals are separate processes that talk over a protocol. One window shows agents and programs running on several of your machines at once, and any number of them can draw in it. Lux is not multi-user yet: it is one person's window.

Platforms: macOS, Linux

Stage: alpha

A Lux window with two terminals, a chart of pull requests made by an agent, a voice control panel, a music player, and the theme menu

Quick Start

curl -fsSL https://raw.githubusercontent.com/punt-labs/lux/d9588aaf/install.sh | sh

Restart Claude Code. The Lux window opens, and from then on you can ask the agent to show things there.

Manual install (if you already have uv)

Install Lux:

uv tool install 'punt-lux[display]'

Start the background service:

lux hub install

Start the window:

lux display install

Add the Punt Labs plugin marketplace:

claude plugin marketplace add punt-labs/claude-plugins

Install the plugin:

claude plugin install lux@punt-labs
Verify before running

Download the installer:

curl -fsSL https://raw.githubusercontent.com/punt-labs/lux/d9588aaf/install.sh -o install.sh

Print its checksum:

shasum -a 256 install.sh

Read it:

cat install.sh

Run it:

sh install.sh
Homebrew (Apple Silicon Macs)
brew install punt-labs/tap/lux

Type the punt-labs/tap/ prefix: brew install lux installs a different program.

Features

  • Agent terminals --- run Claude Code or any shell in a Lux terminal; shells keep running when the window restarts
  • Live graphics beside them --- ask for a chart, a table, or a form and it appears next to the terminal, updating as the agent works
  • You can answer back --- buttons, checkboxes, sliders, text fields, and table rows you select all reach the agent
  • Tables you can explore --- search, filter, and open the details of a row without asking the agent again
  • Apps from other tools --- vox's voice controls and music player and z-spec's tutorials run in the same window
  • Agents can read the screen --- an agent can check exactly what Lux is showing, element by element, without a screenshot
  • A tidy desktop --- each result opens in its own frame; frames can be tabbed, minimized, and closed, and new ones never steal focus
  • Nothing lost on restart --- if the window closes or crashes, everything comes back when it reopens
  • Themes --- 17 color themes, chosen from the menu

What It Looks Like

Claude Code running inside a Lux terminal.

Claude Code running in a Lux terminal window

Other programs draw their own controls in Lux. vox, a text-to-speech tool, shows its voice settings and a music player. z-spec shows a tutorial with one lesson per tab.

Voice control panel with notification, mic, and voice settings

Music player with play controls and a list of albums

Tutorial on Z notation with one tab per lesson

Everything in these pictures is drawn by Lux. An agent or program sends Lux a description of what to show, such as "a chart with these bars" or "a table with these rows", and Lux draws it.

Using Lux

Ask your agent to show you something: "show me the open pull requests as a table I can filter", or "chart how long each test took, using Lux". The agent decides how to lay it out, and you can ask for changes the same way. Programs that add their own windows, such as vox's music player or a new terminal, are in the Clients menu of the Lux window.

Commands

You rarely need to type anything. These commands help when something looks wrong:

Command What it does
lux status Shows whether Lux is on for this project and the window is running
lux doctor Checks the installation
lux enable, lux disable Turns Lux on or off for this project
lux terminal install Adds New terminal to the menu on this computer

The command and tool reference lists every command and everything an agent can ask Lux to do.

Terminals

Run lux terminal install once on a computer. After that, New terminal in the Clients menu opens a shell in its own Lux frame. Shells keep running if the window restarts. The user guide has the details.

Using Lux From Your Own Program

Python programs can draw in Lux too. The Python Library Guide shows how.

How It Works

 Machine A                          Machine B
 agents, programs, terminals        agents, programs, terminals
   │ describe what to show            │
   ▼                                  ▼
 Lux background service             Lux background service
   │ keeps it and handles clicks      │
   └──────────────┬───────────────────┘
                  ▼
             Lux window
                  │ draws everything from every machine
                  ▼
             Your screen

Each machine runs its own background service, which holds everything its agents and programs have shown and runs their click handlers. One window shows them all, and a click goes back to the machine that drew what you clicked. Closing or restarting the window loses nothing. The user guide explains how sessions, menus, and services fit together.

How Lux Compares

herdr runs coding agents in the panes of a terminal multiplexer, shows which agents are working or waiting for you, and works from any terminal, including over SSH. Lux also runs agents in terminals and adds graphics, controls, and other programs' apps beside them. Lux needs a graphical desktop, and it does not yet show whether each agent is working or waiting.

Claude artifacts, MCP Apps, and Gemini Canvas let an agent build a web page that you can share and comment on. What Lux shows stays on machines you own and cannot be shared with other people yet. In Lux, agents send a description of what to show rather than page code, so they can read back what is on screen and change one part of it, and several agents and programs share one window that they keep up to date.

Where Lux Is Going

Lux, vox (voice), and biff (messaging between agents and people) are being integrated into one workspace for a team of agents. Agents will collaborate through shared, structured boards in Lux and messages in biff, and bring their questions to you by voice or on screen, across all of your machines. The PR/FAQ describes that direction.

Acknowledgements

Lux draws with Dear ImGui by Omar Cornut, through the Python bindings in imgui-bundle by Pascal Thomet. FastMCP connects it to agents.

Documentation

User Guide | Command and Tool Reference | Python Library Guide | Docs Guide | Target Architecture | Current Architecture | Design Log | PR/FAQ | Privacy | Contributing | Changelog

License

MIT

About

GUI - a whiteboard and dashboard interface for agents to share visual data with humans.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages