Skip to main content

Dulus Bar 🦅

A cross-platform Dynamic Island for your AI agents.
Free. Native. MIT. Works with any agent — no account, no cloud, no lock-in.

pip install dulus-bar

MIT Python Platforms

Dulus Bar — the floating island with a live agent and an Allow/Deny prompt
Live model + context per agent, and Allow / Deny right on the island — no diving back into a terminal.


Dulus Bar puts a floating status island at the top of your screen that shows every AI coding agent you're running — Claude Code, Codex, Gemini, Cursor, Dulus, and any other CLI — and lets you Allow / Deny their permission prompts without diving back into a terminal.

It's the idea itself, shipped for everyone. Not tied to Dulus — wrap any agent and it shows up. We built the island we wanted; here it is for the whole world. 🌎

  • Claude Code, wired in one command — dulusbar hooks install connects it through Claude Code's own hooks: live status, model and context size, and Allow · Always allow · Deny right on the island, alongside the terminal dialog (answer whichever you see first).
  • Any agent — dulusbar wrap Codex -- codex wires up anything with a CLI; well-known agents get their own icon and accent color.
  • Any script — dulusbar notify "Deploy done" and dulusbar ask "Run migrations?" && ./migrate.sh put your own tools on the island.
  • Every request, in order — several agents asking at once queue up ("1 of 3"), each with the actual command or diff to approve.
  • All platforms — Windows, macOS (notch-native) and Linux.
  • Quiet by design — it rests as a slim tab at the top edge (or in the notch), peeks open when an agent finishes or fails, and stays open while something needs you. On Windows and Linux it also sends a desktop notification, so you can look away.
  • 100% local and locked down — one WebSocket on 127.0.0.1:17372. Web pages can't reach it, and only the island itself can approve anything. No cloud, no account, no telemetry.

Install

Download a desktop build from the Desktop builds workflow, or install with Python 3.10+. The build table lists the files for each CPU.

pip install dulus-bar
dulusbar                     # start the island
dulusbar hooks install       # connect Claude Code (and Codex, if you have it)

That's it — the island appears at the top of your screen. Move your mouse to the top-center to reveal it; right-click it (or the tray icon) for the menu, where Integrations and Settings → Start at login live too.

Something off? dulusbar doctor checks everything and tells you how to fix it.

From source
git clone https://github.com/Dulus-Ai/Dulus-bar.git
cd Dulus-bar

# macOS / Linux
./setup.sh

# Windows
.\setup.ps1

Linux tip: for click-to-focus of a terminal on X11, install wmctrl or xdotool.

macOS: the native SwiftUI/AppKit notch island is built on the first start — from a pip install or a checkout (setup.sh builds it right away) — with the Swift toolchain in the Xcode Command Line Tools (xcode-select --install). It rebuilds itself when its sources change (git pull, pip install -U). The Python process stays the local WebSocket hub; Windows and Linux use the PySide6 overlay.


Claude Code

dulusbar hooks install claude

This adds Dulus Bar's hooks to ~/.claude/settings.json (every other hook you have is left alone, and the file is backed up first). Restart your Claude Code sessions and each one shows up on its own — no wrapper needed:

  • Live status — the prompt it's working on, the tool it's running, "done" when it hands the turn back, plus the model and context size (opus 4.5 · ctx 82k).
  • Allow · Always allow · Deny — every permission prompt appears on the island with the exact command, file or URL. Claude Code still shows its own dialog in the terminal; whichever you answer first wins, and the other one goes away. Always allow applies the same "don't ask again" rule Claude would offer you: on macOS hold Allow until it fills (or right-click it), on Windows / Linux click Always allow.
  • Zero drag — the status hooks run in the background, and when the island isn't running every hook exits instantly without output: Claude Code behaves exactly as if Dulus Bar weren't installed.
  • In the session list (Windows / Linux), click a session to jump to the terminal or editor it runs in.

dulusbar hooks status shows what's connected; dulusbar hooks uninstall claude removes our hooks and only ours.

