Skip to content

Jev directory

Swift TypeSafe

Unofficial Swift 6.4 client for TypeSafe's System One API, following the Python SDK 0.7.0 API with @QuestionSet property wrappers for typed Noul, Choice and Score questions.
Stars
17
Language
Swift
License
MIT
Reading time
3 min
Published by
Community
Author
ainame
Last verified
Sep 2026

About this project

Swift 6.4 SDK for TypeSafe AI, following the Python SDK's 0.7.2 API. Supports macOS 26+, iOS 26+, tvOS 26+, watchOS 26+, visionOS 26+, and Linux. Uses Apple's experimental HTTPClient package, pinned to 0.2.1. The proposal may change; its Swift 6.4 and OS requirements apply to this SDK. Add swift-typesafe to your Swift package dependencies: Add the TypeSafe product to your target: Set TYPESAFEAPIKEY or pass apiKey to TypeSafeClient, then choose the question style that fits your application.

Quoted from the project's README. Read the full README.

Highlights

  • Declares questions with @QuestionSet, @Choice, @Noul and @Score; the declaration is a schema passed as a type.
  • Supports macOS 26+, iOS 26+, tvOS 26+, watchOS 26+, visionOS 26+ and Linux on Swift 6.4.
  • Follows Python SDK retry behavior: two retries by default for connection errors, timeouts and HTTP 408/429/5xx.
  • Uses Apple's experimental HTTPClient package pinned to 0.2.1, whose proposal may still change.
  • Tests use Swift Testing with Python 3 loopback servers and need no API key.

Watch out

MIT-licensed. Requires Swift 6.4 and the newest Apple OS releases; it depends on Apple's experimental HTTPClient 0.2.1 and is not affiliated with TypeSafe AI.

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