codybrom/tsfm
TypeScript/Node.js bindings for Apple's on-device Foundation Models (macOS 26+ only)
This is a tool for developers who want to use Apple's on-device AI capabilities in their Node.js applications. It takes natural language prompts and instructions, then generates text responses, structured data, or calls functions using the Mac's built-in large language models. The target user is a JavaScript/TypeScript developer building applications for macOS 26+.
Use this if you are a developer building a macOS application with Node.js and need to integrate local, private AI features without external API calls or fees.
Not ideal if you need to deploy your application on non-Apple hardware, older macOS versions, or prefer cloud-based AI services.
Stars
16
Forks
—
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Mar 13, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/codybrom/tsfm"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Meridius-Labs/apple-on-device-ai
Apple foundation model bindings for NodeJS (supports Vercel AI SDK)
blacktop/go-foundationmodels
Pure Go wrapper for Apple's Foundation Models
IvanCampos/Foundation-Models-Playgrounds
Playground examples to demonstrate Foundation Models Framework
timokoethe/Localight
A SwiftUI-based iOS 26 app featuring a fully local chatbot powered by Apple’s Foundation Models....
Arthur-Ficial/apfel
Apple Intelligence from the command line. On-device LLM via FoundationModels framework. No API...