{"data":{"slug":"deveix-react-native-apple-llm","name":"react-native-apple-llm","tagline":"React Native Apple LLM plugin using Foundation Models","github_url":"https://github.com/deveix/react-native-apple-llm","owner":"deveix","repo":"react-native-apple-llm","owner_avatar_url":"https://avatars.githubusercontent.com/u/22685448?v=4","primary_language":"Swift","stars":345,"forks":17,"topics":["apple-foundation-models","apple-intelligence","apple-llm","apple-llm-integration","foundation-models","local-llm","nlp","offline-ai","react-native","react-native-ai","react-native-apple","react-native-apple-intelligence","react-native-apple-llm","react-native-llm","react-native-local-llm","react-native-plugin","structured-output","text-generation","zod"],"archived":false,"github_pushed_at":"2026-01-17T12:30:17+00:00","maintenance_label":"Slowing","stars_delta_30d":4,"url":"https://www.graphcanon.com/tools/deveix-react-native-apple-llm","markdown_url":"https://www.graphcanon.com/tools/deveix-react-native-apple-llm.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/deveix-react-native-apple-llm","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=deveix-react-native-apple-llm","description":"React Native Apple LLM plugin using Foundation Models","homepage_url":null,"license":"MIT","open_issues":0,"watchers":3,"ai_summary":"A React Native integration for local LLM on Apple devices leveraging Apple's Foundation Models.","readme_excerpt":"## Requirements\n\n- iOS 26.0\n- Xcode 26\n- Apple Intelligence enabled device (iPhone 15 Pro, iPhone 16 series, M1+ iPad/Mac) or simulator (MacOS 26 required)\n\n<div align=\"center\">\n\n\n\n\n\n\n</div>\n\n<a href=\"https://x.com/aykasem001\" target=\"_blank\">\n  <img src=\"https://img.shields.io/badge/Follow_on_X-000000?logo=x&logoColor=white&style=flat-square\" alt=\"Follow on X\"/>\n</a>\n\n---\n\n## Installation\n\n1. Install the package:\n\n```sh\nnpm install react-native-apple-llm\n\n---\n\n## Quick Start\n\n```tsx\nimport {\n  isFoundationModelsEnabled,\n  AppleLLMSession\n} from \"react-native-apple-llm\";\n\n// Check if Apple Intelligence is available\nconst checkAvailability = async () => {\n  const status = await isFoundationModelsEnabled();\n  console.log(\"Apple Intelligence status:\", status);\n};\n\n// Generate simple text\nconst generateSimpleText = async () => {\n  const session = new AppleLLMSession();\n  await session.configure({\n    instructions: \"You are a helpful assistant.\"\n  });\n\n  const response = await session.generateText({\n    prompt: \"Explain React Native in one sentence\"\n  });\n\n  console.log(response);\n  session.dispose();\n};\n```\n\n---\n\n## License\n\nMIT License - see [LICENSE.md](LICENSE.md) for details.","github_created_at":"2025-06-16T17:02:56+00:00","created_at":"2026-07-15T10:59:44.089191+00:00","updated_at":"2026-09-20T05:03:19.218199+00:00","categories":[{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"apple-foundation-models","name":"apple-foundation-models"},{"slug":"local-llm","name":"local-llm"},{"slug":"nlp","name":"nlp"},{"slug":"react-native","name":"react-native"},{"slug":"swift","name":"swift"},{"slug":"text-generation","name":"text-generation"}],"trust":{"provenance":{"is_fork":false,"github_id":1003127414,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-20T05:03:17.357Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":245,"last_release_at":null,"stars_delta_30d":4,"open_issues_delta_30d":0},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-15T10:59:45.344Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"mcp":{"source":"repo_scan","observed_at":"2026-09-20T05:03:18.396Z","server_manifest":false},"scan":{"source":"repo_scan","observed_at":"2026-09-20T05:03:18.396Z"},"languages":{"value":["swift","javascript","typescript"],"source":"github.language+package.json","observed_at":"2026-09-20T05:03:18.396Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-20T05:03:18.396Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"The project follows a free open-source model (MIT license), but additional services or enterprise support might incur costs not covered in the base package."},"requirements":{"notes":["Requires Apple's Foundation Models which may have separate licensing considerations","Integration necessitates Swift, and possibly SwiftUI or UIKit knowledge"],"min_ram_gb":1,"requires_docker":false},"constraints":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"when_to_use":["When developing apps primarily targeting Apple devices that require local inference capabilities to ensure offline functionality using Apple's Foundation Models","For projects needing native SwiftUI or UIKit integration alongside React Native components, ensuring a cohesive app structure"],"when_not_to_use":["If your project requires cross-platform compatibility beyond Apple ecosystems, as react-native-apple-llm is optimized specifically for Apple devices","When rapid iteration of models and flexibility across various platforms are critical, since react-native-apple-llm is constrained by Apple's framework limitations"],"source":"enrich:decision_facts","observed_at":"2026-07-17T07:04:50.895Z"},"constraint_facets":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - The project follows a free open-source model (MIT license), but additional services or enterprise support might incur costs not covered in the base package."},{"label":"Requirements","value":"Min 1 GB RAM; Requires Apple's Foundation Models which may have separate licensing considerations; Integration necessitates Swift, and possibly SwiftUI or UIKit knowledge"},{"label":"Adopt for","value":"React Native Apple LLM plugin for Foundation Models on Apple devices with specific capabilities and constraints."}]}}