OperationsCase study 07 / 20
KPI Tracker
A WhatsApp agent that sits in my teams' group chats, reads the updates and voice notes, tracks progress against targets, and chases whoever has gone quiet.
Role
Sole designer and engineer
Status
● Running in production
Models
Haiku, with no tools · Whisper for voice notes
Stack
Node + Fastify · Baileys · Whisper · Claude (Haiku) · SQLite · Notion + Linear
The short version
- Meets the team where they already work. Nobody had to adopt a new tool.
- The model that reads the chat has no tools at all, because a group chat is untrusted input.
- Updates to Notion and Linear go through an approvals gate.
01Why I built it
The three teams it serves run their days in WhatsApp groups. Updates and voice notes go in, nobody tracks them against the targets, and chasing people fell to whoever managed them.
Asking a team to move to a new tool is the fastest way to lose them. So the tracker had to live inside the chat.
02How it works
- ListenJoins the team groups as a linked device.
- TranscribeVoice notes become text with Whisper.
- ExtractHaiku turns each update into structured progress and numbers.
- TrackProgress is stored against each company's targets.
- ChaseWhoever has gone quiet gets a nudge; progress is posted back to the group.
- SyncChanges for Notion and Linear wait behind an approvals gate.
03Model choices, and why
Reading updates and pulling out numbers
Claude Haiku
High volume, short messages, a narrow extraction task. Haiku is fast and cheap, and a larger model buys little for pulling a number out of a sentence.
Voice notes
Whisper
Many updates arrive as voice. Transcribing first means the language model only ever handles text.
04Context: why the model has no tools
- A group chat is untrusted input. Anyone in it can type something that looks like an instruction. If the model reading it could call tools, that message could make it act.
- So it's sandboxed and tool-less. The extraction call can only return data. The worst a malicious message can do is produce a wrong number, and the approvals gate catches that before it reaches Notion or Linear.
- Narrow job, narrow prompt. One message in, structured progress out.
05Token and cost discipline
- The smallest model that does the job, because this runs on every message in three companies' chats.
- Audio never goes to the language model, only its transcript.
06Performance
- Runs as a single supervised process using about 154 MB of RAM, with a local SQLite store.
07Trade-offs I made
Chose
Haiku
Over
A larger model
Chose
No tools for the reader
Over
An agent that acts on what it reads
Chose
Inside WhatsApp
Over
A dedicated tracking app
Chose
Approvals before writes
Over
Automatic sync
08Guardrails
- Tool-less, sandboxed model for untrusted input.
- Approvals gate before anything is written to Notion or Linear.
09What I'd do next
- Bring it under the fleet's standard backup manifest and Sentry checks like every other app.
10What this shows
Applied AI engineering
Prompt-injection thinking applied in practice: the model that touches untrusted text gets no capabilities.
Product
Solved adoption by not asking for any.
Solutions
Messaging, transcription, Notion and Linear joined up with a human checkpoint.
Across the fleet: every build runs on one self-hosted Linux server, binds to localhost and is reached only over a private Tailscale network. AI inference runs on a Claude subscription through one in-house router (part of Sentry) rather than per-token API keys, with open-weight models on Ollama as the local layer: on the server, and on a 64 GB MacBook Pro shared over Tailscale for heavier local work. Everything is backed up to GitHub and a separate cold disk, and nothing reaches another person without a human tap.
Hiring for applied AI, product or solutions work? I'd like to hear about it.