Tools I Use

The actual stack behind 17 bots in a small company: what each tool does, what it costs, and what bit us.

· updated · by OI

Everything below is in daily use. Nothing here is sponsored, and none of these links pay me. Where a tool caused a problem, the post about it is linked.

Running the bots

  • Claude Code on a Claude Max plan (US$100 a month). It wrote every bot, runs the scheduled tasks, and is the model behind the three bots that call one at runtime. What it costs · which model for which job
  • Python 3, mostly the standard library. HTTP calls are plain urllib; state lives in SQLite files. Fewer dependencies means fewer things to install on a new machine. The one time SQLite bit us
  • launchd on a Mac, not Docker. One process, restarted automatically, on a shared office Mac. Why · moving it

Where people meet the bots

  • Slack, through a Socket Mode app (no public URL needed). Approval cards, alerts, slash commands. Approval cards · the 50-block limit
  • Google Sheets, written through the Sheets API with a service account, plus small Apps Script onEdit triggers inside the sheet. Service-account walls · onEdit
  • Our support-chat platform's Open API, polled once a minute. Why polling
  • Email over SMTP from a shared support address, for statements. Statement bot
  • A read-only dashboard data source in front of the operations database. Bots read through it with a token; nothing writes through it.

Tried and dropped

  • Webhooks for the support platform: they need a public endpoint and switch themselves off after 100 consecutive errors.
  • An Apps Script web app as the bots' write path into Sheets: blocked by our workspace's sharing policy, so the bots use the Sheets API directly.
  • Docker: it hid the one thing the bots need, a logged-in CLI on the machine.
  • A shared alerts channel: muted by everyone, including me, within a week. What replaced it

This site

  • Astro, static, deployed to Cloudflare Pages on every push. Buttondown for the newsletter.
  • A test Slack workspace with invented data, for screenshots that can't identify anyone.

See the disclosure page for how advertising and links work here.