Back to Home
ilanbenb icon

wa_llm

Verified Safe

by ilanbenb

Overview

An AI-powered WhatsApp bot that joins groups, tracks conversations, and generates intelligent summaries and answers questions from a knowledge base.

Installation

Run Command
docker compose up -d

Environment Variables

  • DB_URI
  • WHATSAPP_HOST
  • ANTHROPIC_API_KEY
  • VOYAGE_API_KEY
  • LOGFIRE_TOKEN
  • WHATSAPP_BASIC_AUTH_USER
  • WHATSAPP_BASIC_AUTH_PASSWORD
  • PORT
  • HOST
  • MODEL_NAME
  • VOYAGE_MAX_RETRIES
  • DM_AUTOREPLY_ENABLED
  • DM_AUTOREPLY_MESSAGE
  • QA_TESTERS
  • QA_TEST_GROUPS
  • DEBUG
  • LOG_LEVEL

Security Notes

The `whatsapp` service in `docker-compose.base.yml` uses hardcoded default basic authentication credentials (`admin:admin`). While these are meant for an internal service, they pose a significant security risk if not changed in production. The system relies on various API keys (Anthropic, VoyageAI, Logfire) which are loaded from environment variables, which is a good practice. SQL queries use parameterized statements (`:query`, `:group_jids`), preventing common SQL injection vulnerabilities. The `/qa` command provides elevated privileges for cross-group knowledge base search, requiring careful configuration of `qa_testers` and `qa_test_groups` settings. No `eval` or direct `exec` is observed in the Python source code.

Similar Servers

Stats

Interest Score51
Security Score6
Cost ClassHigh
Avg Tokens3000
Stars112
Forks39
Last Update2025-12-06

Tags

WhatsAppLLMRAGSummaryChatbot