Browser GUI#
pip install -e ".[gui]"
mtf-gui
Opens http://localhost:8501.
Workflow#
Enter your phenomenon description in the text area.
Optionally upload images (PNG, JPG, GIF, WebP) or data files.
Click Run Analysis.
Each phase (image digest → literature → fitting → review (+ parallel measurement proposals)) appears as an expanding panel as it completes.
When MTF needs your approval or feedback it pauses and shows inline Approve / Reject / Feedback buttons — no terminal required.
The final report appears at the bottom and can be downloaded.

Architecture note#
The GUI runs the async orchestrator in a daemon thread with its own event loop. Two queue.Queue objects bridge the orchestrator thread to Streamlit’s reactive rerun model: the orchestrator posts ("show"|"ask"|"confirm", payload, reply_q) messages; Streamlit polls the queue on each rerun and posts answers back through reply_q. This means the GUI is fully reactive without any polling sleeps.