iMessage LLMs
Swift Mac App to listen for iMessages, prompt LLMs and send responses through Messages App using AppleScript.
aiim_demo_1.mp4
- Open project in Xcode
- Update Settings.swift with OpenAI key and AppleId you will send messages from
- Open Messages App on Mac. Works best with a different AppleId than the one set in Settings.swift. If they are they same then duplicate messages will be visible on each send.
- Compile and run project.
- When prompted, select 'Allow' for sending Apple Events to Messages
- Tested on:
- M1 Max Sonoma 14.2
- M2 Pro Ventura 13.6
- Settings UI to manage AppleID, keys, model selection
- llama.cpp integration for local LLM