CADDForge GUI
Install this plugin with python -m pip install caddforge-gui. It depends directly
on caddforge-core; Python imports and CLI commands still use caddforge.
This release (0.8.0) requires caddforge-core>=0.25.0; GUI integrations use caddforge-gui>=0.8.0.
For the complete public toolbox, including user-facing extras, install
python -m pip install caddforge. When migrating an existing environment, uninstall
the former caddforge core distribution before installing renamed core and updated plugins.
FastAPI server that hosts the CADDForge GUI and REST/SSE API.
Documentation
- Plugin GUI authoring guide:
docs/plugin-gui-authoring.md
- Shared plugin UI kit module:
src/caddforge_gui/static/assets/plugin_uikit.js
- Shared plugin backend helpers:
src/caddforge_gui/plugin_runtime.py
Development (frontend)
cd caddforge-gui/frontend
npm install
npm run build
This builds static assets into caddforge-gui/src/caddforge_gui/static.
Testing
Test the built wheel in a fresh environment with the dependencies used by release CI:
python -m pip install dist/*.whl pytest packaging httpx
python scripts/run_ci_tests.py
python -m pip check
Host tests use lightweight tool declarations and do not require scientific plugins. Integration tests for actual GaMD and preparation declarations additionally run when MD >=0.15.0 and, for preparation, docking >=0.8.0 are installed. Older or absent plugins produce explicit skips for those integrations; a broken compatible plugin still fails. This keeps GUI publication before the plugins that depend on it.
Run
caddforge gui --host 0.0.0.0 --port 8000
Scientific workbench
GUI 0.8.0 provides the scientific workbench with core 0.25.0 and the compatible
plugin versions in bundle 0.26.0. The approved design lives in design/mockup.
- Overview, searchable/paged Jobs, Tools and Settings use a common light/dark shell.
- Every exposed tool uses Inputs → Method → Compute → Review. Models supply actual defaults and complete configuration schemas. Auxiliary inputs and method fields are progressively disclosed; YAML/JSON import and YAML export use the same config.
- Local/Slurm controls, saved compute profiles, retained uploads, previous-job artifacts, browser drafts, validation and submission are owned by the host.
- Jobs keep Overview, Results, Logs, Configuration and Files together. Declared child tasks have their own paged view and aggregated, reconnecting log tails. Backend reconciliation runs once per server, with bounded work per polling cycle. Job details include Delete job for terminal workflows: keep files by default or explicitly remove owned job directories and completed child records. Active or uncertain execution blocks deletion.
- GNINA, UniDock and iDockYa publish an explicit pose manifest and share one Mol* viewer. Exact SDF record indices and corresponding flexible receptor states are required; ambiguous data is labelled rather than guessed. Original chemistry and coordinates remain intact. Mol* 5.11.0 is bundled locally and needs no CDN. Clicking a ligand shows its surrounding receptor residues. The viewer follows the GUI theme; dark mode is the default unless a light preference is saved.
- OpenBPMD retains its scalar results and analysis plots. RBFE adds the existing scientific network planner/editor as a specialized setup step. Reviewed networks are saved and retained with the job; unsaved changes block submission.
Implementation scope, validation results, remaining browser checks and local startup are recorded in the implementation notes.
New tools should follow the tool authoring contract. Normal tools need metadata and existing artifact ports, with no tool-specific submit form or backend panel. The legacy extension runtime remains available for older third-party extensions.
Frontend development
cd frontend
npm ci
npm test
npm run typecheck
npm run build
Built frontend assets and vendor licences ship in the Python package. Run the GUI
with caddforge gui or caddforge-gui; choose the registry/runs root through the
server's existing configuration or environment variables. The running GUI shares
canonical jobs and results with the CLI. Drafts and compute profiles remain browser
preferences, and an optional API token is stored only for the browser session.
Before merging, exercise a local and a Slurm job, an interrupted submission, log reconnection, two rapidly selected poses, a missing receptor, a reviewed RBFE network, and light/dark/narrow layouts in a real browser. Automated tests cover the core contracts, REST routing/authentication, numeric pagination and shared form rendering.
Third-party notices
The bundled React frontend and Mol* viewer retain their upstream MIT licences. Copyright and full licence text ship in static/THIRD_PARTY_LICENSES in source distributions and wheels. Preserve these files when redistributing the frontend, and review them whenever frontend dependencies change.
Continuous integration and releases
.github/workflows/release.yml builds a wheel and source archive, validates
metadata, and tests the installed wheel on Linux with Python 3.10 and 3.12.
The lightweight test selection is recorded in scripts/ci_tests.json;
external scientific engines are validated separately.
Pushing a matching v* release tag publishes the tested artifacts to PyPI.
Branch pushes, pull requests and manual runs never publish. Configure a
PyPI Trusted Publisher for the idorsia repository, release.yml workflow
and pypi environment before pushing release tags. Runtime CADDForge
dependencies must already be available publicly; publish core first,
and publish docking/descriptors before MD.
Standard worker reporting
Workbench tools use common worker activity and canonical stage snapshots, including PheSA, docking, OpenFE, plain MD, GaMD, structure preparation and trajectory analysis. Measured work gets a current-stage percentage and ETA; opaque engine work shows its stage, live output, heartbeat and an explicit unavailable ETA. Replica/edge/job counts remain separate from scientific stage percentages. Heartbeats do not claim advancement.
Use the same registry as the GUI when inspecting work from the CLI:
caddforge logs JOB_ID
caddforge logs JOB_ID --follow
caddforge logs JOB_ID --registry-path /path/to/job_registry.sqlite --follow
The common source list includes worker.log, stdout/stderr, declared engine logs and
child jobs. Following a submitted campaign continues while children run and does not
execute scientific aggregation. Progress refresh is independent of backend status
changes. Stale snapshots lose their ETA, and cancellation does not leave replica/edge
units presented as live workers.
Runtime settings are progress_update_interval_seconds: 5,
heartbeat_interval_seconds: 30 and log_sync_interval_seconds: 30; explicit existing
tool settings remain effective. Scratch data is synchronized resiliently and old
progress/activity/declared engine logs are retained with execution attempts. OpenFE
edges use the ordinary callable worker lifecycle and live log copy-back. Detailed
OpenFE iteration estimates are intentionally unavailable without validated counters.
Metadata
Release files for caddforge-gui 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| caddforge_gui-0.8.0.tar.gz | 1.9 MB | With provenance | Details for caddforge_gui-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| caddforge_gui-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for caddforge_gui-0.8.0-py3-none-any.whl |
Total release size: 3.5 MB
Release files / caddforge_gui-0.8.0.tar.gz
| Download URL | caddforge_gui-0.8.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae024ebbdc27703c5f570fe9ae044b5a566b6f255f9cfa8470e964555478fd5a
|
|
BLAKE2b-256 checksum How to use checksums |
8dcfe1cbd29c56045d928f74e14f18e06158ac1b773bad4d69fb454ab0c41212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / caddforge_gui-0.8.0-py3-none-any.whl
| Download URL | caddforge_gui-0.8.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d92e76da483860231a6d8f7febe9cdd660593c2525b25dc3ff4af6a9801eda2
|
|
BLAKE2b-256 checksum How to use checksums |
fafd02d2dae07928529a91a71bbeb3fd8d0bcd3896e589f4044fbeb9f963b309
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for caddforge-gui 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for caddforge_gui-0.8.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.