---
title: "foundation-models"
description: "Write correct Apple Foundation Models code for iOS/macOS 26 to 27, grounded in the SDK installed on this machine rather than in model memory."
canonical: https://agentpluginsdirectory.com/plugins/foundation-models
last-updated: 2026-09-25
---

# foundation-models
Write correct Apple Foundation Models code for iOS/macOS 26 to 27, grounded in the SDK installed on this machine rather than in model memory.
- Slug: foundation-models
- Publisher: Artem Novichkov
- Repository: https://github.com/artemnovichkov/foundation-models-plugin
- Manifest: plugin.json
- Version: 0.1.3
- License: MIT
- Category (editorial): integrations
- Skills: 1 (foundation-models)
- MCP servers: 0
- Stars: 1
- Repository created: 2026-08-09
- Repository last pushed: 2026-08-09
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/foundation-models
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What foundation-models does, in the publisher's words

Build Apple Intelligence features without guessing which APIs exist in your version of Xcode.

This Agent Plugin helps coding agents write, review, and debug Swift that uses Apple's Foundation Models framework. It checks the SDK installed on your Mac before suggesting code, then type-checks the result against your deployment target.

- Add on-device generation to an iOS, macOS, visionOS, or watchOS app.
- Return typed output with @Generable and @Guide.
- Stream responses into SwiftUI without duplicating partial text.
- Give the model tools for app data, Spotlight search, OCR, or barcodes.
- Use images, reasoning, Private Cloud Compute, or dynamic agent profiles.
- Handle unavailable devices, guardrails, context limits, and model errors.

When your task involves FoundationModels, the agent follows four steps:

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/artemnovichkov/foundation-models-plugin/HEAD/README.md

## Skills

- foundation-models: Use when writing, reviewing, or debugging Swift that imports FoundationModels or uses Apple Intelligence, on-device LLMs, LanguageModelSession, @Generable/@Guide, Tool calling, streaming, DynamicProfile agents, PrivateCloudComputeLanguageModel, reasoning, image attachments, Spotlight/OCR tools, ava…

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
