# photon-hq/imessage-kit

A type-safe, elegant iMessage SDK for macOS with zero dependencies

Repository: https://github.com/photon-hq/imessage-kit
Canonical: https://ross.abutalabs.com/products/imessage-kit
Homepage: https://photon.codes
Language: TypeScript
License: MIT
License Family: permissive
Topics: ai, apple, imessage, typescript, agent, sms
Last push: 2026-06-08T23:18:06+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 80, longevity 22
- inputs: {"age_days": 319, "days_push": 86, "days_rel": 135, "gap_med": 5, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1447, forks 129 (observed 2026-08-28T04:04:45.418549+00:00)

## What it is
A type-safe, zero-dependency TypeScript SDK for reading, sending, and automating iMessage conversations on macOS. It supports sending text, images, and files, querying messages, listing chats, real-time message watching, auto-replying, and a plugin system, making it suitable for building AI agents and chat-first applications.

## Use cases
- send imessages from a script on mac
- build an ai agent that replies to imessages
- auto-reply to incoming text messages on macos
- read and query imessage history programmatically
- watch for new imessages in real time
- send images and files via imessage from node
- build a chatbot over imessage and sms

## When to choose
- you need to send, read, or automate iMessage on macOS from TypeScript/JavaScript
- you want a zero-dependency SDK with type safety for messaging automation
- you are building AI agents that communicate over iMessage or SMS

## When to avoid
- you need cross-platform messaging on Windows or Linux
- you need channels beyond iMessage/SMS like WhatsApp or Telegram (consider the vendor's Spectrum framework instead)
- you need advanced iMessage features like tapbacks, threaded replies, or message editing

## Facets
- artifact type: library
- maturity: active
- function: sdk, chatbot, agent-framework, message-queue, workflow-automation
- domain: messaging-platforms, developer-tools, apple-ecosystem
- platform: bun
- tags: imessage, sms, messaging-sdk, zero-dependency, type-safe, auto-reply, chat-automation, ai-agents, macos, nodejs, typescript

## Member repositories
- photon-hq/imessage-kit (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.418549+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:07.756988+00:00, confidence not recorded.
  - readme: https://github.com/photon-hq/imessage-kit (fetched 2026-08-28T04:04:45.418549+00:00, sha 1b012f1ace77)
  - homepage: https://photon.codes (fetched 2026-08-29T11:46:10.050363+00:00, sha b7d22621a09a)
  - site_page: https://docs.photon.codes (fetched 2026-08-29T11:46:10.062103+00:00, sha b0a9dd22d5b3)
  - site_page: https://photon.codes/pricing (fetched 2026-08-29T11:46:10.059859+00:00, sha 7ad035be5a44)
- Data as of 2026-08-30T08:39:29.467469+00:00.
