Skip to main content

PrismIntelligence

PrismIntelligence provides a single API surface for running machine learning and AI workloads across three backends — all without third-party dependencies.

Local CoreML

Train and run classification/regression models on-device using CreateML. Zero network required.

Apple Intelligence

Access Apple’s FoundationModels framework for language generation, content tagging, and model adapters.

Remote LLM

Connect to remote language models via a provider protocol. Supports streaming and custom instructions.

Backend Kinds

Every operation routes through a PrismIntelligenceBackendKind:
Backend Selection

Capabilities

Each backend declares which capabilities it supports:
Capabilities

Checking Backend Status

Use PrismIntelligenceStatus to query what’s available at runtime:
Status Check
PrismIntelligenceStatus includes:

Architecture

The client selects the appropriate backend based on the requested capability and configuration. Local models handle classification and regression. Apple Intelligence handles language generation on supported devices. Remote providers handle everything else.
PrismIntelligence requires no third-party ML libraries. Local training uses CreateML, NLP uses the NaturalLanguage framework, and Apple Intelligence uses FoundationModels — all Apple-native.

Next Steps

On-Device Training

Train text and tabular classifiers directly on the device using CreateML.

Apple Intelligence

Generate text with Apple’s FoundationModels framework and model adapters.

NLP & RAG

Sentiment analysis, entity extraction, embeddings, and retrieval-augmented generation.