How to Serve a Local Lab
biosimulant labs serve opens the bundled local lab UI for a runnable lab source
tree, .bsilab package, or public registry reference.
Install
pip install biosimulantNo UI extra is required. The local web runtime ships with the default package.
Create a starter lab
biosimulant labs init ./serve-check --name "Serve Check" --forceStart the UI
biosimulant labs serve ./serve-checkThe browser opens by default at the root URL, for example
http://127.0.0.1:8765/.
For scripts, servers, and CI runners, suppress browser launch:
biosimulant labs serve ./serve-check --no-open --port 8766What persists
- Model, world, runtime, and wiring edits are saved to
lab.yaml. - Canvas layout is saved to
wiring-layout.json. - Run history is in memory for the active serve process.
/ui and /ui/ redirect to / for compatibility, but new links and scripts
should use the root URL.