daily.dev Built a 29K-Line Org-Wide AI Agent in 4 Days — Then Credential Leaks and Silent Deaths Hit

bibryam · x · 2026-10-21

daily.dev co-founder Ido Shamun's post-mortem on "Smith," an org-wide AI agent: built in 4 days with mostly Codex-generated code (29K lines), wired into Slack, BigQuery, ClickHouse and Postgres to query data, moderate content, generate sales reports, automate browsers, manage secrets and run scheduled jobs. What broke in the following three weeks: credential/access leaks requiring a security redo, silent event-loop deaths with no health monitoring, a teammate whose actions kept crashing it, and the fixes — progressive tool disclosure and 25 self-authored skills. Core insight: the bottleneck was never the data, but secure access and knowledge distribution; the post ends with what's still broken.

Original post →

More from coding & agent

coding & agent channel →