pycsamt.agents.web#
pycsamt.agents.web#
Gradio web interface for the pycsamt agent system.
Launch#
From Python:
from pycsamt.agents.web import launch
launch() # opens http://localhost:7860
From the CLI:
python -m pycsamt.agents web
Tabs#
- Chat (Orchestrator)
Type a free-text request. The
WorkflowOrchestratorAgentclassifies the workflow, builds the chain, and runs it.- Load & QC
Browse to an EDI directory.
MTLoaderAgent+DataQCAgentdisplay the per-station quality table and confidence section figure.- Static Shift
Choose correction method.
StaticShiftAgentshows before/after comparison.- Phase Analysis
PhaseAnalysisAgentruns the full tensor suite and displays figures inline.- Forward Modelling
Enter a layered model (resistivities and thicknesses).
ForwardModelAgentplots the synthetic response.- AI Inversion (1-D)
Choose architecture and epochs.
AIInversionAgenttrains and predicts, displaying the model section.- 2-D AI Inversion
Inv2DAgent(U-Net) inverts the full profile at once, capturing lateral continuity.- Ensemble Inversion
EnsembleAgent— multiple independent models produce mean + σ uncertainty bands with conformal calibration.- Joint Inversion
JointInversionAgent(DRCNN) fuses MT with a secondary modality (TEM, CSAMT, or synthesised low-frequency sub-band).- Model Zoo
ModelZooAgent— list and load pre-trained checkpoints from the earthai-tech model zoo; run zero-shot prediction on any EDI dataset.- Report
Consolidate all results into a downloadable markdown / HTML report.
Requires gradio >= 4.0. Install with:
pip install gradio
Functions