← all repositories

openclaw/imsg

A CLI tool providing JSON-RPC access to Apple's Messages.app for AI agents and scripts.

1.3k stars Swift AgentsCoding Assistants
imsg
Not currently ranked — collecting fresh signals.
star history

imsg reads the macOS Messages SQLite database directly and drives Messages.app via AppleScript, exposing read, watch, and send operations through stable JSON and JSON-RPC interfaces. It streams new messages via filesystem events, resolves contacts, and handles attachments. A dedicated imsg completions llm command provides in-context CLI help for large language models, and the JSON-RPC surface over stdio is designed specifically for agent integrations and long-running workflows.

Frequently asked

What is openclaw/imsg?
A CLI tool providing JSON-RPC access to Apple's Messages.app for AI agents and scripts.
Is imsg open source?
Yes — openclaw/imsg is open source, released under the MIT license.
What language is imsg written in?
openclaw/imsg is primarily written in Swift.
How popular is imsg?
openclaw/imsg has 1.3k stars on GitHub.
Where can I find imsg?
openclaw/imsg is on GitHub at https://github.com/openclaw/imsg.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.