Codex

dulusbar hooks install codex

Points Codex's notify at the island, so you get a "done" with Codex's last message the moment it hands the turn back. If your ~/.codex/config.toml already has a notify program, Dulus Bar won't overwrite it. For live status and Allow / Deny, wrap it instead: dulusbar wrap Codex -- codex.

Any agent — zero monopoly

Dulus Bar is agent-agnostic. Wrap any CLI and it reports to the island:

dulusbar wrap Codex -- codex "fix auth bug"
dulusbar wrap Gemini -- gemini
dulusbar wrap "My Agent" -- ./my-agent --flag

The wrapper runs the agent in a real PTY (so interactive TUIs work), streams its status, and types your Allow / Deny into it. Known names (Claude, Codex, Gemini, Cursor, Copilot, Kimi, DeepSeek, Grok, Qwen, Mistral, Windsurf, Zed, Aider, Ollama, …) get a curated icon + color; anything else gets a stable auto-assigned color.

Or right-click the island → Open agent… and pick an installed agent or any executable — Dulus Bar launches it in its own terminal, already wired.

Your scripts, on the island

# Post a status (exit code is always 0, so it never breaks your script)
make release && dulusbar notify --agent CI "Release built ✓"
dulusbar notify --status error --agent CI "Tests failed"

# Ask before doing something risky: 0 = allowed, 1 = denied, 2 = no answer
dulusbar ask --detail "alembic upgrade head" "Run migrations on prod?" && ./migrate.sh

ask falls back to a [y/N] prompt in the terminal when the island isn't running.

Build your own integration

Agents talk to the island over one local WebSocket. dulus_bar/client.py is a dependency-free client you can import or vendor as a single file:

from dulus_bar.client import BarClient

with BarClient(agent="My Agent") as bar:
    bar.event("session_started", {"model": "kimi-k2.5", "ctx": "12%"})
    decision = bar.request_permission("Bash", "rm -rf build/")
    if decision and decision.approved:
        ...

The full wire format — events, permission requests, decisions, auth — is in PROTOCOL.md. Want Always allow for your agent? Offer it with can_always=True and save the rule when the answer says always — the island never keeps rules of its own (how).

Works beautifully with Dulus (optional)

If you run Dulus, the island also shows the active model and live context usage — e.g. kimi/kimi-k2.5 · ctx 38%. But you never need Dulus to use Dulus Bar. The bar is the gift; Dulus is just one of many agents it speaks to.


Commands

Command What it does
dulusbar Start the island (frees your terminal; --foreground keeps the logs there)
dulusbar status [--json] What every agent is doing, and what's waiting for approval
dulusbar notify [-a NAME] [--status running|done|error|idle] MESSAGE Post a status from any script
dulusbar ask [--detail TEXT] [--timeout S] QUESTION Allow / Deny on the island; exit 0 / 1 / 2
dulusbar wrap NAME -- COMMAND [ARGS…] Run any CLI agent wired to the island
dulusbar hooks install|uninstall|status [claude|codex|all] Connect Claude Code / Codex
dulusbar doctor Diagnose the setup
dulusbar quit Stop the running island

Security

  • The hub listens on 127.0.0.1 only.
  • Any web page can try to open a WebSocket to localhost, so connections that carry a browser Origin are refused: a website can't read your agents' tool calls or approve one.
  • Only the island can answer a permission request — it authenticates with a token that changes every run and lives in a file only you can read (hub.json, mode 0600).
  • An answer is delivered only to the agent that asked.

How it works

Agents (hooks, wrappers, scripts) connect to a tiny local WebSocket hub and report events; the hub keeps the state, the island renders it, and your Allow / Deny goes back to exactly the agent that asked.

Agent → bar:

{ "agent": "Claude Code", "type": "tool_request", "session_id": "abc123", "request_id": "r1",
  "payload": { "tool": "Bash", "args": "rm -rf build/" } }

Bar → that agent:

