<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tdNgi1Q4D" -->

---
title: We built an org-wide AI agent in 4 days. Here's what...
description: daily.dev built 'Smith', a 29K-line TypeScript AI agent integrated into their Slack workspace in just 4 days using Codex. The post covers the production...
canonical: https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: We built an org-wide AI agent in 4 days. Here's what broke in the weeks after. | daily.dev
og:description: daily.dev built 'Smith', a 29K-line TypeScript AI agent integrated into their Slack workspace in just 4 days using Codex. The post covers the production...
og:url: https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d
og:image: https://api.daily.dev/og/posts/tdNgi1Q4D.png
og:image:alt: We built an org-wide AI agent in 4 days. Here's what broke in the weeks after.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# We built an org-wide AI agent in 4 days. Here's what broke in the weeks after.

**[daily.dev](https://daily.dev/sources/daily)** · [@idoshamun](https://daily.dev/idoshamun) · 13 min read · 98 upvotes · 21 comments

## Summary

daily.dev built 'Smith', a 29K-line TypeScript AI agent integrated into their Slack workspace in just 4 days using Codex. The post covers the production incidents and security challenges that followed: credential leaks in a shared runtime requiring a growing command sanitizer, GitHub token bleeding between user sessions, a Node.js event-loop hang that systemd couldn't detect (fixed with a watchdog + health checks), memory exhaustion from a power user's long conversations (fixed with cgroup limits), and a progressive tool disclosure system to manage 60+ tools. Smith self-authors its own reusable skills via a git-backed 'brain' repo and now runs autonomous nightly tasks like spam sweeps and A/B experiment audits. Known remaining issues include an unaudited skill brain, incomplete command sanitizer, and an unsolved crash pattern from one heavy user.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daily.dev/blog/we-built-an-org-wide-ai-agent-in-4-days-heres-what-broke-in-the-weeks-after>

## Community discussion

Top comments from developers on daily.dev.

**@rsteadman** · 7 upvotes

> Appreciate the honesty and openness, good read.

**@grantkennedy** · 3 upvotes

> I misread the title and thought this person built an "orgy-wide AI agent."

**@systemswolf** · 2 upvotes

> Thanks for sharing your experience with implementing AI into your system.
> We hear so much hype about AI productivity, but never enough about what it really takes to make it productive, stable, and implemented correctly.
> I am a project manager / senior software engineer working with embedded systems using FPGAs, and I've been wanting to integrate AI into our CI/CD pipeline
> But in developing a context management system, I've run into many " gotchas" and "oh by the way" in trying to configure a proper repeatable workflow.
> Thanks again for sharing your journey

**@hypnoticdata777** · 2 upvotes

> Hmmm.. tell me more

**@ezpie** · 2 upvotes

> well what did we learn from this kids? Never let AI agents on the lose, those things are scawy

## Similar posts on daily.dev

- [My Agent Setup](https://daily.dev/posts/my-agent-setup-8ttve5oux) · Hacker News · 1 upvotes · 0 comments
- [Build Your Own AI Agent](https://daily.dev/posts/build-your-own-ai-agent-oxnecsm6o) · freeCodeCamp · 3 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#nodejs](https://daily.dev/tags/nodejs), [#typescript](https://daily.dev/tags/typescript), [#docker](https://daily.dev/tags/docker), [#ai-agents](https://daily.dev/tags/ai-agents)

[View this post on daily.dev](https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"We built an org-wide AI agent in 4 days. Here's what broke in the weeks after.","url":"https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d"},"datePublished":"2026-03-29T17:38:46.863Z","dateModified":"2026-03-30T14:00:41.150Z","description":"daily.dev built 'Smith', a 29K-line TypeScript AI agent integrated into their Slack workspace in just 4 days using Codex. The post covers the production...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7002a991b18b0ac2cff4ec75846f514f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7002a991b18b0ac2cff4ec75846f514f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"daily.dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0","description":"I'm to blame if something goes wrong here 🙈","worksFor":{"@type":"Organization","name":"daily.dev","logo":"https://daily-now-res.cloudinary.com/image/upload/s--MASZOhnv--/f_auto/v1614088267/landing/Daily.dev_logo"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":192790}},"commentCount":21,"discussionUrl":"https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":98},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":21}],"keywords":"security,nodejs,typescript,docker,ai-agents","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"daily.dev","item":"https://daily.dev/sources/daily"},{"@type":"ListItem","position":3,"name":"We built an org-wide AI agent in 4 days. Here's what broke in the weeks after."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/we-built-an-org-wide-ai-agent-in-4-days-here-s-what-broke-in-the-weeks-after--tdngi1q4d","comment":[{"@type":"Comment","text":"Appreciate the honesty and openness, good read.","datePublished":"2026-03-30T10:38:44.163Z","url":"https://daily.dev/posts/tdNgi1Q4D#c-eKwJndqd9","author":{"@type":"Person","name":"R. Steadman","url":"https://daily.dev/rsteadman","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7}},{"@type":"Comment","text":"I misread the title and thought this person built an “orgy-wide AI agent.”","datePublished":"2026-03-31T02:53:36.918Z","url":"https://daily.dev/posts/tdNgi1Q4D#c-7LB2OQqRe","author":{"@type":"Person","name":"Grant Kennedy","url":"https://daily.dev/grantkennedy","image":"https://media.daily.dev/image/upload/s--ypjsWUjk--/f_auto/v1777353216/avatars/avatar_8Of4RjhDQ8qZE3GgC0xsk?_a=BAMAMiWQ0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Thanks for sharing your experience with implementing AI into your system.\nWe hear so much hype about AI productivity, but never enough about what it really takes to make it productive, stable, and implemented correctly.\nI am a project manager / senior software engineer working with embedded systems using FPGAs, and I’ve been wanting to integrate AI into our CI/CD pipeline\nBut in developing a context management system, I’ve run into many \u0026quot; gotchas\u0026quot; and “oh by the way” in trying to configure a proper repeatable workflow.\nThanks again for sharing your journey","datePublished":"2026-04-02T15:09:02.550Z","url":"https://daily.dev/posts/tdNgi1Q4D#c-zeqCDtdwx","author":{"@type":"Person","name":"SysWolf | CTO at CCES-Inc","url":"https://daily.dev/systemswolf","image":"https://media.daily.dev/image/upload/s--a2j0vPTd--/f_auto/v1790605665/avatars/avatar_M8NZUME67ISJrzT0T7FUJ?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Hmmm… tell me more","datePublished":"2026-03-30T14:35:44.183Z","url":"https://daily.dev/posts/tdNgi1Q4D#c-CJB4OhS3a","author":{"@type":"Person","name":"Carlos Sanchez","url":"https://daily.dev/hypnoticdata777","image":"https://lh3.googleusercontent.com/a/ACg8ocK9rxv96SsH67LK4ct8PutsZDJEGk4MdGsB1qcZ4X56YsgOb8qxmQ=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"well what did we learn from this kids? Never let AI agents on the lose, those things are scawy","datePublished":"2026-03-31T06:48:11.370Z","url":"https://daily.dev/posts/tdNgi1Q4D#c-Olgtt04rn","author":{"@type":"Person","name":"Ezpie","url":"https://daily.dev/ezpie","image":"https://avatars.githubusercontent.com/u/104765117?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

