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.0.tar.gz (14.6 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.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tisement_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 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.0.tar.gz
Algorithm Hash digest
SHA256 29554e325d5e8464c4155d3318ec1e08f67831767d614171ab4d7d98e797c714
MD5 02c4a22d77df7fedac5b82fa264d3a9a
BLAKE2b-256 2f742d069401a5f3ce7aff31b925323ad1b87183da2277ad608be040c0f933c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tisement_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9ce64b8c061a49a22f53994e511151e12fee59bd0a4d158b33676e2044c7dfe
MD5 0e59423720bae14bdcc8a50fee426f16
BLAKE2b-256 e373c87ed4badc81d384361b163a113bb58c2e2cff24b09213bd8aae9904d32b

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