HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mi12labs
SwiftAI
Swift2025–2025
mi12labs / SwiftAI

SwiftAI

Build beautiful and reliable LLM apps on iOS and MacOS

2Distinct people
3Mentions
0Explicit recommenders
365GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Build beautiful and reliable LLM apps on iOS and MacOS

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day3 dated mentions

Observed mentions: 2025-08-28 13:51:51 UTC to 2025-09-16 06:50:35 UTC.

012025-08-28 00:00:00 UTC to 2025-08-29 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsAug 282025-08-29 00:00:00 UTC to 2025-08-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-08-30 00:00:00 UTC to 2025-08-31 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-08-31 00:00:00 UTC to 2025-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-01 00:00:00 UTC to 2025-09-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-02 00:00:00 UTC to 2025-09-03 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-09-03 00:00:00 UTC to 2025-09-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-04 00:00:00 UTC to 2025-09-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-05 00:00:00 UTC to 2025-09-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-06 00:00:00 UTC to 2025-09-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 62025-09-07 00:00:00 UTC to 2025-09-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-08 00:00:00 UTC to 2025-09-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-09 00:00:00 UTC to 2025-09-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-10 00:00:00 UTC to 2025-09-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-11 00:00:00 UTC to 2025-09-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-12 00:00:00 UTC to 2025-09-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-13 00:00:00 UTC to 2025-09-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-14 00:00:00 UTC to 2025-09-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-15 00:00:00 UTC to 2025-09-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-16 00:00:00 UTC to 2025-09-17 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 16

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 282025-08-28 00:00:00 UTC2025-08-29 00:00:00 UTC110
Aug 292025-08-29 00:00:00 UTC2025-08-30 00:00:00 UTC000
Aug 302025-08-30 00:00:00 UTC2025-08-31 00:00:00 UTC000
Aug 312025-08-31 00:00:00 UTC2025-09-01 00:00:00 UTC000
Sep 12025-09-01 00:00:00 UTC2025-09-02 00:00:00 UTC000
Sep 22025-09-02 00:00:00 UTC2025-09-03 00:00:00 UTC101
Sep 32025-09-03 00:00:00 UTC2025-09-04 00:00:00 UTC000
Sep 42025-09-04 00:00:00 UTC2025-09-05 00:00:00 UTC000
Sep 52025-09-05 00:00:00 UTC2025-09-06 00:00:00 UTC000
Sep 62025-09-06 00:00:00 UTC2025-09-07 00:00:00 UTC000
Sep 72025-09-07 00:00:00 UTC2025-09-08 00:00:00 UTC000
Sep 82025-09-08 00:00:00 UTC2025-09-09 00:00:00 UTC000
Sep 92025-09-09 00:00:00 UTC2025-09-10 00:00:00 UTC000
Sep 102025-09-10 00:00:00 UTC2025-09-11 00:00:00 UTC000
Sep 112025-09-11 00:00:00 UTC2025-09-12 00:00:00 UTC000
Sep 122025-09-12 00:00:00 UTC2025-09-13 00:00:00 UTC000
Sep 132025-09-13 00:00:00 UTC2025-09-14 00:00:00 UTC000
Sep 142025-09-14 00:00:00 UTC2025-09-15 00:00:00 UTC000
Sep 152025-09-15 00:00:00 UTC2025-09-16 00:00:00 UTC000
Sep 162025-09-16 00:00:00 UTC2025-09-17 00:00:00 UTC101

What Hacker News says

3 sources
mi12-root·Aug 28, 2025Submission

Show HN: SwiftAI – open-source library to easily build LLM features on iOS/macOS

We built SwiftAI, an open-source Swift library that lets you use Apple’s on-device LLMs when available (Apple opened access in June), and fall back to a cloud model when they aren’t available — all without duplicating code. SwiftAI gives you: - A single, model-agnostic API - An agent/tool loop - Strongly-typed structured outputs - Optional chat state Backstory: We started experimenting with Apple’s local models because they’re free (no API calls), private, and work offline. The problem: not all devices support them (older iPhones, Apple Intelligence disabled, low battery, etc.). That meant writing two codepaths — one for local, one for cloud — and scattering branching logic across the app. SwiftAI centralizes that decision. Your feature code stays the same whether you’re on-device or cloud. Example import SwiftAI let llm: any LLM
Read the rest
= SystemLLM.ifAvailable ?? OpenaiLLM(model: "gpt-5-mini", apiKey: "<key>") let response = try await llm.reply(to: "Write a haiku about Hacker News") print(response.content) It's open source — we'd love for you to try it, break it, and help shape the roadmap. Join our discord / slack or email us at root@mit12.dev. Links - GitHub (source, docs): https://github.com/mi12labs/SwiftAI - System Design: https://github.com/mi12labs/SwiftAI/blob/main/Docs/Proposals... - Swift Package Index (compat/builds): https://swiftpackageindex.com/mi12labs/SwiftAI - Discord https://discord.com/invite/ckfVGE5r and slack https://mi12swiftai.slack.com/join/shared_invite/zt-3c3lr6da...
74 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.