Analysis updated 2026-05-18
Add Apple's Private Cloud Compute AI model to a Mac app distributed outside the Mac App Store without an entitlement.
Wrap macOS 27's fm command-line tool as a LanguageModel your Swift code can call directly.
Ship AI features on macOS for developers excluded from Apple's entitlement program.
| insidegui/twomillionkit | noppefoxwolf/mergeableview | ashertrockman/touchscale | |
|---|---|---|---|
| Stars | 75 | 69 | 82 |
| Language | Swift | Swift | Swift |
| Last pushed | — | — | 2015-11-03 |
| Maintenance | — | — | Dormant |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Only works in non-sandboxed Mac apps distributed outside the Mac App Store, requires macOS 27's fm command-line tool.
TwoMillionKit is a small Swift package created after its author ran into a specific restriction from Apple. Starting with macOS 27, Apple lets third-party apps use its Private Cloud Compute AI language models, but only if the developer is part of Apple's Small Business Program and none of their apps have passed two million downloads. The author's own app, an iOS app nearly ten years old, was flagged by Apple as having crossed that download threshold, even though the developer's own sales reports never showed anything close to that number, and Apple did not respond when asked for evidence. As a result, the author was blocked from using this AI feature that many smaller developers get to use. Rather than accept that, the author noticed that Apple's macOS 27 also ships a command-line tool called fm, which anyone can already use from the Terminal or in scripts to run these same AI models, including Private Cloud Compute, with no special permission needed. Since a Mac app can call command-line tools just like a person typing in Terminal can, the author built this package to quietly run fm behind the scenes and wrap its output to look like a normal AI model that a Swift app can talk to directly. The result is that any Mac app distributed outside the Mac App Store can use Private Cloud Compute without needing Apple's special entitlement. It will not work for apps distributed through the Mac App Store itself, since those run in a more restricted sandbox that blocks this kind of workaround. The author frames this clearly as an unofficial workaround, not a sanctioned method, and suggests using it carefully and at your own risk since Apple could change or block this behavior at any time.
A Swift package that lets non-App-Store Mac apps use Apple's Private Cloud Compute AI models without a special entitlement.
Mainly Swift. The stack also includes Swift.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.