Hi,
I’m preparing a macOS app for the Mac App Store and want to confirm it meets the Foundation Models acceptable use requirements and the Developer Program License Agreement before I submit.
What the app does
It’s a menu-bar app plus a sandboxed helper that Xcode 27 launches as a coding agent over ACP (Settings > Intelligence).
The agent runs a LanguageModelSession in-process. It uses either SystemLanguageModel.default or a custom LanguageModel conformance that streams from an MLX model the user has downloaded.
With Apple’s model, the agent gets only Xcode’s read and search tools. When the guardrails block a request, the app shows the error to the user and doesn’t retry or rephrase the prompt.
The app also runs a local OpenAI-compatible HTTP server on 127.0.0.1 only, protected by a key. This server serves the downloaded MLX model only, never Apple’s model. Third-party agents the user installs (for example OpenCode) can point at it.
Questions
Is using SystemLanguageModel inside a coding agent that Xcode launches over ACP acceptable under the acceptable use requirements?
Is it acceptable to ship a custom LanguageModel provider backed by a downloaded open-weight model alongside Apple’s model in the same app?
Since the local HTTP server only serves the MLX model, can you confirm this doesn’t count as “exposing” the Foundation Models framework to other apps? And if I later wanted to route third-party agents to Apple’s on-device model, would that be permitted at all?
Does the developer agreement require specific guardrails beyond the framework’s own for this kind of app? If so, where is that documented?
Thanks happy to to share more detail on the architecture if it helps.