WhatsApp

Text your agent on WhatsApp. Your agent has a number of its own, linked from its phone, and it answers you and no one else.

Connect it

Give your agent its own number and link it from its phone.

lnk agent connect whatsapp

Type the agent's number and yours, then scan the QR code from the agent's phone (Settings > Linked Devices > Link a Device). No business account is needed. WhatsApp can restrict a number that runs a bot, so give the agent a number of its own. With your own number, you talk to it by messaging yourself.

To connect without prompts, as from a script:

LNK_WHATSAPP_NUMBER=+15557654321 LNK_WHATSAPP_OWNER=+15551234567 lnk agent connect whatsapp

Disconnect

lnk agent disconnect whatsapp

disconnect forgets WhatsApp's tokens and restarts your agent if it runs. To finish, unlink it on the agent's phone (Settings > Linked Devices).

Troubleshooting

SymptomFix
"WhatsApp isn't linked on ..."lnk agent connect whatsapp, and scan the code.
WhatsApp logged outlnk agent connect whatsapp