Skip to content

Jev directory

TypeSafe Swift SDK

A Swift-native SDK for the TypeSafe System One API, ported from the JS and Python SDKs: Swift Package Manager, Swift 6 concurrency and URLSession, with Choice, Noul and Score questions and strict response validation.
Stars
1
Language
Swift
License
MIT
Reading time
2 min
Published by
Community
Author
marandaneto
Last verified
Oct 2026

Highlights

  • Swift 6 language mode with no third-party runtime dependencies; minimum targets are iOS/iPadOS 16, macOS 13, Mac Catalyst 16, tvOS 16, watchOS 9 and visionOS 1.
  • systemOne calls POST /v1/systemone and returns named answers, token usage and HTTP metadata; response.rawBody keeps the original server bytes for inspection.
  • Typed handles (ChoiceQuestion<Category>, NoulQuestion, ScoreQuestion) can be erased to AnyQuestion when the choice set is known at compile time.
  • Decoding validates finite probability ranges, nonnegative token counts and score bounds; request validation checks returned keys against requested criteria.
  • Experimental 0.1.0: public APIs and behavior may change, and the README asks you to pin the exact version while using it.

Watch out

Copy reviewed against the truncated README on 2026-10-15; the typed-questions example cuts off mid-code. The port is by marandaneto rather than the TypeSafe organization, and testing covered macOS and the iOS Simulator plus compile checks per platform family — not runtime tests on every minimum OS.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: A computer assistant that listens

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai