wa_llm
Verified Safeby ilanbenb
Overview
An AI-powered WhatsApp bot that joins groups, tracks conversations, and generates intelligent summaries and answers questions from a knowledge base.
Installation
docker compose up -dEnvironment 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
line-bot-mcp-server
Facilitates automated interactions and rich menu management for LINE Official Accounts by integrating AI agents via the Model Context Protocol.
AgentChat
AgentChat is an AI agent orchestration platform that enables users to create, configure, and manage AI assistants with integrated LLMs, external tools, knowledge bases, and multi-context protocol (MCP) servers for complex conversational and task automation scenarios.
whatsapp-mcp-ts
Connects a personal WhatsApp account to an AI agent, enabling the agent to search messages and contacts, list chats, retrieve message history, and send messages via WhatsApp.
fast-mcp-telegram
Provides a production-ready Telegram integration for AI assistants with comprehensive search, messaging, and direct API access capabilities.