https://github.com/bloodworks-io/phlox
Self-hosted Ollama + Whisper powered AI medical scribe.
https://github.com/bloodworks-io/phlox
medical ollama rag scribe whisper
Last synced: about 2 months ago
JSON representation
Self-hosted Ollama + Whisper powered AI medical scribe.
- Host: GitHub
- URL: https://github.com/bloodworks-io/phlox
- Owner: bloodworks-io
- License: mit
- Created: 2024-09-13T13:10:16.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T23:39:11.000Z (2 months ago)
- Last Synced: 2025-04-05T02:44:50.664Z (about 2 months ago)
- Topics: medical, ollama, rag, scribe, whisper
- Language: JavaScript
- Homepage:
- Size: 4.12 MB
- Stars: 21
- Watchers: 2
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
[](https://github.com/bloodworks-io/phlox/actions/workflows/coverage.yml)
[](https://snyk.io/test/github/bloodworks-io/phlox/badge.svg)
[](https://coveralls.io/github/bloodworks-io/phlox?branch=main)
[](https://github.com/bloodworks-io/phlox/actions/workflows/github-code-scanning/codeql)
[](https://github.com/psf/black)
[](https://opensource.org/licenses/MIT)
[](https://github.com/bloodworks-io/phlox/issues)Phlox is an open-source patient management system integrating AI-powered medical transcription, clinical note generation, and an AI chatbot interface. It's designed to run locally, utilizing Ollama and Whisper for inference and transcription.
## Key Features β¨
- **π 100% Local & Private:** Runs entirely on your machine with no third-party services - all data stays local, using only free, open-source tools.
- **π€ AI Medical Transcription & Summarization:** Convert audio to structured clinical notes using customizable templates.
- **π Flexible Template System:** Structure clinical notes to your preferences, with versioning and automated template generation from example notes.
- **β Task Manager:** Parse clinical plans into actionable task lists with AI-generated summaries.
- **βοΈ Correspondence Generation:** One-click generation of patient letters based on clinical notes.
- **π€ AI-chat/RAG:** Chat with an LLM about cases, backed by a local document knowledge base (ChromaDB).
- **π§ Clinical Reasoning:** AI-assisted differential diagnosis and investigation planning
- **π° Dashboard with RSS Reader:** Stay updated with LLM-summarized articles from medical RSS feeds.
- **π Free & Libre Software:** Completely free (as in freedom) - study, modify, and share as you wish.
![]()
## Stack π οΈ
- **Frontend:** React/Chakra UI
- **Backend:** FastAPI
- **Database:** SQLite
- **LLM Backend:** Ollama
- **Transcription:** Whisper
- **RAG:** ChromaDB## Quick Start π
1. **Prerequisites:** Podman/Docker, Ollama, Whisper endpoint.
2. **Hardware Requirements:** For reasonable performance, a GPU (CUDA, ROCm) or Apple M-Series chip is strongly recommended. Without these, especially with larger models, the system will run extremely slowly.
3. **Clone:** `git clone https://github.com/bloodworks-io/phlox.git && cd phlox`
4. **Build:** `docker build -t phlox:latest .`
5. **Environment:** Create `.env` in `phlox/` (see example in documentation).
6. **Run:** `docker-compose up` (Production) or `docker-compose -f docker-compose.dev.yml up` (Development).
7. **Access:** http://localhost:5000**For detailed setup, feature explanations, and important warnings, please see the [Documentation](./docs/README.md).**
## Roadmap πΊοΈ
Here's what's coming next for Phlox:
- [x] Use structured JSON outputs for managing LLM responses
- [ ] Add support for OpenAI-compatible endpoints
- [ ] Create Electron app packaging for desktop use
- [ ] Develop Progressive Web App (PWA) version
- [ ] Introduce advanced template version control
- [ ] Meeting and multi-disciplinary meeting scribing## Usage Warning β οΈ
Phlox is an experimental project intended for educational and personal use. **It is not a certified medical device and should NOT be used for clinical decision-making without thorough validation, regulatory approvals, and under the direct supervision of qualified medical professionals.**
**Key limitations:**
* **Experimental Code:** The codebase is a work in progress and may contain bugs and inconsistencies.
* **AI Hallucinations:** LLM outputs, especially from smaller models, can be unreliable, inaccurate, and may present plausible but incorrect information. **Always verify AI-generated content against trusted sources and use your professional clinical judgment.**
* **No User Authentication:** Naively exposing this application to the open internet is highly discouraged. Phlox has no user access controls and, for now, next to no input sanitisation.
* **Not HIPAA/GDPR Compliant:** Phlox, in the form provided in this repo, lacks the necessary security and compliance measures for handling protected health information in regulated environments.**Use at your own risk and only for non-clinical, educational purposes unless you have implemented robust security measures and undertaken thorough validation.**
## License π
[MIT License](LICENSE)
## Contributing π€
[Contributing Guidelines](.github/CONTRIBUTING.md)