Skip to main content

WhatsAI — deployable AI customer service agent by Tisement Media. Connect LLM + WhatsApp webhook and serve 24/7.

Project description

WhatsAI by Tisement Media

AIM: A fully deployable AI customer service agent built for small businesses.

Philosophy

Customers want their business on WhatsApp, not just for marketing, but for the actual customer service. Small businesses don't have the staff to answer 24/7. WhatsAI lets small businesses engage leads, answer FAQs, book orders, and handle real conversations inside WhatsApp — all from a live webhook and an LLM backend that Tisement Media can configure per client.

Installation

pip install tisement-agent

Setup

whatsai setup

You'll be prompted for:

  1. LLM provider + API key (OPENAI_API_KEY, ANTHROPIC_API_KEY, or custom endpoint)
  2. WhatsApp Business API credentials (WHATSAPP_PHONE_NUMBER_ID, WHATSAPP_ACCESS_TOKEN)
  3. Optional: Facebook Messenger and Instagram
  4. Client config path

Run Webhook Server

whatsai run --config ./clients/savannah-grill

Test Locally

whatsai chat --config ./clients/savannah-grill

Project Structure

tisement-agent/
  tisement_agent/
    cli/              — Typer CLI entry points
    core/             — Webhook router, LLM client, conversation store
    platforms/        — WhatsApp, Messenger, Instagram adapters
  clients/            — Client configs + KBs (not shipped, user-local)
  tests/

Deployment

The server is a single FastAPI app. Deploy to Fly.io, Railway, Railway, Render, Heroku, or any VPS.

Environment variables for production:

  • WHATSAPP_PHONE_NUMBER_ID
  • WHATSAPP_ACCESS_TOKEN
  • WHATSAPP_WEBHOOK_VERIFY_TOKEN
  • LLM_API_KEY
  • LLM_PROVIDER (openai | anthropic | custom)
  • LLM_MODEL_NAME
  • PORT (auto-set on most platforms)

License

MIT © Tisement Media

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tisement_agent-0.1.1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tisement_agent-0.1.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file tisement_agent-0.1.1.tar.gz.

File metadata

  • Download URL: tisement_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for tisement_agent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ac719807b5a5398ce1a15967e9b75ef50468b3053227cd00191e4cd18790d578
MD5 13ab6b624e950c75569f1cb8637bf8fe
BLAKE2b-256 7872a59f7c9c7b4f230c31990dc743c2f9c26876d4572fa2d0ac215c4d51ec03

See more details on using hashes here.

File details

Details for the file tisement_agent-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tisement_agent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for tisement_agent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 208d10938f67dbee079b1b7b16a89c692c5e7113b4d5e5035b0a6d200a5c7d24
MD5 1f2fdbc8c06c28cf5a368849d7105b3a
BLAKE2b-256 a8ee97bf80ffca49ff77f439b5799e905e573ca29b082ef7ae0450ba2eba0c81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page