Section 01
tsfm: Guide to the Open-Source Tool for Calling Apple Device-Side Foundation Models with TypeScript
tsfm is a TypeScript/Node.js library that enables macOS 26+ developers to easily call Apple Foundation Models for local AI inference. It supports streaming output and structured data generation, with all processing done locally—balancing privacy protection and low latency, while lowering the barrier to device-side AI development.