How Clawdbot Coordinates 6 AI Agents with a Production-Stable Work Queue

Clawdbot's team shared their work queue architecture that coordinates 6 AI agents running an AI-operated store. They found the coordination problem harder than individual agent logic, with the system going through several iterations before reaching production stability.
Core System Features
The work queue implements several key mechanisms:
- Atomic task claiming: Prevents two agents from grabbing the same task
- State machine: Tasks move through states: pending → ready → in_progress → review → complete
- Retry logic: 3 failures with backoff, then permanent failure to prevent runaway retry loops
- Task chains: Parent completion auto-spawns children via a next_tasks field
- Heartbeat tracking: Stale claims (from agent crashes) auto-reset after timeout
- Daemon orchestrator: Polls every 60 seconds and spawns agents for ready tasks
Production Lessons
The team notes that failure mode handling wasn't obvious until they had real production incidents to learn from. They've published a full architecture writeup with lessons from running this in production.
The system coordinates multiple agents working concurrently: design, code, marketing, and operations agents. The team is open to discussing tradeoffs, particularly around the failure mode handling that emerged from production experience.
📖 Read the full source: r/clawdbot
👀 See Also
Apple Silicon macOS VMs: 11–16× Faster LLM Inference with Metal Capability Shim
Cua's process-scoped Metal capability shim unlocks newer kernels in macOS VMs, boosting llama.cpp inference up to 16× on Apple Silicon.

Forge: Open-Source Claude Code Plugin Adds Governance and Testing Gates
Forge is an open-source Claude Code plugin that adds file locking, automated test gates, and 22 governance agents to prevent collisions and drift in AI-generated code workflows. It's MIT licensed and installs via the Claude plugin marketplace.

Developer builds local AI research agent that creates podcasts from topics or YouTube links
A developer built a fully local AI agent that takes topics or YouTube links and generates deep-dive reports, conversational podcast scripts, and audio. The system dynamically researches, extracts insights, refines summaries, and creates natural back-and-forth conversations.

Claude Code v2.1.144: Background Sessions, /model Scoping, and 15s Startup Timeout
Claude Code v2.1.144 adds /resume for background sessions, scopes /model to current session only, and fixes a 75s startup hang when api.anthropic.com is unreachable with a 15s timeout.