PAT is sovereign language infrastructure for African AI. 71 dialects. Profile-aware tokenization. Hard policy gates. Cryptographic receipts on every run — including interactive chat. Executable prior art. No lock-in. No drift. Built for CollectiveOS. No one else ships this stack.
```markdown
P · A · T
Pan-African Language Infrastructure for AI
---
**PAT** is a patent-free, reproducible language infrastructure framework that enables African languages to run natively inside modern AI systems.
It delivers a governed, auditable pipeline for text ingestion, profile-aware tokenization, real-time dialect detection across **71 dialects**, strict policy enforcement, and cryptographic proof generation — every execution sealed with receipts for full traceability.
Released as **executable prior art** inside the CollectiveOS ecosystem (QC → GATA → GATA PRIME). No bypasses. No lock-in. Sovereign by design.
---
## Why This Matters
Language infrastructure — tokenization, normalization, dialect handling, policy gates — is foundational. Whoever controls it controls the stack.
Most African NLP efforts deliver datasets, speech corpora, or fine-tuned models. PAT delivers the hardened plumbing layer: lightweight, installable, auditable, and drift-resistant. It sits upstream of any larger model or agent without introducing control risk or epistemic drift.
With 71 dialects live, interactive chat enabled, and native code-switching detection, PAT moves from seed infrastructure to a living, governed node ready for production use.
PAT is **offline-first and edge-deployable** — zero external dependencies, runs entirely on local hardware via Ollama, and requires no cloud connectivity. This makes it viable across the full spectrum of African infrastructure: from high-bandwidth urban centers to intermittent-connectivity rural deployments.
---
## v1.3 — What Ships Now
- **71 active dialects** covering major African language families with full character preservation, tone/diacritic support, and morphological signals
- **Code-switching detection** — identifies multiple languages mixed in a single text (e.g., isiZulu + English, Wolof + French), reflecting real-world African communication patterns
- **Interactive chat mode** — every message routes th …