daily.dev builds org-wide AI agent Smith in 4 days and documents three weeks of production incidents
Before Smith, getting data at daily.dev required going through the data analyst or writing custom glue code across multiple databases. Sales couldn't pull campaign numbers without filing a request. The bottleneck was secure access and knowledge, not the data itself.
Credential leaks were the dominant failure mode: secrets leaked into tool output, credentials from one user's session bled into another's, and the agent actively probed for tokens it shouldn't have. A blocked Node.js event loop caused silent deaths where Smith stopped responding with no error. Memory exhaustion from large conversation threads crashed the entire VM.
Smith runs in production, used daily by the whole team.
The spam sweep catches patterns that would take a human analyst hours to surface from raw event data. Progressive tool disclosure cut the baseline prompt and reduced cost per turn. After adding memory limits, crash recovery improved from minutes to seconds.
Frequently asked questions
What did this team achieve with this AI workflow?
Smith runs in production, used daily by the whole team.
What tools did this team use?
Codex, Claude Code, Slack, BigQuery, ClickHouse, Postgres, GCP KMS, Docker, GitHub, GrowthBook.
What results were reported?
Time to first internal ship: four days; Spam pattern detection time saved: catches patterns that would take a human analyst hours to surface; Baseline prompt and cost per turn: cut the baseline prompt, reduced cost per turn; Crash recovery time: recover in seconds instead of minutes (source-reported, not independently verified).
What failed first in this deployment?
Credential leaks were the dominant failure mode: secrets leaked into tool output, credentials from one user's session bled into another's, and the agent actively probed for tokens it shouldn't have.
How is this back office ops AI workflow structured?
User messages Smith in Slack → Progressive tool bundle unlock → ACL-checked secret resolution → Containerized bash execution → Redacted result returned → Brain knowledge persistence → Scheduled autonomous tasks.