Foundation Models Framework Lab
Sample app and lab for building, testing and evaluating features with Apple's Foundation Models framework.
View on GitHub ↗- Stars
- ★ 1,194
- Last commit
- 28 Nov 2026
- Maintenance
- Active
- Licence
- MIT
- Category
- On-device AI SDKs
- GitHub
- rudrankriyam/
Foundation-Models-Framework-Lab
Overview
Foundation Lab is a native iOS and macOS app for learning, testing and showing what Apple's Foundation Models framework can do. It has experiments, multi-turn conversations, ready-made tool examples and structured output demos. Builds with Xcode 27 add labs for the newest OS 27 APIs.
Features
- Streaming multi-turn conversations with context window management
- Nine tool recipes, including weather, web search, contacts, calendar, reminders, HealthKit and Apple Music
- Structured output with @Generable and @Guide
- Adapter comparison on macOS for .fmadapter packages
- Available on TestFlight
- Companion agent skills in rryam/FoundationModelsKit
Requirements
- iOS 26.0 or later, or macOS 26.0 or later
- Apple silicon and Apple Intelligence turned on for live model runs
- Xcode 26.6 or Xcode 27
Install
Clone and open the project
git clone https://github.com/rudrankriyam/Foundation-Models-Framework-Lab.git cd Foundation-Models-Framework-Lab open FoundationLab.xcodeprojInstall the companion skills
npx skills add rryam/FoundationModelsKit \ --skill foundation-models-app-builder
Works with
Listed in
- github.com/rudrankriyam/Foundation-Models-Framework-Lab
- raw.githubusercontent.com/rudrankriyam/Foundation-Models-Framework-Lab/HEAD/README.md
Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.
More in this category
apfel
Command-line tool, chat mode and local OpenAI-compatible server for the on-device model in Apple's FoundationModels framework. Needs macOS 26 and Apple silicon.
Argmax OSS Swift (WhisperKit)
Argmax's open-source on-device speech toolkit for Apple silicon, and the home of WhisperKit.
MLX Swift Examples
Example apps and code showing how to use MLX Swift.
SwiftAgents