{"id":23215418,"url":"https://github.com/bloodworks-io/phlox","last_synced_at":"2026-05-31T13:00:33.340Z","repository":{"id":264781033,"uuid":"856920259","full_name":"bloodworks-io/phlox","owner":"bloodworks-io","description":"Open source, local first AI medical scribe for desktop and web.","archived":false,"fork":false,"pushed_at":"2026-05-30T13:06:31.000Z","size":9162,"stargazers_count":82,"open_issues_count":16,"forks_count":17,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-30T15:06:04.026Z","etag":null,"topics":["llamacpp","macos","medical","ollama","rag","scribe","whisper"],"latest_commit_sha":null,"homepage":"https://phlox.bloodworks.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bloodworks-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-13T13:10:16.000Z","updated_at":"2026-05-29T08:23:13.000Z","dependencies_parsed_at":"2024-11-26T09:41:37.190Z","dependency_job_id":"5552365a-aea0-42bf-b71f-5d228d284d24","html_url":"https://github.com/bloodworks-io/phlox","commit_stats":null,"previous_names":["jfgonsalves/scribe","bloodworks-io/phlox"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/bloodworks-io/phlox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloodworks-io%2Fphlox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloodworks-io%2Fphlox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloodworks-io%2Fphlox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloodworks-io%2Fphlox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloodworks-io","download_url":"https://codeload.github.com/bloodworks-io/phlox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloodworks-io%2Fphlox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33731998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llamacpp","macos","medical","ollama","rag","scribe","whisper"],"created_at":"2024-12-18T20:16:24.273Z","updated_at":"2026-05-31T13:00:33.323Z","avatar_url":"https://github.com/bloodworks-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e Phlox is an experimental project. For full details on limitations and risks, please read the **[Usage Warning](#usage-warning-️)** section carefully before proceeding.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/docs/images/readme_logo.png\" width=\"300\" alt=\"Phlox Logo\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Tests](https://github.com/bloodworks-io/phlox/actions/workflows/coverage.yml/badge.svg)](https://github.com/bloodworks-io/phlox/actions/workflows/coverage.yml)\n[![Known Vulnerabilities](https://snyk.io/test/github/bloodworks-io/phlox/badge.svg)](https://snyk.io/test/github/bloodworks-io/phlox/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/bloodworks-io/phlox/badge.svg?branch=main)](https://coveralls.io/github/bloodworks-io/phlox?branch=main)\n[![CodeQL](https://github.com/bloodworks-io/phlox/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/bloodworks-io/phlox/actions/workflows/github-code-scanning/codeql)\n[![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/bloodworks-io/phlox/issues)\n\n\u003c/div\u003e\n\nPhlox is an open-source patient management system integrating AI-powered medical transcription, clinical note generation, an AI chatbot interface, and agentic tool-calling capabilities. It's designed to run locally, utilizing local models for inference and transcription.\n\n## Key Features ✨\n\n- **🔒 100% Local \u0026 Private:** Runs entirely on your machine with no third-party services - all data stays local. Free and open source forever; the security of your data is in your hands.\n- **🖥️ Desktop App:** Native Apple Silicon application with bundled LLM and transcription servers - no external dependencies required.\n- **🎤 AI Medical Transcription \u0026 Summarization:** Convert patient encounters to structured clinical notes using customizable templates.\n- **📝 Flexible Template System:**  Structure clinical notes to your preferences, with versioning and automated template generation from example notes.\n- **✅ Task Manager:**  Parse clinical plans into actionable task lists with AI-generated summaries.\n- **✉️  Correspondence Generation:**  One-click generation of patient letters based on clinical notes, with support for both ambient listening and dictate mode.\n- **🤖 AI-chat/RAG:** Reference tool to query medical guidelines, literature, and documentation backed by a local knowledge base (ChromaDB).\n- **💡 Adaptive Refinement:** Outputs improve the more you use it; Phlox learns from your previous notes.\n- **🛠️ Agentic Tool-Calling System:** Built-in tools including PubMed search, Wikipedia lookup, patient note search, transcript search, outstanding job management, and note creation — with interleaved thinking for complex multi-step queries.\n- **🔌 MCP Server Support:** Connect external tool servers via the Model Context Protocol (SSE transport). Tools are dynamically loaded and can be toggled per-server, with optional sensitive data filtering to prevent PHI from being sent to external servers.\n- **📄 Vision-Enhanced Document Processing:** Hybrid PDF processing — uses vision models directly when available, falling back to OCR. Supports image uploads for clinical document analysis.\n- **📋 Agent Dashboard:** Central hub with chat-driven clinic management, built-in todo panel, outstanding jobs view, and clinic summary by date.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/docs/images/readme_screenshot.png\" width=\"500\" alt=\"Phlox Screenshot\"\u003e\n\u003c/p\u003e\n\n## Stack 🛠️\n\n- **Frontend:** Chakra UI (React/[Vite](https://github.com/vitejs/vite))\n- **Backend:** FastAPI (Python/[uv](https://github.com/astral-sh/uv))\n- **Database:** [SQLCipher](https://github.com/sqlcipher/sqlcipher)\n- **Desktop Wrapper:** [Tauri](https://github.com/tauri-apps/tauri) (Rust)\n- **LLM Backend:** Ollama, OpenAI-compatible endpoints, or bundled [llama.cpp ](https://github.com/ggml-org/llama.cpp) server\n- **Transcription:** Whisper-compatible endpoints or bundled [whisper.cpp](https://github.com/ggml-org/whisper.cpp) server\n- **RAG:** [ChromaDB](https://github.com/chroma-core/chroma)\n\n## Quick Start 🚀\n\n### Desktop App (Apple Silicon)\n\nPre-built Apple Silicon binaries are available from [GitHub Releases](https://github.com/bloodworks-io/phlox/releases).\n\n**Note:** The desktop app provides transcription and correspondence features only. For extended reference tools (Chat, RAG, PDF Upload), use the Docker/Podman deployment below.\n\n### Docker/Podman (Extended Reference Tools)\n\nPre-built images are available from [GitHub Container Registry](https://github.com/bloodworks-io/phlox/pkgs/container/phlox):\n\n```bash\ndocker pull ghcr.io/bloodworks-io/phlox:latest\n```\n\nOr build from source:\n\n1. **Prerequisites:** Podman/Docker, Ollama/OpenAI-compatible endpoint, Whisper endpoint.\n2. **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.\n3. **Clone:** `git clone https://github.com/bloodworks-io/phlox.git \u0026\u0026 cd phlox`\n4. **Build:** `docker build -t phlox:latest .`\n5. **Environment:** Create `.env` in `phlox/` (see example in documentation).\n6. **Run:** `docker-compose up` (Production) or `docker-compose -f docker-compose.dev.yml up` (Development).\n7. **Access:** http://localhost:5000\n\n**For detailed setup, feature explanations, and important warnings, please see the [Documentation](./docs/README.md).**\n\n## Deployment Options\n\n### Docker/Podman (Extended Reference Tools)\nThe complete Phlox experience with all features:\n- Medical transcription and clinical notes\n- Correspondence generation\n- AI Chat interface\n- RAG/document knowledge base\n- Agent Dashboard with agentic tool-calling and MCP server support\n\n### Desktop App (Streamlined)\nNative desktop application for Apple Silicon:\n- Medical transcription and clinical notes\n- Correspondence generation\n- Bundled llama.cpp and whisper servers - no external dependencies\n- All data stored locally. Nothing leaves your machine.\n\n*Additional platforms and full feature parity coming in future releases.*\n\n## Roadmap 🗺️\n\nHere's what's coming next for Phlox:\n\n- [x] Use structured JSON outputs for managing LLM responses\n- [x] Add support for OpenAI-compatible endpoints\n- [x] Tauri desktop app with local inference (llama.cpp + whisper bundled)\n- [x] MCP server support for custom tools and agentic workflows\n- [ ] Advanced template version control\n- [ ] Meeting and multi-disciplinary meeting scribing\n\n## Usage Warning ⚠️\n\nPhlox 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.**\n\nPhlox is **not** suitable for production deployment in the form provided in this repo. If you intend to use it in a clinical setting, you are responsible for ensuring compliance with local applicable regulations (HIPAA, GDPR, TGA, etc.)\n\nAI outputs can be unreliable. Always verify AI-generated content and use professional clinical judgment. The application displays a disclaimer on startup with full details.\n\n**Security note:** The Docker deployment binds to `0.0.0.0` by default and has no authentication by default. You MUST place it behind a reverse proxy with an authentication layer like [Authelia](https://github.com/authelia/authelia). Proxy authentication (Traefik, Caddy, Nginx) and rate limiting are supported via environment variables. The desktop app requires a passphrase to unlock the encrypted database.\n\n## License 📄\n\n[MIT License](LICENSE)\n\n## Contributing 🤝\n\n[Contributing Guidelines](.github/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloodworks-io%2Fphlox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloodworks-io%2Fphlox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloodworks-io%2Fphlox/lists"}