Parse lab reports.
Track biomarkers.
All on your phone.
Koshika is an open-source Flutter app that extracts biomarker data from PDF lab reports, tracks health trends, and runs on-device AI — without any data leaving your device.
Three steps. Zero internet.
From a PDF on your phone to AI-powered health insights — everything runs locally. No cloud. No accounts.
Import a PDF
Pick any pathology report from your phone — Thyrocare, SRL, Dr. Lal PathLabs, or others. Scanned pages work too.
Auto-extract biomarkers
Multi-pattern regex + fuzzy matching extracts values, units, and reference ranges. 63 biomarkers across 10 categories.
Track and ask AI
View trends. Ask any Hugging Face LLM about your results — on-device, with citation-backed answers from your actual lab data.
What's under the hood
Every feature runs on your device. No API keys. No cloud bills. No privacy trade-offs.
PDF Lab Report Parsing
Multi-pattern regex handles Thyrocare, SRL, Dr. Lal PathLabs. OCR fallback for scanned pages.
63 Biomarkers · 10 Categories
Normalized dictionary with fuzzy matching. CBC, Thyroid, Lipid, Liver, Kidney, Vitamins, Iron, Electrolytes, Diabetes, Inflammation.
Plug-and-Play LLM
Run any .gguf model from Hugging Face natively on your phone via LlamaDart. Streaming response. Zero API calls.
RAG with Citations
Builds on-device embeddings locally. An HNSW search surfaces relevant health context with precise [1][2] citations.
Trend Visualization
Interactive charts, reference range gauges, borderline detection within 10% of boundaries.
FHIR R4 Export
Standards-compliant bundles to share with healthcare providers via native share sheet.
Fully on-device.
No backend.
Every layer from PDF ingestion to AI inference runs on the user's phone. One Flutter codebase → Android and iOS.
Single codebase targeting Android and iOS. Same performance, same features, fewer bugs. Fork it and build for your platform.
Your data never leaves this device.
Koshika isn't "privacy-friendly." It's structurally incapable of leaking your data. There is no server.
Fork it. Extend it. Ship it.
Koshika is MPL-licensed. Add lab formats, extend biomarkers, improve the AI, or ship the iOS build. Every part is modifiable.
Add a lab format
Parser fails on your lab's PDF? Open an issue with a redacted sample or contribute a regex pattern.
Extend biomarkers
63 biomarkers is a start. Add definitions toassets/data/ — instantly recognized.
Ship iOS support
Flutter compiles to iOS. The codebase is ready — help test and polish the iOS build.
Improve the AI
Fine-tune prompts, add health context, improve citation accuracy. The RAG pipeline is modular.
Roadmap
What's shipped and what's next.