Skip to content
System One

System One for Apple Foundation Models

Swift 6 bridge that maps Apple Foundation Models @Generable types onto Jev: Bool to noul, enum to choice, and @Guide range to score.

peterfriese/system-one-foundation-models on GitHub

Stars
56
Forks
2
Language
Swift
License
Apache-2.0
Last push
29 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

import SystemOneCore

/// An Apple Foundation Models provider for TypeSafe AI's Jev System One decision models.
public struct JevLanguageModel: LanguageModel, Sendable {
    public struct Configuration: Hashable, Sendable {
        public var apiKey: String?
        public var modelID: String
        public var endpoint: URL
        public var transport: AnyJevTransport

        public init(
            apiKey: String? = nil,
            modelID: String = "jev-latest",
            endpoint: URL = URL(string: "https://api.typesafe.ai/v1/systemone")!,
            transport: AnyJevTransport = AnyJevTransport(URLSessionTransport())

View in Sources/JevFoundationModels/JevLanguageModel.swift

Open on GitHub

PrimitivesChoiceScoreNoul

More like this

Keep browsing