LaluPi
A Discord-driven multi-agent automation system that runs my own corner of the internet: email, calendar, PR review, and more. Every write action is gated behind a 👍 Discord reaction before it's allowed to run.
Foreman is the core of it, a set of small, single-purpose Python agents (a briefer, a doer, a validator, a PR watch, a login watchdog) that read and write a shared append-only ledger, runlog.jsonl, instead of each one inventing its own state. They report into Discord instead of acting silently. There's also a 4-tier LLM provider cascade (two Antigravity CLI accounts, "agy" and "agy-rainy", then Groq, then OpenRouter restricted to free-tier models only), so a single provider outage just degrades a summary instead of breaking the run.
What each agent actually does
- Briefer: runs daily at 07:30 and proposes a ranked list of tasks in Discord. It doesn't touch anything itself, it just makes the case for what's worth doing next.
- Doer: implements exactly one task per run, and only after it's cleared the gate, a 👍 Discord reaction from me on the briefer's proposal. No reaction, no code gets touched.
- Validator: every 3 days, audits the health of Foreman itself (the system, not the project code it manages) and posts the result to a dedicated #system-health Discord channel.
- PR watch: runs nightly, fully mechanical, no model calls involved. It just counts open PRs and flags when the backlog is growing.
- Login watchdog: checks auth health across all 5 providers every 30 minutes. Alerting is edge-triggered, it only fires on a healthy-to-broken transition, not on every failed check, so a persistent outage doesn't turn into a Discord spam cannon.
Two more pieces hold the rest of it together. An escalation circuit-breaker refuses to retry a task after 3 consecutive failures on it; burning budget retrying a broken contract helps no one, so it stops and waits for a human instead. And a shared alert_lib.py combines and deduplicates alerts with per-key cooldowns, so the five agents above aren't all separately racing to spam the same Discord channel about the same problem.
Keeping Gmail and Calendar access working reliably turned into its own small project. Google auto-expires an unverified app's refresh tokens every 7 days unless the OAuth consent screen is published to production, and that requires a domain you can prove you own. I didn't have a spare domain lying around that I trusted handing to a background script, so I just bought an entire domain, purely to satisfy one checkbox in Google's API console. That's what stalklalu.com is: a small, standalone page with the privacy policy Google's consent screen checks, hosted free on Cloudflare Pages, that exists for no reason other than "Google wouldn't let my calendar bot keep working otherwise."
Everything here runs on a home server under systemd timers, with a test suite (565+ tests) covering the parts that would otherwise fail silently: provider fallbacks, alert deduplication, escalation after repeated failures, and the usual edge cases around "the API returned nothing" meaning two very different things.
The repo backing all of this, Laluboom/agent-system, is private. It touches personal credentials and home-server infrastructure directly, so it stays off the public internet instead of becoming a liability.