--- 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 drAIML's 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.** A toggle 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 wei per generated token, measured to 18 decimals (SCIEN·TIFIC) and valued in BANKON PAI (1 PAI = 1 USDC), SATPAY, BTC and GLDB. It waits while you ask, in a hidden tab and on battery. - **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.*