The author details the architecture of 'Aiden,' an autonomous Claude Code agent managing a product called Delegate, emphasizing a human-in-the-loop approval queue system to ensure safety and efficiency in production.
Most agent design conversations focus on the LLM loop. After running an agent in production for a week, I think the more important question is the human-in-the-loop boundary. Specifically: how does the agent surface intent to the human, and how does the human's correction become training data for the next draft. Aiden is a Claude Code agent that runs the marketing, sales, fulfillment, and support of a product called Delegate. It runs 24/7 on an old 2017 iMac under launchd. I approve outbound actions through a Telegram bot. That takes 15 to 20 minutes a day. The rest of the time, Aiden works. Three pieces hold this together. First, the workspace is a 3-layer routing system. A CLAUDE.md at the repo root is the map: identity, hard rules, a routing table, and a list of "rooms." Each room is a directory with its own CONTEXT.md holding domain state. Skills under \~/.claude/skills/ are executable templates the model invokes when scoped to a room. The model never reads the full tree at once. It loads the map, navigates to the right room, and works inside that scope. Token cost dropped roughly 3x compared to dumping everything into one conversation. Second, an approval queue. Scheduled scripts only ever call enqueue(type, payload). The Telegram bot watches a JSON file with chokidar plus a 3-second polling fallback (FSEvents drops on iMac sleep). Each item gets rendered into an approval message with Approve, Edit, Reject buttons. 8-state status machine, file-locked mutators so the script-and-bot race never corrupts the queue. Edits get logged to a corrections file used for voice calibration on the next draft. Third, sale fulfillment. Stripe webhook hits a serverless route that verifies the signature and inserts into a database table with idempotency on the Stripe event ID. The iMac runs a launchd job every 30 seconds that claims rows atomically and spawns a fulfillment script. Welcome email enqueued for approval, NEW SALE pings my phone. The 5-email post-purchase sequence runs on the same approval pipeline. The biggest lesson: the queue is the safety net. I started by giving Aiden direct send capability with a "review after the fact" log. That broke the second time I disagreed with a draft and had no way to reverse without database surgery. Inverting to "everything queues, nothing sends without my tap" turned out to be both safer and faster. Tapping a button from a coffee shop beats running migrations. Open question for the sub: what's working for you on prompt versioning when the live agent is correcting itself via memory writes? Right now the corrections log is timestamped append-only and the consumer pulls the last 30 entries; curious if there's a pattern that scales better.
The author argues that human approval queues for AI agents aren't overhead but the key training signal: teams that capture rejection reasons and let actions auto-graduate shrink their queues, while teams that disable them see their agents fail. Cites Gravitee's 2026 report that only 14% of teams ship agents with full security/IT approval.
A practitioner raises real-world production concerns about human approval steps in AI agent workflows: persisting paused state, safely resuming without duplicate side effects, designing reviewer UIs, and handling expired or unapproved requests. The post frames common approval examples as incomplete because they stop at 'pause and wait' and ignore durability and idempotency issues.
The author describes a multi-agent system built within Claude that simulates a full product team (CEO, CPO, CTO, devs, QA) to streamline software development and decision-making. The setup uses role-specific skills and strict validation to reduce rework and is packaged for easy installation.
Anthropic's research preview of Claude Duet highlights its stop rules addressing approval fatigue: some actions like payments and deletions always require approval, with an out-of-model automated check guarding against prompt injection. The piece argues agents should be judged by their stop rules rather than feature lists.