PBG Live Sandbox¶
Available since v0.9.3
The PBG Live Sandbox is a self-contained Marimo app that lets you explore and operate every part of the Atlantis compose subsystem live from your browser — no local process-bigraph installation required.
Launch¶
# Install Atlantis (if not already — one-time setup)
git clone https://github.com/vivarium-collective/sms-api.git
cd sms-api
uv sync
# Launch sandbox in app mode (recommended for demos)
uv run atlantis compose sandbox
# Notebook/edit mode — see and modify source cells
uv run atlantis compose sandbox --mode edit
Your browser opens automatically at http://localhost:2718.
All five tabs call the live Atlantis API at https://sms.cam.uchc.edu.
The Five Tabs¶
⚗️ Process Runtime¶
Demonstrates the full stateful instance lifecycle from the Process Runtime endpoints.
Walkthrough (no SBML needed):
Select
MSEComparisonfrom the process dropdownThe config editor pre-fills with the live schema from the API:
{"ignore_nans": false, "columns_of_interest": []}Click Initialize → → API calls
POST /compose/v1/process/MSEComparison/initialize, returns a UUIDLive
inputsandoutputsschemas appear automatically:inputs:
{"results": "numeric_results"}outputs:
{"comparison_result": "map[map[map[float]]]"}
Click End Process → instance released from memory and marked
endedin DB
Button |
REST call |
rest-process equivalent |
|---|---|---|
Initialize → |
|
|
(auto) |
|
|
(auto) |
|
|
End Process |
|
|
🧬 BioModels¶
Full EBI BioModels → SLURM simulation pipeline:
Click Fetch IDs from EBI → retrieves
BIOMD0000000001–005etc.Enter a model ID → Get Metadata → shows SBML files, authors, format
Select a simulator (
copasiortellurium) → Submit Run → SLURMAPI fetches SBML from EBI
Extracts
UniformTimeCoursefrom SED-MLBuilds a process-bigraph document (
CopasiUTCSteporTelluriumUTCStep)Dispatches SLURM job on UCONN CCAM HPC
Returns a simulation ID
See BioModels for the full integration guide.
🦠 v2ecoli¶
Submit a whole-cell E. coli simulation directly from the browser:
Set Duration (seconds of biological time), Seed, Interval
Click Submit v2ecoli → SLURM → calls
POST /compose/v1/curated/ecoli?duration=10&seed=0&interval=1.0Returns a simulation ID — poll with
atlantis compose status <id> --base-url https://sms.cam.uchc.edu
See v2ecoli for full simulation options.
📋 Registry¶
Live table of all 11 link_registry entries with package origin, SBML
requirement, and config field names. This is the ground-truth view of what
allocate_core() discovers on the deployed API pod.
🔷 Types¶
Fetches all 42 bigraph-schema primitive types live from
GET /compose/v1/types — the same types used in all config_schema,
inputs, and outputs definitions across the compose system.
Prerequisites¶
Only the Atlantis CLI is needed. Install from source:
git clone https://github.com/vivarium-collective/sms-api.git
cd sms-api
uv sync
No local process-bigraph, pbsim-common, or v2ecoli installation required. All computation runs on the Atlantis server and UCONN CCAM HPC.