{ "type": "decision", "session_id": "abc123", "request_id": "r1", "payload": { "approved": true } }

Event types: session_started, prompt, tool_started, tool_finished, message, tool_request, tool_approved, tool_denied, idle, completed, error, session_ended. model / ctx / cwd payload fields are optional. Clients that speak the original v1 protocol keep working unchanged — see PROTOCOL.md.

dulus_bar/
  overlay.py        Floating island UI (PySide6), notch-aware + reveal-on-hover
  server.py         WebSocket hub (ws://127.0.0.1:17372): roles, routing, housekeeping
  state.py          Session + permission state, shared by the hub and the island
  client.py         Zero-dependency client SDK (hooks, CLI, your agent)
  cli.py            The `dulusbar` command
  integrations/     Claude Code hooks, Codex notify
  agents.py         Per-agent icon + accent color registry
  native/           win32 / pyobjc / wmctrl window focus per platform
  wrappers/         PTY / pipe wrapper for any CLI agent
  macos/            Native SwiftUI/AppKit notch island (built on first start)

Desktop builds

Open Actions → Desktop builds, select a successful run and download the artifact for your machine. The workflow runs on pull requests, pushes to main, and v* tags. Run workflow also builds the same set on demand.

System CPU File inside the Actions artifact
macOS 13+ Intel x86-64 and Apple Silicon ARM64 DulusBar-macos-universal2.zip
Windows Intel/AMD x86-64 DulusBar-windows-x86_64.zip
Windows 11 ARM64 DulusBar-windows-arm64.zip
GNU/Linux desktop Intel/AMD x86-64, glibc 2.35+ DulusBar-linux-x86_64.tar.gz
GNU/Linux desktop ARM64, glibc 2.39+ DulusBar-linux-arm64.tar.gz
Debian 13 and compatible distributions Includes 32-bit x86 (i386) and ARM (armhf) dulus-bar_<version>_all.deb

Unpack the standalone archive and launch DulusBar.app, DulusBar.exe, or ./DulusBar. The executable also runs CLI commands such as status and hooks install. The macOS app includes the compiled Swift island and its resources. It runs without Python or Xcode installed.

The Linux archives target glibc and a desktop with X11 or XWayland. On Debian, sudo apt install ./dulus-bar_*_all.deb installs the launcher and the distribution's native Python and Qt libraries. For other Linux systems, including musl, the system-packages artifact also contains a py3-none-any wheel. Where the distribution packages PySide6, websockets and psutil at the versions in pyproject.toml, install those packages, create a venv with --system-site-packages, and run python -m pip install --no-deps ./dulus_bar-*.whl in that venv. Windows builds require a 64-bit OS because the official PySide6 Windows wheels cover x86-64 and ARM64. macOS 13+ runs 64-bit applications.

For Interant, extract the inner ZIP with ditto -x -k DulusBar-macos-universal2.zip . to preserve symlinks. Embed the complete DulusBar.app under the host app's Contents/Helpers/ and launch the nested Contents/MacOS/DulusBar executable. The public build uses an ad-hoc signature. Apply Interant's App Sandbox entitlements and distribution signatures to the nested code and host app in its private release pipeline before submitting to the Mac App Store.

Build locally

On the target OS, use Python of the target architecture. On macOS the build also needs Xcode or the Command Line Tools for the Swift helper.

python -m pip install ".[build]"
python -m PyInstaller --clean --noconfirm DulusBar.spec

Outputs land in dist/. To build the two-architecture Mac archive, use Xcode and a universal2 Python from python.org, then run PYTHON=/path/to/python3 bash scripts/build-macos-universal.sh. On Debian or Ubuntu, bash scripts/build-deb.sh produces the architecture-independent .deb and Python wheel.


Platform notes

  • Windows — fully tested. pywin32 for window focus; PySide6 overlay with reveal-on-hover.
  • macOS — the native island is the notch (on Macs without one it draws one in the menu bar's empty middle), with a small light per live agent under it, and it pours open into the card. Hold Allow to always allow; click a session to bring up the terminal or editor it runs in; agents opened from its menu bar icon are wired to the island. Source and pip installs use the Qt island (notch-aware through pyobjc) when the Xcode Command Line Tools are unavailable.
  • Linux — anchors to the top of the work area (never under a panel/dock) and takes itself out of the window manager's placement policy on X11, so it stays at the top instead of being re-centred. On Wayland it runs through XWayland, because a Wayland client cannot position its own window. Agents open in your real terminal: gnome-terminal, ptyxis, kgx, konsole, xfce4-terminal, tilix, terminator, lxterminal, alacritty, kitty, foot, wezterm, ghostty, qterminal, urxvt, st and xterm are each launched with the flags they actually support, and $TERMINAL wins if set. Install wmctrl or xdotool for click-to-focus on X11. Without a system tray (stock GNOME) the island stays visible instead of hiding — right-click it for the menu.

Knobs

Most settings live in the menu (Settings). Environment variables still win:

Variable Effect
DULUS_BAR_PORT=17372 Port of the local hub (agents follow it automatically).
DULUS_BAR_HOME=<dir> Where settings and hub.json live.
DULUS_BAR_NO_AUTOHIDE=1 Keep the island always visible (no reveal-on-hover).
DULUS_BAR_FOREGROUND=1 Run in the foreground and keep the logs in the terminal.
DULUS_BAR_ALLOWED_ORIGINS=<a,b> Let specific web origins connect (e.g. your own dashboard).
DULUS_BAR_DEBUG=1 Log hook errors to hooks.log in the settings dir.
DULUS_BAR_FORCE_QT=1 macOS: use the Qt island instead of the native one.
DULUS_BAR_NATIVE_BINARY=<path> macOS: run this build of the native island (e.g. your own swift build).
DULUS_BAR_X11_WM=1 Linux: let the window manager manage/place the island again.
DULUS_BAR_KEEP_WAYLAND=1 Linux: stay on native Wayland (the compositor decides where the island goes).
DULUS_BAR_FULL_SCREEN_EDGE=1 Linux: anchor to the physical screen edge, ignoring panels/docks.
DULUS_BAR_OPAQUE=1 Drop translucency + shadows for window managers with no compositor.

Contributing

PRs welcome — new agent icons/colors, integrations, platform fixes, packaging. pip install -e ".[dev]" && pytest runs the suite (headless; the UI tests use Qt's offscreen platform); on a Mac, swift test --package-path dulus_bar/macos runs the native island's. Open an issue, fork it, ship it.

License

MIT. Use it, fork it, ship it. We shipped the idea on purpose — no monopoly.

Built by one builder in the Dominican Republic 🇩🇴 — for everyone. 🦅

Metadata

Release files for dulus-bar 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dulus-bar 0.5.2
File Size Uploaded Provenance Actions
dulus_bar-0.5.2.tar.gz 1.9 MB Without provenance Details for dulus_bar-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dulus-bar 0.5.2
File Interpreter ABI Platform Actions
dulus_bar-0.5.2-py3-none-any.whl Python 3 none any Details for dulus_bar-0.5.2-py3-none-any.whl

Total release size: 3.7 MB

Release files / dulus_bar-0.5.2.tar.gz

Download URL dulus_bar-0.5.2.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
8bd031f07a3651598a9036430ee2898542db3b924d39d2eaeadb91806876f062
BLAKE2b-256 checksum
How to use checksums
f5ac51a7c51c63b6cffcf01a405746ad948b2a6f99488ad23709cd12b12a3007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Release files / dulus_bar-0.5.2-py3-none-any.whl

Download URL dulus_bar-0.5.2-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0d1a1e1176e9f4fea6152adc9d0cdc82fc6c7c2fd811f6b0acbfd7f20d2d7623
BLAKE2b-256 checksum
How to use checksums
c303d708c98f2bf45360cf4322c4862ccb8c3690008bbd3d52cea4f3c4726324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.17

Security for dulus-bar 0.5.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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