Install Bellman Workbench¶
Bellman Workbench lets you edit Bellman-SYM model files and inspect their diagrams. You can use it in a browser or in the desktop application, which opens the same interface in its own window.
Installing the desktop application does not install Python or Bellman. Both versions need the Python packages bellman and bellman-workbench, installed together as below. You do not need the desktop application to use the browser version.
No ready-made desktop installer is currently published on the download page. You can use the browser version now, or build the desktop application in §3.
1 Install the Python packages¶
Install Python 3.12 or later and Git, then open Terminal on macOS/Linux or PowerShell on Windows. Download the source:
Create a virtual environment, a folder that keeps this installation's Python packages together, and install both packages. Keep this terminal in the bellman folder for the commands below.
On macOS or Linux:
python3 --version
python3 -m venv venv
venv/bin/python -m pip install --upgrade pip
venv/bin/python -m pip install -e "packages/bellman[explore]" -e packages/bellman-workbench
If python3 --version reports a version older than 3.12, use the newer Python executable in the next line, for example python3.13 -m venv venv.
On Windows:
py -3 --version
py -3 -m venv venv
.\venv\Scripts\python.exe -m pip install --upgrade pip
.\venv\Scripts\python.exe -m pip install -e "packages/bellman[explore]" -e packages/bellman-workbench
If py -3 --version reports a version older than 3.12, select your installed newer version when creating the environment, for example py -3.13 -m venv venv.
The commands install Bellman, the Workbench interface and their Python dependencies. The -e option uses the code in your downloaded folder, so keep that folder and venv/ in place.
2 Open the browser version¶
On macOS or Linux:
On Windows:
Your browser opens at localhost:8765. The command starts a server on your own computer; keep the terminal open while you work, and press Ctrl+C there to stop it. Replace applications/cons-port with your own model folder when ready.
Choose a .bl model file in the file tree to edit it and see its diagram. Save writes the edited text to disk. Follow the Workbench quickstart to inspect the portfolio stage in the supplied model.
3 Build and install the desktop application¶
Complete §1 first. Install Node.js 22 with npm, Rust and the Tauri prerequisites for your operating system. Tauri is the software used to build the desktop application. From the bellman folder:
The application and installers are written under packages/bellman-desktop/src-tauri/target/release/bundle/, relative to the repository root. On macOS, copy Bellman Workbench.app from its macos/ subfolder into Applications and launch it. This local build is not a signed public release. Desktop installation has been checked on macOS; Windows and Linux installation checks remain outstanding.
On first launch:
- Choose Settings → Workbench command… and select the executable inside the environment created in §1:
venv/bin/bellman-workbenchon macOS/Linux, orvenv\Scripts\bellman-workbench.exeon Windows. Select this file, not the Python executable. - Choose File → Open Project… and select your model folder, for example
applications/cons-port. The folder normally containsdeclaration/; see Model directory layout. - Alternatively, use File → Open File… for a
.blfile or a model recipe,spec.ymlorspec.<name>.yml, which names the files used to assemble a model. Previously opened folders appear under Recent projects.
The application starts the Workbench server for you; no terminal command is needed for later launches. Closing a model window stops its server. The editor and diagrams work as described in §2.
4 Update an installation¶
Close the Workbench's model windows or stop its browser command. In the downloaded bellman folder, run:
Then repeat the two pip install commands in §1 and reopen the Workbench. If Git reports conflicting local edits, keep those edits and resolve them before updating.
An installed desktop application uses updates from the Python environment selected in Settings → Workbench command… when a new model window opens. Changes to the desktop application itself, such as its menus or opening screen, require repeating §3 and replacing the installed application. There is no automatic updater.
5 If something does not open¶
| What happens | What to check |
|---|---|
The desktop application cannot start bellman-workbench |
Select the executable from §3 in Settings → Workbench command…, then open the project again. |
Python reports that bellman is missing |
Install both packages with the command in §1, using the same environment. |
The page says No stage file. |
Open a model folder containing .bl files, such as the supplied example in §2. |
For paper exports and other static diagrams, also install Graphviz, or install Node.js and run npm ci in the repository root. This extra step is not needed for the interactive Workbench graph.