Offline-First Playbooks
Routine health triage, pest scouting, and mobile wallet help resolve in 0 ms with zero cellular data and idempotent SQLite WAL outbox sync.
the zero-bloat multilingual & code-switching runtime for Africa and the global edge — built for 2G clinics, cooperative farms, and field phones.
pip install -e git+https://github.com/codesphere-u/sautimesh.git#egg=sautimesh
$ sautimesh chat --text "Habari daktari, mtoto ana fever kali"
SautiMesh v0.1.0 · offline_rules (0 ms · 0 B · KES 0.0)
Langs: sw + en (CSI: 0.429)
Intent: health_triage / pediatric_fever_triage
Carrier: GSM-7 · 1 segment (108/160 chars)
Reply: "Kwa homa ya mtoto, mpime joto leo,
mpe maji mengi safi, umpeleke kliniki."
Swahili (sw): "Habari daktari, mtoto ana fever kali leo" -> 100% offline pediatric triage (GSM-7, 1 SMS).
Designed around real telecom, energy, and linguistic evidence across rural clinics, farms, and mobile wallets.
Routine health triage, pest scouting, and mobile wallet help resolve in 0 ms with zero cellular data and idempotent SQLite WAL outbox sync.
Tags every mixed-language word across Swahili, Luganda, Yoruba, Hausa, French, Pidgin, Runyankole, and English before reasoning runs.
PINs, OTPs, phone numbers, and national IDs are scrubbed locally, GSM-7/UCS-2 carrier segments are packed automatically, and FX spend caps hold the line.
Pure Python 3.11+ stdlib core with one-command Digital Public Goods transparency export plus pluggable Sunflower v2, Whisper, Piper, and Ollama adapters.
See why an offline-first cascade succeeds where internet-dependent AI wrappers drop calls or stall wallets.
| Field Requirement | Cloud-Only Wrapper | SautiMesh v0.1.0 | Guarantee |
|---|---|---|---|
| Zero Connectivity / 2G | Fails or times out | Local rules resolve immediately | 0 ms · 0 Bytes |
| Mixed Language Speech | Drops rural & tonal terms | Word-level 8-language CSI tagging | 8 Lexicons Live |
| Mobile Money PINs & Phones | Uploads raw transcripts | Redacted in memory prior to routing | Local PII Scrub |
| SMS & USSD Delivery | Truncates multibyte text | Exact 160-char GSM-7 / 70-char UCS-2 packing | 182B USSD Safe |
| Power Dropouts | Lost requests & duplicate sends | Idempotent SQLite WAL store-and-forward | Zero Split-Brain |
Run on low-cost Linux boxes, Raspberry Pi clinics, Android Termux field phones, or wire directly into coding agents via stdio MCP.
Inspect our field research & 7/7 benchmark proof, test utterances in the voice simulator, or inspect all 8 language & safety rules.
Every turn executes offline-first playbooks using SQLite WAL persistence and an idempotent store-and-forward outbox queue, syncing safely without split-brain corruption when cellular service returns.
SautiMesh ships built-in lexicons and code-switch analyzers for Swahili, Luganda, Yoruba, Hausa, French, English, Nigerian Pidgin, and Runyankole, plus adapters for Sunbird Sunflower v2, whisper.cpp, MMS, and Piper ONNX.
Its 3-stage cascade resolves routine turns locally in 0 ms, supports local SLMs via Ollama or llama.cpp, redacts phone numbers and PINs before cloud calls, and enforces daily local-currency spend limits.