Insurance
A local-first AI platform for insurance: policy questions and claims triage over hybrid retrieval with a business-rules layer, and personal data redacted before any cloud model.

Purpose
Show how an insurer can use language models on its own documents without sending customer data out and without letting a model decide what the rules decide.
The problem
Insurance answers depend on policy text and on rules. A model that only predicts text invents clauses, and a cloud model must never see a customer’s personal data.
What I built
- Policy question answering and claims triage over hybrid retrieval (dense and sparse vectors in Qdrant, a multilingual embedding model) with answers that cite their sources.
- A business-rules layer: eligibility and thresholds are versioned rule files with their own evaluator, so a model never decides them.
- Personal-data redaction before any cloud model is called; local models (Ollama) are the default and a cloud model is an opt-in switch.
- Evaluation pipelines for accuracy, hallucination, latency and cost, run with a local judge model.
- One FastAPI service as the gateway to every model, with tracing and monitoring.
- AI-assisted engineering tools: code review and test generation where a generated test counts only if it adds coverage and catches a mutant.
Features
- Python 3.12 managed with uv; SQLite now, PostgreSQL-ready.
- Synthetic data only in the repository.
Stack
- Python
- FastAPI
- Ollama
- Qdrant
- SQLite
- GitHub Actions
AI in this project
In the product
- Hybrid retrieval with citations; a local model answers and a rules layer decides eligibility.
- Personal-data redaction in front of any cloud model.
In how it was built
Generated tests are accepted only when they raise coverage and kill mutants.
The demo is currently unavailable
It is being reset or updated. The rest of this page is complete.
Limitations
It runs on synthetic data and local models, and the public address is not hosted yet.
Want something like this?
Tell me about your project — I reply within two working days.
Start a project