Next-Gen Facility Core

Intelligence &
Offline Resilience

Explore the high-fidelity engineering under the hood. From zero-connectivity technician workflows to multi-tenant AI operations, Facilitics is built to withstand real-world operational challenges.

AI Operations Assistant

Real-Time Company Analysis, Zero SQL Risk

The Facilitics AI Assistant relies on a custom 12-query database context builder (`buildCompanySnapshot.ts`) running in parallel. This grounds the Gemini 2.5-Flash model with structured operational context (alerts, assets, fleet metrics, generator status, fuel velocity) dynamically.

  • **Complete Safety Scoping:** The AI can only read contextual snapshot parameters mapped to your authenticated tenant ID (`company_id`).
  • **Secure UI Handshake:** Interactive replies with dynamic links to specific pages using standard app routing paths.
  • **No Natural SQL Execution:** No raw database query execution risk; queries are pre-compiled and strictly parametrized.
Facilitics AI Terminal

Which utility generators are low on fuel and need servicing?

FM

Based on the current telemetry snapshot for **Abuja Logistics Hub**:

GEN-ABJ-001 (500KVA)12% STOCK
Est. Depletion:1.2 Days Remaining
Burn Rate:24.5 L / Hour

I recommend booking a refueling dispatch. The generator's next 250H routine maintenance schedule is also due in **6 running hours**.


Offline Field Sync Engine

Dexie.js Persistence & Network Change Observers

Field inspections often take place in low-connectivity zones like basements, storage yards, or remote stations. Facilitics uses a local IndexedDB transactional queue to cache safety checklists, maintenance logs, and fault updates seamlessly.

  • **Synchronized Store Observer:** Uses React's `useSyncExternalStore` network status observer to monitor changes in browser link connectivity.
  • **Auto-Reconciliation Queue:** Pending actions are automatically re-dispatched to Supabase sequentially once network link returns.
  • **Optimistic Layout States:** Immediate visual response for technicians showing that logs are securely cached locally, preventing double-submission.
Field Service Monitor
OFFLINE MODE
Offline Sync Queue Status
2 Pending inspection records stored locally
PENDING RECONNECT
REC-INSP-2094
Fire Extinguisher ChecksheetSaved to DB Cache
REC-INSP-2095
HVAC Maintenance ChecklistSaved to DB Cache

Predictive CFO Fuel Ledger

Burn-Rate Velocity Math vs. Hard Threshold limits

Instead of relying on simple, easily bypassed float gauge alarms, Facilitics computes actual fuel consumption metrics. By matching purchases (`diesel_purchases`) and issuances (`fuel_issuances`) dynamically, the forecasting engine predicts stock runout dates based on consumption velocity.

  • **Dynamic Depletion Warning:** Low-stock alerts fire automatically when fuel quantity falls below a calculated 2-day operational burn-rate threshold.
  • **Audit Ledger Integrity:** Audit logs track fuel adjustments with full historical data, preventing fuel records deletion from masking leakages.
  • **Anti-Theft Anomaly Detection:** Real-time push alerts fire if a generator's logged run-hours do not correlate mathematically with its registered tank depletion velocity.
CFO Fuel Velocity Dashboard
FORECAST ACTIVE
AVERAGE BURN RATE
32.4 L / Hr
FORECAST RUN-OUT DATE
July 10, 2026
DateAssetIssuedVariance
07-07 14:00GEN-01150 L-0.4%
06-07 09:00GEN-01200 L+5.8% (Anomaly)

Ready to elevate your operations?

See these smart features in action with your own facility data. Book a custom walkthrough with one of our compliance specialists.