Primordial SDKAlpha

The application layer for on-device AI

The Missing layer.

Primordial simplifies building with on-device AI.You focus on your outcome instead of the infrastructure.

  1. Is the required model available?
  2. How is local data prepared?
  3. How do we retrieve relevant context?
  4. What should enter the prompt?
  5. Can this run reliably on the device?
Search

Find meaning across private application data.

Grounded answers

Respond with evidence from sources your application trusts.

Voice

Turn speech into private, responsive application actions.

Chat

Build conversations with memory and relevant context.

Agentic workflows

Coordinate tools, context, and execution on the device.

Primordial SDK
  • Models
  • Data
  • OS
  • Hardware

One SDK between intelligence and your product.

Record speech, transcribe it, and summarize the transcript into three bullet points without assembling separate speech, model-lifecycle, and generation stacks.

import Primordial

let primordial = PrimordialClient()
try await primordial.activate(.evaluationKey("pk_eval_your_key_here"))

for try await progress in primordial.ai.makeAvailable([
  .voiceInput,
  .generation
]) {
  print(progress.fractionCompleted ?? 0)
}

let recording = primordial.recording()
try await recording.start()
let result = try await recording.stop()

let summary = try await primordial.summarize(
  result.transcription.text,
  style: .bulletPoints(maximum: 3)
)

print(summary)

Run intelligence where
the data already lives.

On-device AI keeps data private and costs predictable, so
you can ship without token billing, usage caps, or API bills.

No per-token bill

Local workflows do not add a cloud inference charge for every user interaction.

Privacy built-in

Prompts, files, audio, and generated output can remain on the user’s device.

Fast and offline

Remove the inference server round trip and keep core workflows available after required models are ready.