PH Public-Service Replay Pack
Run all 26 cases in order, including the 18 government golden queries. Check answers, routes and exact source hashes. Prompts are maintainer-written tests, not citizen reports.
Watch replay GIF · Replay MP4React Native starter kit
Airgap combines local knowledge retrieval, visible answer sources, on-device generation, and a durable action outbox. Start in demo mode with no model download or network request.
Build a telco support app from the checked source package
npx create-airgap-bot support-app --template telco
Philippine public-service tools
Try eight dated public-service records and 26 maintainer-written test cases in the Evidence Lab. Live questions use the same deterministic core as the CLI and government mobile path. Model results are separately labeled recorded host runs. No agency transactions are connected.
From a checkout, use Node 22.18 or newer and Python 3:
npm ci
node scripts/public-service.mjs replay --json
npm run public:build
python3 -m http.server --bind 127.0.0.1 --directory web 8080
Open http://127.0.0.1:8080/lab.html.
Read the setup, evidence and contribution guide for source dates, measured limits and how to add a sourced case.
npm run public:demo -- --model /path/to/gemma-3-1b-it.gguf
Requires committed source, FFmpeg and a compatible local model. The kit checks dependencies, runs the experiment and exports browser GIFs and MP4s. Review each full loop before sharing it. No API key is required.
Run all 26 cases in order, including the 18 government golden queries. Check answers, routes and exact source hashes. Prompts are maintainer-written tests, not citizen reports.
Watch replay GIF · Replay MP4Type a question, ask a doubt follow-up, inspect the source excerpt and download reusable case JSON. Unsupported details refuse; agency requests report unavailable.
Try the lab · Watch lab GIF · Lab MP4Compare the 2024 Ninoy Aquino Day amendment, review its authorities, apply it locally and roll back. Historical records cannot answer current holiday questions.
Watch source update GIF · Source update MP4Inspect all 63 recorded results from seven questions and three repetitions per variant. The Gemma 3 CPU host run made 42 model calls; all 21 controlled answers fell back to records. Measurements cover this CPU host and these seven questions.
Watch model results GIF · Model results MP4Run setup, replay, local inference, browser checks and capture with one command. Export five GIFs and MP4s with source, code, model and timing evidence. Raw footage stays local.
Watch demo kit GIF · Demo kit MP4How it works
The app retrieves local documents before it generates an answer. Network actions and content updates use separate authenticated paths.
MiniSearch selects relevant local documents from the active template.
Demo, local, or cloud generation uses the same grounded context.
The conversation shows its source, knowledge version, and evidence.
Network actions wait in an encrypted outbox with Retry and Remove controls.
Included templates
Each template includes its own brand, support prompts, tools, safety rules, and local knowledge documents.
The details and recorded Android flow update below.
Template facts
Recorded Android flow
Captured from the mobile app with the selected template configuration.
Configuration excerpt
Production boundary
Airgap supplies the mobile client and a reference Node server. An operator still owns identity, authorization, model hosting, monitoring, and the systems that perform account changes.
Start with the offline demo