Skip to content

🍏 Hello World β€” On-Device iPhone

Your iPhone talks to itself. In the video, Qwen2.5-1.5B runs inside the Ghost iOS app via llama.cpp on Metal β€” the agent opens X, reads the feed, and summarizes it without a single byte leaving the handset.

  • An iPhone (Apple Silicon iPhones give the best decode speeds)
  • Xcode to build and side-load the Ghost iOS app (see the iOS on-device guide)
  • A .gguf model β€” Qwen2.5-1.5B is the tested default

Follow the iOS on-device guide to build the SwiftUI app and load the model. Two engines are available:

  • llama.cpp on Metal β€” default, runs any GGUF
  • MLX β€” opt-in engine for faster decode on Apple Silicon

Same guarantee as Android: the model, the agent loop, and the screen driving all live in the app. Nothing to phone home to.

In the Ghost app’s chat:

open X and summarize the posts in my feed

The 1.5B model plans, the agent drives X, reads posts, and streams a summary back into the chat bubble β€” reasoned on-device, end to end.

MCP + Claude Code Β· MCP + Codex Β· MCP + Antigravity Β· Ghost CLI Β· LangChain Β· Web Chat Β· On-Device Android Β· iPhone Duolingo