Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

apfel

$ apfel Official Low Risk
Arthur-Ficial · AI & Media · MIT · macos

apfel (apfel) is a native macOS CLI and OpenAI-compatible local server exposing Apple's built-in on-device Foundation Model (Apple Intelligence) on Apple Silicon Macs (macOS 26+). It supports single-shot prompts with -o json / --output json, -f file context, --model-info, interactive --chat, and --serve.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
brew install apfel
CLI vs MCP Decision CLI Only

apfel calls the host macOS Foundation Models framework natively on Apple Silicon with zero model downloads.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Supports -o json / --output json, -f file input, and --model-info for headless automation, though --chat and --serve are interactive/blocking.

  • -o json / --output json emits schema-valid JSON responses
  • --model-info reports hardware context limits
Trust & Safety 23 / 25

100% on-device execution with zero external API keys, network calls, or multi-GB model downloads.

  • Runs strictly on-device using built-in macOS Foundation Models
Setup & Portability 8 / 15

Single Homebrew binary (brew install apfel), but restricted strictly to Apple Silicon Macs on macOS 26+.

  • Requires macOS 26+ (Tahoe) on Apple Silicon with Apple Intelligence
Utility & Efficiency 12 / 15

Instant zero-download local inference and OpenAI-compatible --serve using built-in OS weights.

  • Zero model download overhead; built-in -f <file> and --serve
Maintenance & Lineage 8 / 10

Open-source Arthur-Ficial/apfel community project under MIT license.

  • Community Arthur-Ficial/apfel repository (MIT)
Docs & Verifiability 8 / 10

Clear README and --help flag documentation.

  • Clear repository README and --help reference

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Zero credentials or API keys needed; runs directly against macOS on-device Apple Intelligence.

Side Effects
Read-Only
Cost & Quotas

Free MIT open-source binary; requires an Apple Silicon Mac running macOS 26 (Tahoe) or newer with Apple Intelligence enabled.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# apfel Agent Rules
- Prefer `apfel -o json <prompt>` for non-interactive calls; never invoke `--chat` or `--serve` synchronously.
- Keep prompts within Apple's on-device context window (typically 4K–8K tokens via `apfel --model-info`).

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect on-device Apple Intelligence model limits
apfel --model-info

Reports the Mac's available on-device model status and context window limits.

Run a one-shot on-device prompt with JSON output
apfel -o json "Summarize this diff in one sentence"

Queries Apple's on-device model once and emits structured JSON.

Strengths for Agents

  • + Zero-download on-device inference with -o json output and -f <file> attachment support.
  • + Complete privacy and zero API cost using macOS built-in Apple Intelligence.

Caveats & Pitfalls

  • ! Strictly limited to Apple Silicon Macs running macOS 26+ with Apple Intelligence enabled.
  • ! On-device Foundation Model has a relatively small context window (check --model-info).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI