Glowbug
A machined aluminum bar that shows your coding-agent sessions — five OLED screens and ten RGB LEDs that tell you, from across the room, which agent is thinking, which one needs you, and which one just finished.
Works with Claude Code, Cursor, Codex, and Antigravity — mix and match, one screen each.
- dark — session idle
- magenta-violet breathe — thinking (with a little star-spinner on its screen)
- ember-orange fade + chime — the agent asked you a question
- pink pulse + chime — the agent is waiting for permission to use a tool
- green pulse + ding — an agent just finished its turn
- red blink — error
Automated subagents (claude -p one-shots, background verification runs)
are deliberately not shown — they aren't sessions you control, so a
screen for them is just noise.
Every pulse runs on its own clock — agents that start thinking at different moments breathe out of phase, so each agent reads as its own independent light rather than one synchronized blob.
The underglow acts as one ambient lamp echoing the most important thing happening on the board, so you don't even need to look directly at it.
This repository is the host software: everything that runs on your Mac. It's deliberately tiny — one Python file, standard library only, zero network code — so you can read every line before trusting it.
Install
Pick a door (they all do the same thing):
Tell Claude Code (easiest — you already have it):
Install glowbug from github.com/pud/glowbug
One-liner:
curl -fsSL https://glowbug.dev/install | sh
Homebrew:
brew install pud-blip/tap/glowbug
glowbug install
pipx:
pipx install glowbug && glowbug install
uv:
uvx glowbug install
By hand (the fully-auditable path):
git clone https://github.com/pud/glowbug
cd glowbug && python3 glowbug.py install
Then plug in your Glowbug. New sessions appear on the device.
(glowbug status for a health check, glowbug doctor when something's not
showing up; glowbug.py uninstall removes everything, including the hook
entries, with a backup of every config it touched.)
Install finds whichever coding agents you already have and connects to each. Install a new one later and it connects itself — the daemon checks every few minutes. Hooks only ever attach to new sessions, so restart any that are already open.
Which agents, and what you'll see
| thinking | question | permission | done | error | closed | |
|---|---|---|---|---|---|---|
| Claude Code | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Cursor | ✓ | — | — | ✓ | ✓ | ✓ |
| Codex | ✓ | — | ✓ | ✓ | — | ✓ |
| Antigravity | ✓ | — | — | ✓ | ✓ | after a while |
The dashes are honest gaps, not bugs: those tools don't expose an observational event for that moment. Glowbug only ever subscribes to events it can watch without being able to interfere — it will never sit in the path of a shell command or a tool call, and never gets a vote on whether your agent is allowed to do something. Two consequences worth knowing:
- Cursor has no watch-only signal for its approval dialog, so no pink light there. And a freshly-opened chat pane doesn't get a screen until the agent first does something — Cursor announces empty panes as sessions, and Glowbug won't show a screen for a conversation that doesn't exist yet. To close a Cursor session on the device, archive the chat in Cursor (Cursor has no close/end event, but the archive flag is visible) — the screen plays its red farewell and frees up within a couple of seconds.
- Antigravity has no session-start or session-end event, so its screen appears on the first tool call and clears a while after the session goes quiet.
One thing that is never a gap: ghost agents. Quit (or force-quit) any of these apps and their screens clear within seconds — the daemon checks that a session's app is still running, so Glowbug never shows an agent that no longer exists.
Codex needs one setting turned on for hooks to fire — add to ~/.codex/config.toml:
[features]
hooks = true
Glowbug prints this during install if it's missing. It doesn't edit that file — it's yours.
If it ever seems dead
glowbug rescue reflashes a known-good firmware image over USB — it works
even if a bad update left the device unable to talk (hold the knob while
plugging in → the screen shows RESCUE MODE). Full walkthrough in
TROUBLESHOOTING.md. Needs brew install dfu-util.
Privacy — what Glowbug can and cannot see
The point of open-sourcing this is that you don't have to take our word:
- No network code. Search the repo for
http,urllib,requests— there's nothing. Data flows from your agents' local files/hooks to a USB serial port. That's the entire graph. - The hook forwards eight fields and nothing else — search
glowbug.pyforFORWARDER_SOURCE, it's one screen of code:hook_event_name,session_id,session_title,cwd,tool_name,error_type, plussource(which tool it came from) andidle(a true/false). Never prompt text, never tool arguments, never file contents. - Things the tools offer that we deliberately drop: transcript paths,
model names, your email, turn ids, free-text error messages, file diffs,
shell commands. The whitelist is in the forwarder as an
ALIASEStable — anything not named there never leaves that process. - The daemon also reads
~/.claude/sessions/*.json(Claude Code's local session registry) for session names and busy/idle status. Cursor hooks never include a chat title, so the daemon looks up names and the archived flag only from Cursor's localcomposerHeaderstable (~/Library/Application Support/Cursor/User/globalStorage/state.vscdb) for sessions it already learned about from hooks — it does not scan your chat history. Codex and Antigravity have no such store, so for them the hooks are all Glowbug knows. - The device itself only ever receives a session's name and a status word.
How it works
Claude Code ──┐
Cursor ───────┤ hooks ──▶ glowbug-hook ──unix socket──▶ glowbug.py (daemon)
Codex ────────┤ │
Antigravity ──┘ │
Claude Code session registry (~/.claude/sessions) ──────────▶│
Cursor chat titles + archived flag (local composerHeaders) ─▶│
USB serial (newline
text protocol)
▼
Glowbug 🐛✨
The daemon gives each live session a screen (oldest on the left, newest on the right), merges hook events with Claude Code's session registry (and Cursor chat titles from its local DB), and streams semantic states over a simple text protocol:
SLOT 3 STATE question NAME my-project DETAIL Bash SUB 0 SID 8aada7ae
The device firmware owns all rendering — colors, animations, chimes, the on-device settings menu (brightness, underglow, sound, chime choice).
Requirements
- macOS (Apple Silicon or Intel), Python 3.9+ (the system one is fine)
- At least one of: Claude Code, Cursor 1.7+, Codex (with
features.hooks), Antigravity 2.0+ - A Glowbug device (hardware docs coming later — glowbug.dev)
Uninstall
python3 ~/.glowbug/glowbug.py uninstall
Removes the daemon, LaunchAgent, and hook entries. Your
~/.claude/settings.json is backed up before every change.
License
MIT — see LICENSE. https://glowbug.dev
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glowbug-1.4.17.tar.gz.
File metadata
- Download URL: glowbug-1.4.17.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
875b635e282d59495417e4055646b2e904c5c4a35e0e0722231502e52e4356f3
|
|
| MD5 |
339826e74e9912753e8a8f8c1fffd933
|
|
| BLAKE2b-256 |
679406a3870b7c7f8a6f76708d12c356103c9b8449a105960ec5b912a521b865
|
File details
Details for the file glowbug-1.4.17-py3-none-any.whl.
File metadata
- Download URL: glowbug-1.4.17-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85e52f12d19fefa49a7bf2acdcb53c2048250269770d2ff29277500cd6ffd357
|
|
| MD5 |
94a7122edbddea2af1df9d101aa972f8
|
|
| BLAKE2b-256 |
ea841c251a4eec4672500fddbdd3be6de9f6cde03601c03de8a69eda6d8161e5
|