FoundationModelsPlayground
A collection of examples using Apple’s FoundationModels framework
Install / Use
/learn @kimhyeri/FoundationModelsPlaygroundREADME
FoundationModelsPlayground
A collection of on-device examples using Apple’s FoundationModels framework
🧪 Available Demos
1. 💬 On-device Chatbot
A conversational chatbot that responds in a friendly tone.
✅ Powered by
SystemLanguageModel
✅ Maintains short context history
✅ Runs 100% locally on-device
2. 📝 Grammar Correction
An English tutor that checks your sentence, explains grammar mistakes, and provides corrections.
✅ Powered by
SystemLanguageModel
✅ Offers detailed explanations
✅ Runs 100% locally on-device
3. 🍳 Recipe Generator
Creates cooking recipes with clear step-by-step instructions.
✅ Powered by
SystemLanguageModel
✅ Supports streaming output for recipe generation
✅ Produces structured results (title, ingredients, steps)
✅ Runs 100% locally on-device
4. 🏋️♀️ AI Workout Plan Generator
Generates personalized workout routines tailored to your goals, equipment, and experience level.
✅ Powered by FoundationModels (on-device)
✅ Fully customizable inputs (goal, duration, equipment, level)
✅ Produces clear step-by-step exercise lists
✅ Runs 100% locally—no network required
5. 🌙 CozyTales — Calm Storytelling for Children
An on-device storytelling app that generates calming, child-friendly stories in real time—designed to help children relax in stressful situations such as flights, bedtime, or unfamiliar environments.
✅ Powered by
SystemLanguageModel
✅ Generates safe, soothing stories entirely on-device
✅ Adjustable story length (1–12 minutes)
✅ Real-time text-to-speech playback usingAVSpeechSynthesizer
6. 🌤️ Weather Outfit Advisor
An on-device assistant that checks the weather for a city and suggests what to wear based on the conditions.
✅ Powered by
SystemLanguageModel
✅ Uses a customTool(get_weather) for weather lookup
✅ Streams outfit advice in real time
✅ Displays structured weather info (temperature, humidity, wind, condition)
✅ Runs 100% locally on-device
💡 About FoundationModels
FoundationModels is Apple’s official framework for running foundation language models on-device.
These examples help developers explore capabilities like text generation, summarization, and natural dialogue — all without relying on cloud inference.
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR






