One call. Every modality.
Adding AI to a mobile app today means four separate integrations — speech, vision, an LLM, and orchestration between them — four billing relationships, and four to eight weeks before you write the first line of actual app logic. It still fails when the device goes offline.
Locus eliminates all of that. One SDK. One call. The inference runs at the edge — on the device's NPU, private by default, offline-capable. iOS and Android. The foundation model cost is bundled in. Cloud escalates only when confidence requires it.
That simplicity is the point — but each infer() call is also something more fundamental: a moment of edge intelligence, generated where the physical world meets the device. A driver filing a claim. A technician diagnosing a fault. A nurse documenting care.
import LocusSDK
// Initialize once — API key, accuracy threshold
let locus = Locus(apiKey: "lk_...", threshold: 0.85)
// One call — image + voice together
let report = try await locus.infer(
modalities: [.image(cameraFrame), .voice(audioBuffer)],
schema: FaultReport.self,
context: .workOrder(id: workOrderId)
)
// Typed result — on-device in <20ms
// FaultReport(
// component: "Main seal bearing",
// severity: .high,
// action: "Replace — Part #B-2204",
// confidence: 0.94,
// resolution: .onDevice
// )Illustrative API design · SDK in private development
Architecture
Two products. One loop.
CloudSense governs your enterprise knowledge in the cloud. thinking sense Edge delivers a signed, scoped slice to the device — and sends every outcome back.
Ingest & Connect
- — Databases & Apps
- — Documents & Files
- — Slack & Teams
- — IoT & Telemetry
Knowledge Graph
- — Entities & Relationships
- — Ontology & Semantics
- — Lineage & Provenance
- — Always current
Policy & Security
- — Identity & Access
- — Row / Field RBAC
- — Audit & Compliance
- — Evidence chain
Context API & MCP
- — Query & Federation
- — Scoped context API
- — MCP Server
- — Agent Tools
Governance · Observability · Audit · Versioned Knowledge
Scoped ontology slice ↓
Outcomes · Telemetry ↑
Always current
Cryptographically signed
On-Device Runtime
- Signed ontology slice
- SLM on NPU
- Offline-capable
- Zero marginal cost
Locus API
- locus.observe()
- locus.ground()
- locus.infer()
- locus.act()
Privacy & Trust
- Raw data stays local
- No PII to cloud
- Cryptographic auth
- Federated learning
Telemetry
- Outcomes logged
- Confidence scores
- Error signals
- Fleet intelligence
On-device · Zero latency · Zero marginal cost · Private by default
Ambient
Always-on, no pull required
Grounded
Enterprise ontology, not generic
Private
Raw data never crosses the boundary
Compounding
Every outcome sharpens the next
Observable
Cost-per-outcome, not cost-per-token
Before locus.infer()
After locus.infer()
→ typed structured response
Typed Swift struct or Kotlin data class — compile-time safe.
The cost of doing it yourself
Building equivalent multi-modal AI without Locus means assembling three separate cloud APIs, three vendor relationships, and weeks of orchestration — then discovering it fails offline.
DIY cloud stack Vision API + Whisper + GPT-4o-mini + glue | Locus API One call · bundled · on-device first | |
|---|---|---|
| Cost per 1K calls | ~$5–$6Vision + Whisper + LLM + infra | $1–$2All-in · LLM bundled |
| Latency | 300–800msCloud round-trip on every call | <20msOn-device NPU · cloud only when needed |
| Offline capability | None100% cloud-dependent | FullOn-device by default |
| Vendor relationships | 3+Google · OpenAI · Whisper provider | 1Locus API — one contract |
| Data residency | ProblemRaw data sent to 3 cloud endpoints | SolvedRaw data never leaves the device |
| Time to integrate | 4–8 weeksOrchestration, routing, error handling | < 1 daySame SDK · iOS and Android |
The savings are real — but the bigger difference is architectural. DIY multi-modal cloud AI is online-only, split across vendors, and brittle at the seams. Locus is on-device first, one vendor, and works where networks don't. That is not a marginal improvement — it is a category difference.
Three API surfaces
Locus isn't a model endpoint — it's an observation-to-action layer. Three surfaces cover the full lifecycle of a physical intelligence event.
What the device sees and hears, turned into a structured operational event. Runs on the NPU first. Cloud escalates only when local confidence falls below threshold.
Inputs
Image · video · audio · asset ID · work order
Returns
event_type · anomaly · recommended_action · confidence
Syncs the relevant enterprise context to the device before the shift starts. Compressed and indexed for on-device RAG — no cloud call needed during inspection.
Inputs
asset_id · site_id · user_role · connectivity state
Returns
Compressed knowledge graph slice — manuals, history, SOPs, parts
Takes the Observe result and writes it to the enterprise system of record — IBM Maximo, ServiceNow, Salesforce FSM, Oracle Health. One call closes the loop.
Inputs
Observe output · enterprise system credentials
Returns
Work order created · asset state updated · escalation triggered
iOS and Android — one SDK
Apple's Neural Engine and Qualcomm's Hexagon NPU are different silicon with different programming models. Locus abstracts both. The same API call runs on either — same typed output, same pricing, same offline guarantee.
Behaviorally identical from the developer's perspective. The same API call on iOS and Android returns the same typed schema. Locus manages NPU compilation, model lifecycle, cloud routing, and pricing — per platform, transparently.
Privacy by architecture, not by policy
Raw pixels, audio, and video never leave the device. Only embeddings and structured results sync — the captures that generated them stay where they were made. For enterprise mobile teams in regulated industries, this isn't a compliance configuration. It's a structural guarantee that closes security reviews that cloud-only alternatives cannot.
Everyday mobile apps
The same infer() call that powers field inspection also powers the consumer-facing apps people use daily — claims, retail, fitness, banking.
The call
Claims Assistant
Rear-end collision — parking lot
Result · on-device · <20ms
Illustrative · same SDK, iOS + Android
See it running in the field
Working iPad prototypes across five enterprise verticals — utility, rail, fleet, warehousing, and healthcare. Each demo shows the full infer() loop: capture, vectorize, resolve, act.