Skip to content

Web UI

KanbAI ships a friendly local web UI (FastAPI + HTMX, with all assets vendored so it works offline). It needs the ui extra.

kanbai ui                    # serve the board and open your browser
kanbai ui --port 9000 --no-browser
kanbai ui --reload           # auto-restart on code changes (development)
kanbai ui --poll             # for sandboxes/containers without OS file events

The KanbAI web UI

What you can do

  • View the board and create, edit, move, archive, or delete cards.
  • Drag-and-drop cards between columns (the new order is persisted), or move from a card's detail modal.
  • Plan a sprint — move several backlog cards into todo at once — and close the current sprint (archive done cards, optionally reset the active columns, optionally stamp a release version).
  • Search cards and filter by label or type.
  • Browse archived cards, click one to see its full detail, and restore it — or clear the archive to delete every archived card for good (it asks first; this can't be undone).
  • See WIP-limit and blocked-by-dependency indicators.

Creating a card

The New card button opens a modal with every field — title, column, priority, type, labels, and description — so a card can be created fully formed in one step.

The New card modal

Card details

Click any card to open its details — description and acceptance criteria, labels, dependencies, type, group, source (a link when it is a URL), the blocked reason, and release version — and move, edit, archive, or delete it right from the modal. A blocked card also has an Unblock button that clears the reason in one click.

The card detail modal

Planning a sprint

The Plan sprint button opens a picker of your backlog cards — check the ones you want and move them into the sprint (todo) in one go.

The Plan sprint modal

Search and filter

Use the search box and the label filter to focus the board on what matters right now.

The board filtered by a label

Live updates

The UI subscribes to the board over Server-Sent Events. When Claude (or you) moves a card from the CLI in another terminal, the board updates in place — no refresh needed.

Sandboxes and containers

Live updates rely on OS file-change events. In environments that don't deliver them (some containers, network mounts), start the UI with --poll to fall back to polling.

Notifications

KanbAI notifies you — with the platform's default sound — the moment a card reaches review (or done, on boards with no review column) and whenever that move leaves the sprint with no actionable card left to pick up. There's no background process to keep running: the notification fires as part of the move itself, whether you drag the card here in the web UI or run kanbai review <id>/kanbai done <id> from a terminal — even with no web UI open at all.

Two channels, checked independently on every qualifying move:

  • Native desktop notification (macOS Notification Center, Linux via notify-send's dbus service, Windows toast). On by default. No credentials, no external service.
  • ntfy push, off by default — set ntfy_topic in config.toml to also push to the public ntfy.sh server. Reaches your phone (via the ntfy app) or any device subscribed to that topic, not just this machine. ntfy.sh needs no signup or token — the topic name itself is the only thing gating who receives it, so pick something that isn't easily guessable.

The push is tailored to the event, with no extra configuration:

Event Emoji ntfy priority
Card in review 👀 default (high when the card is high priority)
Card in done (boards without review) ✅ same as review
Notice to pass on 🔔 high
Sprint empty 💤 low
Claude needs permission 🔒 high
Claude has a question (or an MCP server does) ❓ high
Claude is idle, waiting for your next step ⏳ default

The message is formatted in Markdown: the card title in bold, then its id, type and priority, and the board name. For a notice, the notice text comes first.

These channels also work with a hosted board ([server] in config.toml): the notification fires on the machine that runs the CLI — so you hear about the moves Claude makes with kanbai review/done — and its settings come from the project's own [notifications] section, never from the server. Moving a card in the hosted web page does not notify.

A card with a notice that reaches done sends one more notification carrying the notice text, on the same channels, so you know whom to tell. It stays pending — shown as a notice badge on the card — until you mark it as sent from the card's detail view or with kanbai edit <id> --notice-sent.

A flaky or offline ntfy.sh never blocks the move that triggered it — a failed push is silently skipped rather than raised. Every notification title is prefixed with the board's name, so running several boards side by side doesn't mix up which one needs your attention.

Native notifications need a signed executable on macOS

macOS only allows signed executables to post notifications via Notification Center. A plain python3 from Homebrew (or most pip/uv installs) is unsigned, so native notifications silently do nothing there — no error, just no popup. The python.org installer ships a signed framework build that does work; otherwise, the ntfy channel above is unaffected by this and a reliable fallback on macOS.

Don't want the native channel? Turn it off in config.toml.

There's a third trigger, independent of board activity: Claude Code's own Notification hook, installed automatically by kanbai init, fires these same two channels whenever Claude is waiting on you.

Sorting the backlog

The backlog column has a small sort control in its header. Pick a key (id, priority, type, or title) and a direction (↑ ascending / ↓ descending); the new order is written back to the cards, so it sticks everywhere — including the CLI. Ascending priority reads low → medium → high; use ↓ to put the highest priority first.

Grouping the backlog

Give cards a Group (in the new/edit form, or with kanbai add --group) and the backlog column draws the cards of each group together inside a framed box with the group's name and card count. The box sits where the group's first card sits; cards without a group stay as they were around it. Drag a card into a box to add it to that group, and drag it out of the box to take it out (a group disappears once its last card leaves). Click a box's header (or use the collapse/expand-all buttons in the column header) to fold it; which groups are folded is remembered per board in the browser, and while a search, label or type filter is active every group is shown open. To start a group, drag a card onto the middle of another ungrouped backlog card (it lights up with a dashed outline) and name the group: both cards go into a new box, the dragged one right after the other. Near a card's top or bottom edge a drag only reorders. Moving a card to another column keeps its group. The backlog sort reorders the cards, and the boxes follow the first card of each group.

Closing a sprint

The Close sprint button archives every done card and, optionally, sends the active columns back to the backlog — with an optional release version stamped on every archived card, so the archive later shows which release shipped it. It refuses to run (and shows an alert in the modal) while any card is still in review, so unapproved work is never silently archived or moved.

The Close sprint modal, with the review warning

The archive

The Archive button lists every archived card, with the column it came from and the release version it was stamped with, and a filter box to find one. Restore puts a card back where it was; click a card to read its full detail first. Clear archive deletes every archived card for good, after asking for confirmation.

The Archive modal listing archived cards with Restore and Clear archive

On your phone

The UI is responsive. On a narrow screen the top bar stacks, the board actions shrink to touch-sized icon buttons (keeping their labels for screen readers), the search and filters wrap onto their own rows, and inputs are large enough that iOS Safari doesn't zoom in when you focus them. Open the hub from your phone through your machine's address on the network (kanbai hub --host 0.0.0.0) to check the board away from your desk. The hub has no authentication, so only expose it on a network you trust.

Hiding the backlog

Use the eye toggle in the top bar to hide the backlog column and give the sprint columns the full width. The choice is remembered in your browser.

The board with the backlog hidden, focused on the sprint

AI command input

Type a natural-language instruction — "add a bug card about the login timeout" — and it pre-fills the New card modal for you to review and confirm; it never creates the card directly. Needs the ai extra and an API key from Anthropic or OpenAI — whichever key is set, the input appears in the top bar with no further configuration:

The AI command input in the top bar

export ANTHROPIC_API_KEY=sk-ant-...     # or OPENAI_API_KEY=sk-...
kanbai ui

If neither key is set, the input simply doesn't render — no error, and it's never required to use the rest of the UI. If both keys are set, Anthropic is used by default; override with KANBAI_AI_PROVIDER (anthropic/openai, requires that provider's own key to also be set) and KANBAI_AI_MODEL (a specific model ID). These are process-wide environment variables, not config.toml settings — the same choice applies across every board a hub serves.

Multiple projects

To watch several projects at once from a single server, use the multi-board hub.