Back to home
ActiveRole: Designer & developer
zenzen.ai
A WhatsApp group assistant: records debts from everyday language, creates and edits images, and follows the chat to offer bookkeeping.
Key Facts
- Node.js with Baileys (WhatsApp), a BullMQ/Redis queue, and SQLite.
- An LLM turns messages into validated JSON intents; every record goes through an "ok/cancel" confirmation, payments go to the oldest debt first, and there is undo and debt netting.
- Reads transfer receipts from photos (vision model) and turns images into stickers.
- Generates images from text and edits photos on instruction through a model gateway, automatically telling edit requests apart from receipts.
- Listening mode: a free keyword filter → a cheap model decides → the bot only OFFERS to record, never saving without confirmation; chat mode occasionally answers open questions within a rate limit and cooldown.
- 315 automated tests (node:test).
System Flow
- 01WhatsApp message
- 02Filter & JSON intent
- 03ok/cancel confirmation
- 04Record or reply
Tech Stack
- Node.js
- Baileys
- BullMQ
- Redis
- SQLite
- Model gateway