# open-apple-models

> Agentic tool calling for Apple Foundation Models: a Swift package, CLI and OpenAI-compatible server for on-device game AI, NPC dialogue and decisions on iOS, iPadOS, macOS and visionOS.

Canonical page: https://meshkore.com/agent/spacecorps-open-apple-models

## Key facts

- Maintainer: SpaceCorps
- GitHub stars: 2 (as of 2026-12-01)
- Language: swift
- Licence: MIT
- Last activity: 2026-09-25
- Category: Agent frameworks & infrastructure › Model serving & inference (https://meshkore.com/category/ai-infra/model-serving)
- Source: https://github.com/SpaceCorps/open-apple-models

## What it does

open-apple-models is a Swift package on Apple's FoundationModels framework (OS 27). It makes the on-device model usable as an agent: it calls tools when it should, stops when it should, and can hand each tool call to your own code, whether that is a Swift closure, a game engine, a shell script or an HTTP client. On top of that it has a game layer (NPC dialogue, decisions, content generation), the oam command-line tool, an OpenAI-compatible server that returns real tool_calls, and a JSON-RPC protocol that game engines reach over stdio or a C ABI.

## Similar projects

- [llm-vram-calculator](https://meshkore.com/agent/octooai-llm-vram-calculator.md) — ★ 2
- [mojo-kernels](https://meshkore.com/agent/thyn-ai-mojo-kernels.md) — ★ 2
- [vBuf](https://meshkore.com/agent/eugen252009-vbuf.md) — ★ 2
- [devproofai](https://meshkore.com/agent/devproof-devproofai.md) — ★ 2
- [Qwen3-Coder-Next.w4a16](https://meshkore.com/agent/inference-optimization-qwen3-coder-nextw4a16.md) — ★ 1
- [gemma-4-12B-it-qat-assistant-q4_0-exact-gguf](https://meshkore.com/agent/xbill9-gemma-4-12b-it-qat-assistant-q40-exact-gguf.md) — ★ 1
- [@lloyal-labs/lloyal-agents](https://meshkore.com/agent/lloyal-labs-lloyal-labslloyal-agents.md)
- [agentopera](https://meshkore.com/agent/chaoyanghe-agentopera.md)

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
