No computer use needed: let an agent search your iMessage and WhatsApp
Two open-source tools turn the local iMessage and WhatsApp databases into searchable archives, and an agent queries messages via the command line. This avoids screen operations while leaving privacy responsibility to you.
Peter Steinberger, in a tweet retweeted by George Pickett, suggested having the dot at hand install openclaw/imsgcrawl or openclaw/wacrawl. The goal is straightforward: access iMessage and WhatsApp messages without computer use. The original post also gave a usage pattern, combined with “check my messages every 10 minutes and help me be a better friend,” to have the agent go through messages on a schedule and remind you to reply.
This tweet is worth reading because both repositories address the same pain point. Computer use makes the model look at the screen and click through the UI; reading chat histories is slow, it breaks easily when windows change, and the permissions granted are broad. These two tools take a different path: read snapshots of local databases, build a local SQLite archive, and then query it with commands. The agent gets structured results instead of guessing from screen pixels.
imsgcrawl targets Apple Messages. It reads ~/Library/Messages/chat.db through a temporary read-only SQLite snapshot and syncs it to the default ~/.imsgcrawl/archive.db. Common commands are status, sync, chats, messages --chat ID, search, and contacts export. Lists and searches have a default limit, and --json outputs stable fields, making it easy for scripts and agents to integrate. On macOS, the terminal running it may need Full Disk Access. The repository explicitly warns that real Messages output includes names, phone numbers, chat text, and local paths; do not publicly post screenshots or logs, and use synthetic data for testing.
wacrawl targets macOS WhatsApp Desktop. It first takes read-only snapshots of ChatStorage.sqlite, ContactsV2.sqlite, and SQLite sidecars, then imports them into the default ~/.wacrawl/wacrawl.db. It supports search, reading messages by chat, exporting contacts, running a single read-only SQL query, and a local web viewer. --copy-media copies media files referenced by messages. The web viewer binds only to 127.0.0.1, has a random access key each run, and is read-only. The backup feature exports JSONL shards, compresses and encrypts them with X25519 age, and then hands them to Git; the manifest remains plaintext and exposes backup times, recipients, counts, shard paths, and hashes. Installation can be done with brew install openclaw/tap/wacrawl, or from source with go install. Directly discovering source data requires macOS and desktop WhatsApp; when an archive or encrypted backup already exists, the Linux and Windows releases can also be used.


The combined workflow is straightforward: a scheduled job or agent runs sync and search every 10 minutes, and when there are new messages, it reminds you to reply. For people who often miss replies, this is more reliable than having the model stare at the screen and click around. Social maintenance written as a cron job feels a bit cold, but missing replies feels colder. Don't treat it as a social-skills cheat code. It solves retrieval and reminders, not what you should say back.
You have to manage the privacy boundaries yourself. Both imsgcrawl and wacrawl keep archives local, and wacrawl's web viewer is visible only on the local machine, but the archives themselves are plaintext message data. wacrawl's backups are encrypted before Git sees the data, but the manifest is not encrypted. The imsgcrawl repository says outright: do not publish output from real Messages databases. Configuring Full Disk Access and dealing with macOS permission prompts for background imports are not trivial. Regular users should wait for packaging, while developers can try one of the repositories first.
Both projects are MIT-licensed. To get started, begin with imsgcrawl's status, sync, and search, or with wacrawl's doctor, sync, and web. First get it working with your own synthetic data or data you've confirmed can stay local, then connect real messages.
发布时间: 2026-12-06 12:29