Skip to main content

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.7.0) requires caddforge-core>=0.24.0; GUI integrations use caddforge-gui>=0.7.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.7.0 provides the scientific workbench with core 0.24.0 and the compatible plugin versions in bundle 0.25.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.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caddforge-gui 0.7.0
File Size Uploaded Provenance Actions
caddforge_gui-0.7.0.tar.gz 1.9 MB With provenance Details for caddforge_gui-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caddforge-gui 0.7.0
File Interpreter ABI Platform Actions
caddforge_gui-0.7.0-py3-none-any.whl Python 3 none any Details for caddforge_gui-0.7.0-py3-none-any.whl

Total release size: 3.5 MB

Release files / caddforge_gui-0.7.0.tar.gz

Download URL caddforge_gui-0.7.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
5809f8c1fe5fe85ff2d8a169e268a4e9f66744dd7f1aee954f8f68677060fc81
BLAKE2b-256 checksum
How to use checksums
31419c3b6e76b6cdea8057fc3a8cd7f7aefa40c90772452a18fcea44198b09a4
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 9, 2026.

Transparency log

Release files / caddforge_gui-0.7.0-py3-none-any.whl

Download URL caddforge_gui-0.7.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
abe05f534a6b2f21b0ca198513ba586df926e5ba083beb8d2c54ba384d2bc1d3
BLAKE2b-256 checksum
How to use checksums
fa7f39fdf72e6e0f321ee399b5b4daa2b1368f480bbab9b86bb784b0d7116eb0
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 9, 2026.

Transparency log

Security for caddforge-gui 0.7.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.

Select from 2 files

Attestation for caddforge_gui-0.7.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 9, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page