Skip to main content
Give an Agent focused WhatsApp tools for reply buttons, lists, location pins, and reactions. The interface adds the sender’s phone number and incoming message ID to run context so the Agent can target each tool call correctly.
interactive.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as interactive.py, then run:
Full source: cookbook/05_agent_os/19_whatsapp/interactive.py