Skip to content

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), similar to the Web Notifications API. A system app lets users select AI models (e.g., Gemini, Grok) and configure it.

License

Notifications You must be signed in to change notification settings

beamitpal/unified-ai-api

Unified AI API Proposal

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.

Goals

  • Native Integration: Global AI API 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.

Repository Structure

  • 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.

Getting Started

  1. Read the full proposal: docs/proposal.md
  2. Explore the API spec: docs/api-spec.md
  3. Try examples: examples/
  4. Contribute: See CONTRIBUTING.md

Join the Discussion

  • GitHub Issues: Report bugs or suggest features.
  • X: Share your thoughts with #UnifiedAIAPI, #CrossPlatform.
  • Reddit: Post in r/programming, r/MachineLearning, r/androiddev, etc.

License

MIT License. See LICENSE.


Star ⭐ and fork 🍴 to support the Unified AI API!

About

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), similar to the Web Notifications API. A system app lets users select AI models (e.g., Gemini, Grok) and configure it.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published