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.2.0.tar.gz (24.2 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.2.0-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tisement_agent-0.2.0.tar.gz
  • Upload date:
  • Size: 24.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 b72223fd493c305bbd2e5760fe275bce71610f4a127654121c87d20f636914f6
MD5 5519342e4ff0c5cf971aa2ca1e9ee1b1
BLAKE2b-256 7177774852c367f5a7bb89e8cc309821603f20bc1b5e3aba23221c7c5ecdcdc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tisement_agent-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60918408c162fee6d402b945707b965c134fa75505978f254b48a75647ad5ec7
MD5 da518ab1fbf97e13e2bcc87241ee5514
BLAKE2b-256 b6d191efa48d82fa12a7982ad35d123d13dcb6c2bfa8f8376f41dd19cd3d1504

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