A proposal for a native, system-level Unified AI API across web, Android, iOS, macOS, Windows, Linux, and other platforms. The AI API provides no-import-required access to AI capabilities (e.g., text generation, image analysis, smart notifications), similar to the Web Notifications API (Notification). A system app lets users select AI models (e.g., Gemini, Apple Intelligence) and configure privacy/performance.
- Native Integration: Global
AIAPI in each platform’s runtime, no imports needed. - Unified Interface: Consistent methods and data formats across platforms.
- User Control: System app for model selection and privacy settings.
- System Features: Seamless integration with notifications and other native APIs.
- Privacy/Security: On-device processing, GDPR/CCPA compliance.
- docs/: Detailed proposal, API spec, platform implementations, and more.
- examples/: Code samples for web, Android, iOS, Windows, Linux.
- mockups/: UI designs for the AI Settings app.
- ISSUE_TEMPLATE/: Templates for bugs, features, and platform feedback.
- Read the full proposal: docs/proposal.md
- Explore the API spec: docs/api-spec.md
- Try examples: examples/
- Contribute: See CONTRIBUTING.md
- GitHub Issues: Report bugs or suggest features.
- X: Share your thoughts with #UnifiedAIAPI, #CrossPlatform.
- Reddit: Post in r/programming, r/MachineLearning, r/androiddev, etc.
MIT License. See LICENSE.
Star ⭐ and fork 🍴 to support the Unified AI API!