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

Claude Code Adds Remote Control Feature for Mobile Session Management
Claude Code now allows developers to start tasks in their terminal and continue controlling sessions from mobile devices via the Claude app or claude.ai/code while Claude runs locally on their machine.

Analysis of Ollama's Reusable Go Components for Local LLM Development
A developer examined Ollama's source code and found several standalone Go components including a pure Go token sampler, GGUF reader/writer, model conversion tools, chat template rendering, and OpenAI compatibility transforms that aren't available as separate libraries.

Solitaire: Open-Source Identity Layer for AI Agents Built with Claude Code
Solitaire is an open-source identity layer for AI agents that evolves through interaction rather than static configuration. It's been tested across 600+ production sessions and stores all data locally using SQLite + JSONL with no cloud dependencies.

IUM: MCP Symbol Indexer Cuts AI Agent Token Usage by 15.9x vs grep
IUM indexes codebases into an SQLite matrix of symbol events, exposing exact file:line coordinates, call graph tracing, and semantic search via MCP. Benchmarked against DataFusion (1,538 files) showing 15.9x fewer tokens than grep for equivalent queries.