--- title: drAIML emoji: ⚕️ colorFrom: green colorTo: blue sdk: static app_file: index.html pinned: true license: mit short_description: Open healthcare consultation with open medical AI custom_headers: cross-origin-embedder-policy: credentialless cross-origin-opener-policy: same-origin cross-origin-resource-policy: cross-origin hf_oauth: true hf_oauth_scopes: - inference-api tags: - medical - healthcare - streamlit - stlite - rag - browseml - webassembly datasets: - PYTHAI/drAIML-evidence - qiaojin/PubMedQA - openlifescienceai/medmcqa - GBaker/MedQA-USMLE-4-options - FreedomIntelligence/medical-o1-reasoning-SFT - UCSC-VLAA/MedReason - BI55/MedText - serhanayberkkilic/physiotherapy-evidence-qa models: - prism-ml/Bonsai-1.7B-gguf - openai/gpt-oss-120b - Qwen/Qwen3-235B-A22B-Instruct-2507 - deepseek-ai/DeepSeek-V3.1 - Intelligent-Internet/II-Medical-8B - FreedomIntelligence/HuatuoGPT-o1-7B - baichuan-inc/Baichuan-M2-32B - BioMistral/BioMistral-7B - microsoft/MediPhi-Instruct - NeuML/pubmedbert-base-embeddings --- # drAIML 2.0.0 — open healthcare consultation drAIML is an open-source medical consultation assistant. Version 2.0 is a Streamlit app that runs **entirely in your browser** ([stlite](https://github.com/whitphx/stlite)). There is no drAIML server, and nothing about your consultation is stored. - **Triage first.** Emergency red flags are checked before any model runs. - **Bonsai in your browser.** Accept the drAIML agreement once and prism-ml's Bonsai-1.7B (1-bit, Apache-2.0) is downloaded (248 MB, sha256-pinned) and run by the [browseML](https://github.com/browseML/browseML) WebAssembly engine on your own computer: free, private, no account, no key. Every answer carries a bankML receipt. - **Help save lives.** The ❤️ Donate panel lets you sign in with login333 · drAIML (one signed message, no gas), choose and confirm your CPU, RAM and GPU shares, and watch live measurements, earnings and payout requests. It lends a share of your computer (10% by default) to drAIML.dmind, the distributed mind, through the same in-browser engine. Rewards: SHAMBA LUV, 1 LUV per generated token, measured to 18 decimals (SCIEN·TIFIC), paid in LUV only. It waits while you ask, in a hidden tab and on battery. - **WebGPU helper.** For a browser that has WebGPU switched off or finds no card ([webgpu/](webgpu/README.md), live at `/webgpu/index.html`). It offers three things: - a check that runs in any browser; - a browser extension (Chrome, Brave, Edge, Vivaldi, Opera, Firefox) that shows the verdict as a badge and opens the right flag pages; - installers (`webgpu-enable.sh`, `webgpu-enable.ps1`) that switch WebGPU on as chrome://flags or about:config would, with `--undo`. - **drAIML.dmind.** A host/router for inference delegation and maintenance ([router/](router/README.md)): it runs no inference itself, it queues questions, hands them to donors and checks every receipt. Choose "drAIML.dmind · donated compute" as the source to be answered by donors, free and with no key. - **Open evidence.** 43k passages from openly licensed health datasets ([PYTHAI/drAIML-evidence](https://huggingface.co/datasets/PYTHAI/drAIML-evidence)), cited inline. - **Many models.** Every open chat model live on HF Inference Providers (sign in with Hugging Face; your own account is billed), Groq or Together with your key, or medical specialists (II-Medical, HuatuoGPT-o1, Baichuan-M2, BioMistral, MediPhi, Meditron-FO…) on your own machine via Ollama. - **Hippocratic review.** v1's principle checks score every answer. - **Open source or go away.** Only OSI-licensed models (including their base models) and OSI/CC-BY/CC0 datasets. Guide with screenshots: [docs/USAGE.md](docs/USAGE.md) Local specialists: `OLLAMA_ORIGINS=https://pythai-draiml.static.hf.space ollama serve`, then pick "Your endpoint" in the sidebar. v1 (the original Streamlit app): [github.com/AIMLdr/drAIML](https://github.com/AIMLdr/drAIML) · [aimldr.streamlit.app](https://aimldr.streamlit.app) *Information only — not a diagnosis, not a substitute for a clinician. In an emergency call your local emergency number.*