How pradhansmriti/mol_vis_sim works
Molvis is a local protein-simulation workspace for preparing or uploading structures, reviewing a workflow, and running bounded readiness checks—not production dynamics. The main user path is structure input → preparation/pair validation → planning → optional solvent/parameter compatibility and readiness run → saved artifacts and live measurements. A separate experimental assistant can inspect structures and propose plans. The graph includes documented capabilities whose implementation details were not fully sampled; uncertain internal wiring is omitted.
Main entry points: __main__.py Local HTTP workspace · compatibility.py Solvent compatibility · chat.py Assistant sessions · live_runs.py Live runs
Components 20
Workspace interface
- Local HTTP workspace
molvis/__main__.py - Workspace UI
web/app.js
Structure preparation
- Structure preparation
molvis/preparation.py - Standalone psfgen adapter
molvis/standalone_psfgen.py - Pair and structure checks
molvis/validation.py - Workflow planning
molvis/planning.py
Readiness checks
- Solvent compatibility
molvis/compatibility.py - Water-box preparation
molvis/waterbox.py - OpenMM readiness
molvis/openmm_validation.py - Compatibility worker
molvis/compatibility_worker.py - Live runs
molvis/live_runs.py - Measurements and preview
molvis/telemetry.py
Planning assistant
- Assistant sessions
simulation_agent/chat.py - Tool-loop orchestrator
simulation_agent/orchestrator.py - Model providers
simulation_agent/providers.py - Planning tools
simulation_agent/tools.py
Runtime support
- Environment artifacts
molvis/environment_storage.py - Setup diagnostics
molvis/setup_check.py
Other components
- Workspace user
- Model provider service
Connections 24
- Workspace user → Workspace UI: uses
README.md - Workspace UI → Local HTTP workspace: requests workspace
- Local HTTP workspace → Structure preparation: routes preparation
molvis/__main__.py - Structure preparation → Standalone psfgen adapter: delegates generation
molvis/preparation.py - Local HTTP workspace → Workflow planning: routes planning
molvis/__main__.py - Workflow planning → Pair and structure checks: checks supplied pair
molvis/planning.py - Local HTTP workspace → Solvent compatibility: routes compatibility
molvis/__main__.py - Solvent compatibility → Compatibility worker: starts worker
- Local HTTP workspace → Live runs: routes runs
molvis/__main__.py - Live runs → Solvent compatibility: uses compatibility
molvis/live_runs.py - Solvent compatibility → OpenMM readiness: checks readiness
molvis/compatibility.py - OpenMM readiness → Measurements and preview: emits measurements
molvis/openmm_validation.py - Live runs → Measurements and preview: publishes updates
- Local HTTP workspace → Environment artifacts: saves artifacts
molvis/__main__.py - Local HTTP workspace → Setup diagnostics: checks setup
molvis/__main__.py - Workspace user → Assistant sessions: starts assistant
README.md - Local HTTP workspace → Assistant sessions: handles agent routes
molvis/__main__.py - Assistant sessions → Model providers: probes provider
simulation_agent/chat.py - Model providers → Model provider service: sends requests
simulation_agent/providers.py - Assistant sessions → Tool-loop orchestrator: runs turns
simulation_agent/chat.py - Tool-loop orchestrator → Model providers: requests responses
simulation_agent/orchestrator.py - Tool-loop orchestrator → Planning tools: dispatches tools
simulation_agent/orchestrator.py - Planning tools → Workflow planning: requests plans
simulation_agent/tools.py - Solvent compatibility → Water-box preparation: prepares solvent