Correct diagnoses are stored locally and retrieved as few-shot context for the doctor agent when a similar case arrives — the "self-evolving" loop in the MedAgentSim paper. Memory lives in your browser; nothing leaves this page.
Pick which LLM runs the doctor, patient and measurement agents. Keys are stored in your browser only, never sent anywhere except directly to the API you chose.
llama-3.3-70b-versatile (default) or qwen/qwen3-32b.deepseek-chat for speed or deepseek-reasoner for slower, more careful diagnoses.OLLAMA_ORIGINS='*' ollama serve (in a separate terminal) so the page can reach it from the browser.A one-page reproduction of MedAgentSim (Almansoori & Kumar, MICCAI 2025) — a multi-agent doctor / patient / measurement simulation for evaluating clinical diagnostic reasoning. The original ships a Django + Phaser hospital-game frontend backed by 70B open-source LLMs served over vLLM. This artifact keeps the essential loop and pixel-hospital feel, and swaps the LLM backend for the viewer's own Claude via window.claude.use("sample").