WritingWhite paper
Sovereign by necessity
A white paper on KhaM-Med and the case for a clinical model that runs on Bangladeshi terms: its languages, its law, its soil. Why the intelligence behind a country's health system cannot stay on loan, and the staged, honest path off it.
June 2026 · 10 min read
01
Where the intelligence lives today
Every intelligent moment in the Glyph network runs today on a foreign frontier model. The briefing card the doctor reads before the patient walks in. The plain-Bangla triage that tells a shopkeeper whether his chest pain is a pharmacy problem or an emergency. The draft read of a chest film at a district diagnostic center. All of it, today, is a call to a model trained and hosted in another country.
That is the correct way to start. Building a national clinical model before you know which tasks matter, on which inputs, at what accuracy, is how you spend three years training the wrong thing. The frontier models are good, they are available now, and they let the network learn what it actually needs before it commits to building its own.
It is also an impossible way to finish. National health infrastructure whose intelligence lives behind another company's terms of service is infrastructure on loan. The terms can change. The price can change. The access can be revoked over a policy dispute the country was never party to. The 4am triage answer for a mother in Mymensingh should not depend on a billing argument in San Francisco.
The 4am triage answer for a mother in Mymensingh should not depend on a billing argument in San Francisco.
02
Four reasons it cannot stay there
Four reasons compound, and each on its own would be enough.
Cost. Frontier inference on every consultation cannot support free care for patients at national scale. The mission depends on routine traffic costing almost nothing to serve, and a per-call fee to a foreign provider, however small, stops being almost nothing once it is multiplied by a country.
Law. The Personal Data Protection Ordinance of 2025 treats health data as a specially protected category and points toward keeping it in the country. The honest fix for sensitive voice data, a patient describing her symptoms in her own words, is not better redaction before it is shipped abroad. It is not shipping it abroad.
Language. Frontier models are competent in standard written Bangla and effectively unusable in the speech that matters: Sylheti, Chittagonian, Noakhali, the dialects in which Glyph's actual patients describe their actual symptoms. A model built for an English-speaking clinician in a Western clinic does not become a model for a sixty-eight-year-old in Mymensingh, and no amount of prompting closes that gap.
Dependency. The first three are practical. The last is structural. A health system is not a thing a country should rent, and the intelligence inside it is the part most worth owning, because it is the part that decides what the system can do and who it can do it for.
03
What KhaM-Med is
KhaM-Med is the clinical model the network is building so the intelligence can come home. It builds on open-weights clinical models, the MedGemma family, that can legally run on servers in Dhaka, with published performance among the best open medical models at a fraction of frontier cost.
The base already knows board-exam medicine in English. The work is the distance from there to the floor Glyph actually stands on: Bangla and its dialects, the local prescription culture and its 1+0+1 dosing, the brand-to-generic mapping a Bangladeshi doctor carries in his head, the attendant-mediated encounter where a son answers for his mother, the local disease patterns, the report formats of the local diagnostic chains.
It learns this from consented, de-identified encounters and from licensed and open medical literature, and everything it learns stays in the country. The record belongs to the patient, and what a patient's care teaches the model belongs, in the end, to the people whose care it was. A model trained on the medicine of twenty crore people should serve those people first, and stay theirs.
04
Safety gates the handover
Nothing moves to KhaM-Med because it is cheaper, or because it is ours. A task moves only once it has been shown to match the frontier baseline on evaluation sets built from the real thing: real Bangladeshi films from real machines, real dialect transcripts, real chamber notes. The model earns each task. It is not handed them.
And the clinical safety rules do not change with the model underneath. KhaM-Med drafts; it does not decide. It produces a briefing for a doctor to read, a triage routing for a patient to act on, a draft read for a radiologist to confirm. The licensed human signs. Escalation stays conservative, because the cost of a missed red flag is not symmetric with the cost of one extra referral. The model that runs in Dhaka is held to exactly the standard the foreign model was, and crosses over only when it meets it.
The model earns each task. It is not handed them.
05
The staged path, said plainly
The path is staged, and the staging is honest, the same way the identity layer builds trust in declared phases rather than claiming it all at once.
Today, frontier models carry the complex reasoning while every consented encounter builds toward the model that will one day carry it. Next, fine-tuned models take the structured, high-volume tasks, and the sensitive flows move to in-country processing, which is the milestone the privacy constraints have been waiting on. In the target state, the large majority of routine inference runs through KhaM-Med on Bangladeshi infrastructure, with frontier models retained for the genuinely rare and the genuinely hard.
No stage pretends to be a later one. While a task is still served by a foreign model, the network says so. When it crosses to KhaM-Med, it crosses because it earned it. The country is told the truth about where its intelligence lives at every step, because a system that lies about that has already given away the thing sovereignty was supposed to protect.
06
Sovereign, by necessity
Sovereignty here is not a slogan and not nationalism. It is a list of practical things that all happen to point the same direction. The answer that arrives at 4am should not be revocable by a foreign vendor. The voice of a woman describing her symptoms should not have to leave the country to be understood. The dialect she speaks should be one the model was built to hear. The cost of serving her should be low enough that her care can be free. And the medicine of a people should belong to those people.
KhaM is the initials of Khayer and Mamataj. The model carries the name on purpose. It exists so that what twenty crore people teach it stays theirs, in their language, under their law, on their soil. That is not an ideological position. For a national health system, it is the only durable one. Sovereign, by necessity.