Skip to content

Dashboard

The Hiraku dashboard lets you browse project records, inspect their runs, and compare metrics in your browser. It runs locally as a marimo notebook with a Marimo Studio view.

Install Hiraku with the dashboard extra:

uv tool install --force 'hiraku[dashboard]'

Add any tracking extras you use to the same install command. For example, use uv tool install --force 'hiraku[dashboard,mlflow]' for MLflow. See installation options.

Browse your project

To open the dashboard, run this from inside your Hiraku project:

hiraku dashboard serve

Hiraku opens the dashboard in your browser and prints its local URL in the terminal. For projects without hiraku/dashboards/dashboard.py, it opens the included dashboard without writing project files. Press Ctrl-C to stop the server.

In the leaderboard's Table view, use Columns to show more metrics, parameters, or run provenance.

Option What it does
--record ID, --leaderboard NAME Select the initial record or leaderboard.
--port PORT Use a specific port. By default, Marimo picks a free port.
--no-browser Print the local URL without opening a browser.
--watch Reload when the notebook file changes.
--include-code Make read-only cell source available from Marimo’s menu.

Project dashboards

Copy the included dashboard into your project to customize the marimo notebook, layout and plots.

hiraku dashboard create

Edit the cells in hiraku/dashboards/dashboard.py directly or open the notebook editor with hiraku dashboard edit. The Studio layout and styles live in hiraku/dashboards/studio/dashboard/html/.

To open your copy in the browser, run:

hiraku dashboard serve

Without a name, serve, edit, and create use dashboard.py. If it is missing, serve runs the bundled dashboard and edit copies it into the project before opening the editor. Pass a name to work with another dashboard. Use hiraku dashboard list to see the available names.

For a plain Marimo starter, run hiraku dashboard create exploration --template notebook. Edit and serve hiraku/dashboards/exploration.py the same way. The notebook exposes project, records, leaderboard_names, the selected leaderboard, and its runs to other cells. It loads the sole leaderboard automatically, or you can use the picker or --leaderboard NAME to select one.