{"adoption": {"forks": 74, "observed_at": "2026-08-28T04:04:03.003740+00:00", "stars": 1225}, "canonical_url": "https://ross.abutalabs.com/products/python-apple-fm-sdk", "card": {"archived": false, "artifact_type": "library", "description": "Python bindings for access to the on-device model at the core of Apple Intelligence through the Foundation Models framework", "domain": ["large-language-models", "artificial-intelligence", "apple-ecosystem", "developer-tools"], "enriched": true, "function": ["llm-inference", "sdk", "machine-learning"], "health_score": 94, "homepage": "https://apple.github.io/python-apple-fm-sdk/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["apple/python-apple-fm-sdk"], "name": "apple/python-apple-fm-sdk", "platform": ["python"], "pushed_at": "2026-07-07T23:12:46+00:00", "repo": "apple/python-apple-fm-sdk", "stars": 1225, "tags": ["apple-intelligence", "foundation-models", "on-device-ai", "guided-generation", "swift-bridge", "macos"], "topics": [], "urls": [], "use_cases": ["run on-device LLM inference on macOS with Apple Intelligence", "generate structured typed objects from a Python class schema", "evaluate Swift app Foundation Models features from Python", "stream real-time text generation responses", "analyze transcripts exported from Swift apps"], "what_it_is": "Python bindings for Apple's Foundation Models framework, giving access to the on-device foundation model behind Apple Intelligence on macOS. It supports streaming text generation, guided generation with typed structured outputs, and batch evaluation of Swift app AI features from Python.", "when_to_avoid": ["you're on Linux, Windows, or older macOS versions", "you need cloud-hosted or cross-platform LLM access", "you need a mature project accepting contributions"], "when_to_choose": ["you're on macOS 26+ with Apple Intelligence and want Python access to the system model", "you need type-safe guided generation with constrained outputs", "you want to evaluate on-device model behavior using Python's data/ML ecosystem"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/python-apple-fm-sdk", "repo": "apple/python-apple-fm-sdk", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:03.003740+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:15:23.187924+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "79d43f9a133900520029d6ca0829534f336cc52ac255335fdf55731623c7d5ba", "fetched_at": "2026-08-28T04:04:03.003740+00:00", "kind": "readme", "missing": false, "url": "https://github.com/apple/python-apple-fm-sdk"}, {"content_hash": "6c9c7cd7b77a358c5db0546833198b53938724dc2d74c1cc6cf933cd3435e2be", "fetched_at": "2026-08-29T12:23:34.976987+00:00", "kind": "homepage", "missing": false, "url": "https://apple.github.io/python-apple-fm-sdk/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 13, "rhythm": 90}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 189, "days_push": 57, "days_rel": 65, "gap_med": 21, "n_releases_24m": 4}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}