Skip to main content

Cursor Agent Beacon logo

Cursor Agent Beacon

CI PyPI License: MIT Python 3.10+

Deterministic monitoring of Cursor agent activity using native Cursor Hooks.

Cursor fires hook events automatically during the agent lifecycle — the model does not need to report status. Cursor Agent Beacon maps those events to a small set of high-level states and publishes updates through pluggable sinks (file, log, HTTP).

Use it today for a GNOME top-bar status panel and CLI (doctor / status). Optionally drive a physical VIEWE 480×480 panel (ESP32 firmware + local bridge); other displays can speak the same serial protocol.

GNOME status panel

Thinking Running shell
GNOME panel — Thinking state GNOME panel — Running shell state

On Ubuntu/GNOME, the extension reads ~/.local/share/cursor-agent-beacon/ and shows the focused agent session in the top bar (state, tool name, turn timer). The menu lists open workspace sessions. See GNOME Status Panel.

Quick start

From git (development)

git clone https://github.com/suribe06/cursor-agent-beacon.git
cd cursor-agent-beacon
./setup.sh

From PyPI

python3 -m venv .venv
source .venv/bin/activate
pip install "cursor-agent-beacon[bridge]"
cursor-agent-beacon setup

Restart Cursor when setup finishes. On Ubuntu, reload GNOME Shell if the top-bar panel does not appear (Alt+F2r on X11, or log out/in on Wayland).

Verify and inspect:

cursor-agent-beacon doctor
cursor-agent-beacon status    # after an Agent chat

Raw status file (any project):

cat ~/.local/share/cursor-agent-beacon/status.json

See Getting Started for bridge, themes, and development setup.

Features

Desktop (shipped)

  • One-shot setup: ./setup.sh or pip install + cursor-agent-beacon setup
  • doctor / status / uninstall CLI
  • GNOME status panel (v0.10 pre-release) with multi-session registry
  • Normalized states: idle, waiting, thinking, running_shell, running_mcp, success, error
  • Fail-open hooks — never block Cursor

Themes & hardware (optional)

  • Standard pixel-robot GIF theme (480×480) in themes/standard/assets/
  • Custom themes in themes/custom/<name>/
  • Local bridge (cursor-agent-beacon bridge): HTTP → serial (ESP32)
  • VIEWE UEDX48480021-MD80ET firmware + flash script (setup)
  • Bring-up notes for other displays (hardware hub)

Architecture

Cursor → ~/.cursor/hooks.json → cursor-agent-beacon run → mapper → sinks
                                                      ↓
                              ~/.local/share/cursor-agent-beacon/ → GNOME panel

Read more in docs/architecture.md.

Configuration

Variable Default Description
CURSOR_AGENT_BEACON_LOG true Emit JSON lines to stderr
CURSOR_AGENT_BEACON_FILE true Write latest status file
CURSOR_AGENT_BEACON_STATUS_FILE ~/.local/share/cursor-agent-beacon/status.json (user install) Status snapshot path
CURSOR_AGENT_BEACON_HTTP_URL unset Bridge POST /status endpoint
CURSOR_AGENT_BEACON_BRIDGE_HOST 127.0.0.1 Bridge bind address
CURSOR_AGENT_BEACON_BRIDGE_PORT 8765 Bridge HTTP port
CURSOR_AGENT_BEACON_SERIAL_PORT unset ESP32 serial device (dry-run if unset)
CURSOR_AGENT_BEACON_SERIAL_BAUD 115200 Serial baud rate
CURSOR_AGENT_BEACON_THEME standard Theme id (standard or custom theme name)
CURSOR_AGENT_BEACON_THEMES_DIR packaged themes/ or repo themes/ Root folder for theme packs
CURSOR_AGENT_BEACON_REDACT_CONTENT false Hide prompt/response text in status

Project status

Component Status
Python hook handler ✅ v0.4
One-shot setup + doctor CLI ✅ v0.4
Multi-session file sink ✅ v0.4
GNOME status panel 🧪 v0.10 pre-release
Standard GIF theme ✅ bundled
Custom GIF themes themes/custom/
Local bridge service ✅ v0.4
VIEWE MD80ET firmware (GIF + caption) ✅ in-repo (firmware/viewe/)

See docs/roadmap.md.

Documentation

Contributing

See CONTRIBUTING.md. Please read the Code of Conduct before participating.

Report security issues privately — see SECURITY.md.

Development

./setup.sh
source .venv/bin/activate
pip install -e ".[dev,bridge]"
pytest -m "not smoke"
ruff check src tests
ruff format --check src tests
pyright
python -m build

Systemd user service template: packaging/cursor-agent-beacon-bridge.service

# Install + enable bridge in the background (uses config/hardware.env)
./scripts/install-bridge-service.sh
# logs: journalctl --user -u cursor-agent-beacon-bridge -f

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cursor_agent_beacon-0.5.1.tar.gz (99.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cursor_agent_beacon-0.5.1-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

Details for the file cursor_agent_beacon-0.5.1.tar.gz.

File metadata

  • Download URL: cursor_agent_beacon-0.5.1.tar.gz
  • Upload date:
  • Size: 99.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cursor_agent_beacon-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8d43c6722872164b0c9462fafb42e3848912bfc50b1aec52f1e100f10fdf6d39
MD5 724de140f3cf196bbab016c4ac1cb15d
BLAKE2b-256 7b7e95d33065dc62e0a6a0e4f5d1a3b30f7fc38361bb65073556941e459068ee

See more details on using hashes here.

File details

Details for the file cursor_agent_beacon-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cursor_agent_beacon-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a8436fda553d783772b3ffb82daac7096b30da3074c6c3565165df7a3e483a7
MD5 58dbd9a0fa899b4293a68a664cbcec41
BLAKE2b-256 6a2a018894d892c212fcde7899abdd14dc43eb8564bcf8b0428ced1146c711e6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.2

2 files

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page