Preview
Description
AFM Sandbox is an interactive learning app and developer playground for Apple's Foundation Models framework. Every example runs live on the on-device language model built into your iPhone or iPad, so you can see how the API behaves in real time. LEARN BY RUNNING REAL REQUESTS • 49 hands-on lessons across 12 topics: Meet the Model, Prompting Basics, Streaming, Generation Options, Structured Output (@Generable), Reasoning, Vision, Tools, Transcripts, Profiles, Errors & Feedback, and Under the Hood. • 100+ one-tap examples—from quick basics to creative prompts—or edit any input to test your own ideas. • Every run shows the formatted Result alongside inline live Stats (total time, time to first token, input/cached/output tokens, and model calls), the Raw framework output, and ready-to-copy Swift code that updates as you edit. • Switch between Beginner mode (plain-English explanations) and Developer mode (API signatures, parameter types, and implementation notes). EXPLORE EVERY CAPABILITY • Structured Output: Generate real Swift structs, enums, and arrays with @Generable, @Guide constraints, streaming PartiallyGenerated snapshots, and runtime schemas. • Vision & Multimodal Prompts: Test image understanding, structured receipt/scene extraction, multi-image comparison with ImageReference, and built-in OCRTool & BarcodeReaderTool using 10 built-in sample images or your own photo library. • Tool Calling & Spotlight: Watch the model call Swift functions for weather, dice rolls, unit conversion, and Core Spotlight search, and inspect every tool call in the transcript. • New in iOS 27 APIs: Experiment with DynamicInstructions, @SessionProperty, DynamicProfile lifecycle hooks, editable transcript history, and custom LanguageModel executors. INTERACTIVE AI PLAYGROUND • Chat freely with the on-device model while tweaking settings on the fly. • Switch between 6 built-in Personas (Helpful, Socratic Tutor, Swift Coder, Storyteller, Devil's Advocate, Pirate) or write your own custom system instructions. • Toggle live Swift tools (Weather Lookup, Dice Roller, Unit Converter) and tune Creativity (temperature), Sampling Mode (greedy, top-k, top-p with seed), and response length. 100% ON-DEVICE & PRIVATE • Everything runs locally on your iPhone or iPad. • No accounts, no API keys, no analytics, and no servers. Requires a device with Apple Intelligence turned on, running iOS 27 or iPadOS 27 or later.
Technical Analysis
Package Overview Basic metadata
Bundle ID
com.henryisobe.AFMSandbox Current Version 1.0
Minimum iOS 27.0
Package Size App Store Size
Package Metadata 0 / 0 version records
Detailed binary, privacy manifest, framework, and Info.plist results have not been indexed for this package yet. The verified App Store and archive metadata above remains available.
Known Version Records
0 version records with stored package metadata
Stored metadata does not guarantee a package is currently available to download.
| Details | Version / IDs | Version date | Action |
|---|