HealthTech · Applied AI

AI session insights for therapists, where no patient data reaches the model provider.

Lumi helps therapists turn session notes into structured insight. The whole platform rests on one rule: personally identifiable information never leaves the perimeter.

What we did

  • AI architecture
  • Privacy engineering
  • Full-stack development
  • Infrastructure as code

Built with

  • Gemini Pro
  • Fine-tuned custom LLM
  • NER + pattern matching
  • Aurora Serverless Postgres
  • Terraform
  • GitHub Actions
Architecture schematic: therapist session notes pass through a PII redaction layer using named-entity recognition and pattern matching, then a context-aware router sends anonymised context either to a fine-tuned custom LLM or to Gemini Pro.

HealthTech · Applied AI

The redaction layer sits in front of every model call.

The useful AI models are somebody else’s. The data is a patient’s. Reconciling those two facts is the entire engineering problem.

0

PII fields reaching a model provider

2

Models behind one router

3

Availability zones

The challenge

Clinical data and third-party models do not mix

  • Trust is the product

    A therapist cannot use a tool that might send a patient’s name or history to an API they do not control.

  • One model is the wrong answer

    Clinical method needs a specialist; open-ended reasoning needs a frontier model. Picking one makes the other worse.

  • Cost scales with every session

    Routing every note to the largest model is the simplest build and the one that cannot be afforded at volume.

Scrub first, then route

Anonymisation happens before anything leaves, and a router decides which model earns the request.

  1. 01Redact before anything leavesSession transcripts pass through a PII layer using named-entity recognition and pattern matching. Only anonymised context goes onward.
  2. 02Route by complexity and costA context-aware router sends the request to a custom LLM fine-tuned on clinical methodology, or to Gemini Pro when the reasoning warrants it.
  3. 03Scale the database down, not just upAurora Serverless Postgres matches compute to demand and drops to minimum capacity off-hours, so an idle clinic is not an expensive one.
  4. 04Ship through TerraformEvery change runs lint, test and container build in GitHub Actions, then applies as one atomic Terraform state update.

Privacy-first, and still fast

The interface was designed to disappear during a session; the architecture was designed so nobody has to take the privacy claim on faith.

Nothing identifiable leaves. The redaction layer sits in front of every model call, not beside it.

Fault tolerant. Compute is distributed across three availability zones.

Minimal by design. A deliberately quiet interface, to reduce what a therapist has to think about mid-session.

Start here

Have a system that needs to hold up?

Tell us what you are trying to put into production. We will tell you what we think it takes.

  • Where your setup breaks, written down
  • What it costs today and what to change first
  • Yours to keep, whether or not we work together

We reply within one working day, with times. Or write to founder@chkmate.net.

No newsletter. One reply, from the people who do the work.

Questions we get

What size of company do you work with?
Mostly small and mid-sized businesses, plus the occasional large institution. The common thread is a system that has to work in production, not a pilot that has to look good in a deck.
Do you only do AI projects?
No. Roughly half the work is ordinary solution architecture: platforms, integrations, video pipelines, cloud migrations. AI is one more thing we architect rather than a separate business.
How does an engagement usually start?
With a call and a look at what you already have. Most projects begin with a short review that produces a written recommendation you can act on with or without us.
Will you work with our existing systems?
Usually, yes. Saudi German Hospital was exactly that: nothing behind the integration layer was replaced. Replacing a working system is the last option, not the first.