Discover and explore top open-source AI tools and projects—updated daily.
SwiftUI chat app for on-device AI
Top 98.7% on SourcePulse
FoundationChat is a SwiftUI application demonstrating on-device AI capabilities using Apple's new Foundation Models framework. It targets developers building privacy-focused, offline AI experiences on Apple platforms, offering persistent chat history and real-time response streaming.
How It Works
The app leverages SwiftUI for its user interface and integrates directly with Apple's Foundation Models for AI processing. Conversation data, including messages and summaries, is persisted using SwiftData. A ChatEngine
manages model sessions and streams responses, often structured via @Generable
types, enabling features like tool integration (e.g., WebAnalyserTool
for web content extraction) and automatic conversation summarization.
Quick Start & Requirements
FoundationChat.xcodeproj
in Xcode and build on a supported device.Highlighted Details
WebAnalyserTool
for extracting structured data from web pages.Maintenance & Community
This project is presented as a demonstration of Apple's Foundation Models framework. Contributions for improvements and bug fixes are welcomed, but specific community channels or maintainer details are not provided.
Licensing & Compatibility
The project is released under the MIT License, which permits broad use, including commercial applications.
Limitations & Caveats
The application requires specific, recent Apple hardware and software versions (iOS 26+, Apple Intelligence enabled). As a demonstration project, it may lack the robustness or feature set required for production deployment without further development. Simulator performance is not guaranteed.
2 months ago
Inactive