SwiftAI
github.com · Open source · Maintained
Swift library for LLM features that switches between on-device and cloud models
- AI & agents
- Open source
- Swift
- Day-7 check
- Day-30 check
- Stars
- 366
- Forks
- 23
- Open issues
- 2
- Last commit
- Releases
- 8
- Found
- 15 months ago
GitHub figures as of . They are context, not a ranking.
SwiftAI is an open-source Swift library that provides one API for Apple's on-device language models and cloud models. It falls back to the cloud when on-device models are unavailable and includes an agent loop, typed structured outputs and optional chat state. It suits iOS and macOS developers adding LLM features.
Repository description on GitHub: “Build beautiful and reliable LLM apps on iOS and MacOS”
What it does
- One model-agnostic API for Apple on-device and cloud models
- Agent tool loop with first-class tool use
- Strongly typed structured outputs
- Stateful chat sessions with optional context management
Good for
- Use Apple's on-device models with a cloud fallback in one codebase
- Get typed structured output from a Swift model call
Suits: iOS and macOS developers adding LLM features to apps.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw SwiftAI on , when mi12-root posted it to Show HN. The oldest published release on GitHub is v0.1.0-alpha, dated . SwiftAI had been shipping tagged releases for 15 days before it was found. 8 releases have been published in total; the latest is v0.1.0-alpha.7 ().
Day-7 and day-30 updates
Day 7 1 release shipped
- 1 release in the first 7 days: v0.1.0-alpha.4 (28 Aug 2025)
- Show HN discussion at check time: 74 points, 24 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 2 releases shipped
- 2 releases in the first 30 days: v0.1.0-alpha.4 (28 Aug 2025), v0.1.0-alpha.5 (16 Sep 2025)
- Show HN discussion at check time: 74 points, 24 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: mi12labs/SwiftAI
- Release v0.1.0-alpha (pre-release)
- Release v0.1.0-alpha.2 (pre-release)
- Release v0.1.0-alpha.3 (pre-release)
- Found: mi12-root posted it to Show HN. Show HN
- Release v0.1.0-alpha.4 (pre-release)
- Release v0.1.0-alpha.5 (pre-release)
- Release v0.1.0-alpha.6 (pre-release)
- Release v0.1.0-alpha.7 (pre-release)
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 8 releases. All releases on GitHub
Quick answers
- When was SwiftAI released?
- Its first tagged release on GitHub is dated 13 Aug 2025. Kip found it on Show HN on 28 Aug 2025.
- Is SwiftAI open source?
- Its source is public on GitHub at mi12labs/SwiftAI under the MIT licence.
- What does SwiftAI run on?
- iOS, macOS, Library.
- Is SwiftAI free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is SwiftAI still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | mi12labs/SwiftAI REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45052200. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.