Linked device

📱 WhatsApp

Send and read messages from a linked WhatsApp account.

Ban risk. agentio talks to WhatsApp through Baileys, an unofficial library, and Meta can ban a number used for automation. Use a dedicated number, not your personal one.

What you can do

How it works

The agentio daemon keeps one connection per linked account while the vault is unlocked. Every command, pairing included, goes through the daemon, locally or on the hub. The CLI never connects to WhatsApp itself, so the daemon must be running.

Chats, recent messages and names are kept in an encrypted store next to the vault, so they are still there after a restart. Media is shown as a placeholder such as [image].

Setup

# in another terminal: the daemon runs in the foreground
agentio daemon start

agentio whatsapp profile add --profile work

Scan the QR code from WhatsApp > Settings > Linked devices. Over SSH, add --phone +33612345678 to get a code to type on the phone instead.

Good to know

Command reference

Related changelog entries