Metadata-Version: 2.5
Name: orca-board
Version: 0.4.3
Summary: A read-only live board for Orca orchestration runs: task tree, workers, gates and messages in the browser.
Project-URL: Homepage, https://github.com/ClemenceChee/orca-board
Project-URL: Documentation, https://github.com/ClemenceChee/orca-board/tree/main/docs
Project-URL: Issues, https://github.com/ClemenceChee/orca-board/issues
Project-URL: Changelog, https://github.com/ClemenceChee/orca-board/blob/main/CHANGELOG.md
Project-URL: Source, https://github.com/ClemenceChee/orca-board
Author: Contextum AI & Data Solutions GmbH
License-Expression: MIT
License-File: LICENSE
License-File: orca_board/static/vendor/LICENSE-d3
Keywords: agents,dashboard,orca,orchestration,sqlite,sse
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# Orca Board

**See every Orca orchestration run live, as one tree of coordinators, workers, tasks, messages and decision gates, without ever writing to Orca.**

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE)
[![Python 3.9+](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/)
[![Zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md)
[![CI](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml/badge.svg)](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml)

![Orca Board on synthetic data: message particles fly between nodes, a task completes, another fails, the stats strip updates](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/demo.gif)

When an [Orca](https://github.com/stablyai/orca) coordinator fans work out to a dozen agents, the terminal tells you
little about who is doing what. Orca Board shows the whole run at a glance: which task each worker holds, what they
report back, what failed and where a human decision is waiting. It runs inside the Orca desktop app or in any browser.

## What you see

- **Focus on active work.** Live tasks stand out; finished work folds into small "N done" chips under its parent.
  Click a chip to see those tasks, or press **Show done** to bring everything back.
- **Run times.** Each live worker shows how long it has been running, and the stats strip shows elapsed and idle time.
- **Health flags.** Small flags mark work that is stalled, long-running, retried, too wide or waiting on you, with a
  list one click away. [Thresholds](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/configuration.md#health-thresholds) come from your own run history or from settings.
- **Agent profiles.** Failure rates and run times per agent over recent runs.
- **The task tree.** Tasks nest under the coordinator, with dependency edges, workers and sub-workers, retry counts,
  message particles coloured by type and amber diamonds for open decision gates.
- **Replay.** Play any run back from its start at 1× to 1800×, or drag the scrubber.
- **Live updates.** New tasks, messages and results appear within about a second. Dark mode, keyboard navigation and
  reduced motion are built in.

| The board (focus view) | Inside Orca's sidebar |
|---|---|
| ![The board: active tasks with health flags and run times, finished work folded into "N done" chips](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-1440.png) | ![The board in a narrow sidebar with two sources](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-sources-sidebar-420.png) |

More: [side panel](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-panel-1440.png),
[replay](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-replay-1440.png),
[dark mode](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-dark-1440.png),
[several sources](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-sources-1440.png).

## Install

Pick the path that matches how you run Orca.

### 1. Orca desktop app: install the plugin, done

In Orca, open **Settings → Plugins → Add plugin → From a Git URL…**, enter
`https://github.com/ClemenceChee/orca-board` and approve it. Open **Orca Board** in the right sidebar: your runs are
there. The plugin reads this desktop's Orca data itself, read-only, so there is no Python, no server and no port to
set up. It also adds a compact panel and a `.orcaboard` file type that opens the board as a tab.
[Orca plugin guide](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/orca-panel.md).

### 2. Browser or headless Orca: `uvx orca-board`

For Orca without the desktop app (`orca serve`, remote runtimes), or to use the board in a browser, run the board
server on the machine where Orca runs. You need Python 3.9 or newer (the macOS Command Line Tools Python works) and
an Orca that has run at least one orchestration.

```sh
uvx orca-board            # or: pipx run orca-board
```

Then open <http://127.0.0.1:8510>. To keep it installed, use `uv tool install orca-board` or `pipx install orca-board`
and run `orca-board`. To keep it running in the background, `orca-board --print-systemd-unit`,
`--print-launchd-plist` or `--print-windows-task` prints a ready service definition
([examples](https://github.com/ClemenceChee/orca-board/blob/main/examples/service/)).
Guides: [install per OS](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/install.md) ·
[run as a service](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/run-as-a-service.md) ·
[remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md).

Try it without Orca: `uvx orca-board --demo`. It serves a synthetic live run with a **demo data** badge on the same
address; see [getting started](https://github.com/ClemenceChee/orca-board/blob/main/docs/getting-started.md).

### 3. One board for several Orcas

Each Orca keeps its own database. Run a board server next to each remote Orca, reachable over HTTPS on your VPN or
reverse proxy (start it with `--allow-host board.example.ts.net`), and add it as a source:

```sh
orca-board --label Desktop --source "Remote=https://board.example.ts.net"
```

The run rail then has a section per source, each with a live / reconnecting / unreachable dot, and a run that two
Orcas both hold is listed once. In the Orca plugin, add the same address to **Board sources** next to
`This desktop = local`. Guides: [sources](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/configuration.md#sources) ·
[Board sources](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/orca-panel.md#board-sources) ·
[a worked example](https://github.com/ClemenceChee/orca-board/blob/main/examples/remote-server.md).

> [!WARNING]
> The board server has no authentication and listens on `127.0.0.1` only. To reach it from another machine, use an
> SSH tunnel, a private VPN or a reverse proxy: see [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md).

Ready-made settings for all three paths (`.orcaboard` files, Board sources, thresholds, services) are in
[`examples/`](https://github.com/ClemenceChee/orca-board/blob/main/examples/).

## How it works

- Orca keeps its runs in a SQLite file, `orchestration.db`. The board opens it **read-only** (plus `PRAGMA query_only`)
  and only runs `SELECT`s, so it cannot change Orca's state.
- The server polls the database about once a second and pushes changes to the page over Server-Sent Events. It uses
  the Python standard library only.
- Inside Orca, the plugin's worker reads this desktop's database itself with the **same SQL files** and redaction
  rules as the server, held to the same golden answers in CI; other Orcas come in through their board servers.
- Secrets that show up in Orca data (tokens, keys, passwords) are masked before they reach the page.

Details: [architecture and the read-only guarantee](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md) ·
[security model](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/security.md).

## Updating

- **Server**: `uvx orca-board@latest` (uvx caches the version it ran first), `uv tool upgrade orca-board`,
  `pipx upgrade orca-board` or `pip install -U orca-board`, then restart it (or its service).
- **Plugin**: in a terminal on the desktop, `orca plugin update clemencechee.board-panel` (or `--all`). On Linux,
  where `orca` can be the GNOME screen reader, use `orca-ide` instead. A Git URL install follows version tags, so it
  moves when a new `vX.Y.Z` is out (`#main` follows main). Without a terminal, remove the plugin and add it again
  from the Git URL.
- **From 0.3**: the plugin keeps your saved Board sources. If it says `This desktop = http://127.0.0.1:8510`, change it
  to `This desktop = local` to use the built-in reader (the setup card suggests it when that server has never
  answered), and stop the local server if nothing else needs it.

Changes per release: [CHANGELOG.md](https://github.com/ClemenceChee/orca-board/blob/main/CHANGELOG.md). Tested with
Orca 1.4.274; `/api/health` reports schema drift on other versions.

## Documentation

- [Getting started](https://github.com/ClemenceChee/orca-board/blob/main/docs/getting-started.md): run the mock, learn to read the board, then point it at your Orca.
- Guides: [install](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/install.md) ·
  [inside Orca](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/orca-panel.md) ·
  [run as a service](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/run-as-a-service.md) ·
  [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md) ·
  [troubleshooting](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/troubleshooting.md)
- Reference: [configuration](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/configuration.md) ·
  [HTTP API](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/api.md) ·
  [data map](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/data-map.md)
- [Examples](https://github.com/ClemenceChee/orca-board/blob/main/examples/)

## Security

The board is read-only by design, binds to `127.0.0.1`, checks the `Host` header, sends a strict Content-Security-Policy
and masks secrets. The plugin's built-in reader opens no port at all. Report vulnerabilities privately as described
in [SECURITY.md](https://github.com/ClemenceChee/orca-board/blob/main/SECURITY.md).

## Contributing

Bug reports, ideas and pull requests are welcome; read [CONTRIBUTING.md](https://github.com/ClemenceChee/orca-board/blob/main/CONTRIBUTING.md)
first. The one hard rule: the board stays read-only. Questions go to [SUPPORT.md](https://github.com/ClemenceChee/orca-board/blob/main/SUPPORT.md).
This project follows a [code of conduct](https://github.com/ClemenceChee/orca-board/blob/main/CODE_OF_CONDUCT.md).

```sh
python3 -m unittest -v                        # the Python suite; needs no Orca install
node --test 'orca-panel/test/**/*.test.ts'    # the Orca plugin (Node 24)
```

## License

[MIT](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE) © 2026 Contextum AI & Data Solutions GmbH. Includes
[d3](https://d3js.org) 7.9.0 (ISC, [orca_board/static/vendor/LICENSE-d3](https://github.com/ClemenceChee/orca-board/blob/main/orca_board/static/vendor/LICENSE-d3)).

Orca Board is an independent project. It is not affiliated with or endorsed by the Orca project.
